Hi,
==1==
I have made some attempts to solve the so-called compiling errors. Eventually, I made the “fastDuct” tutorial run.
==2==
For the FORTRAN warnings, I have replaced HydroCalc.f90 file with that from FAST v7.02.00d-bjj (27-February-2013) considering random_seed issue is solved.
==3==
With this, I start receiving 2 new errors even though the random_seed error disappeared.
[code]…/FAST/Source/HydroCalc.f90:3729.110:
displacement’, X0(4), X0(5), X0(6), TransMat0, ‘HydroDyn initialization’ )
1
Error: More actual than formal arguments in procedure call at (1)
…/FAST/Source/HydroCalc.f90:2648.84:
L SmllRotTrans ( ‘platform displacement’, X(4), X(5), X(6), TransMat, TRIM(Num2
1
Error: Function ‘num2lstr’ at (1) has no IMPLICIT type[/code]
==4==
Then, considering, in the previous files there were no ‘HydroDyn initialization’ or ‘TRIM(Num2’, I have deleted them and recompiled everything. With this, all FORTRAN-FAST errors have disappeared. (Might it resulted in more serious errors that did start not showing up.).
However, the compiling entire case still led to the problem:
make: *** No rule to make target `pisoFoam.dep', needed by `Make/linux64GccDPOpt/dependencies'. Stop.
==5==
So, I decided to do the compiling one by one by following the sequence in the “Allwmake” file.
==6==
i) src/finiteVolume
ii) src/turbineModels
iii) applications/utilities/setFieldsABL
iv) applications/solvers/windEnergy/ABLPisoSolver
v) applications/solvers/windEnergy/windPlantPisoSolver
vi) src/fastturb
are compiled without any error apart from a few warnings appeared from the last two cases.
==7==
i) src/openfast/bin
gave the first error.
cp: cannot create regular files for fastPisoSolver/fast/bin
cp: cannot create regular files for windPlantPisoSolverFAST/fast/bin
Then, I have realized that there is no such sub-directories under both fastPisoSolver and windPlantPisoSolverFAST directories; that’s why, the “libfast.a” couldn’t be copied. Therefore, I have generated those directories and then “openfast” was compiled without any explicit errors.
==8==
Later, I have tried to compile “applications/solvers/windEnergy/fastPisoSolver”; but, it gave error.
Checking the directory, nor createFields.H neither pisoFoam.C was therein. Hence, I have modified pisoFoam original by looking at SOWFA_webinar_05-03-2012.pdf - Implementation - fastPisoSolver section.
The following [url]http://txtup.co/lHjiX[/url] & [url]http://txtup.co/RdIjP[/url] are the modified (!) pisoFoam.C and createFields.H, respectively.
In addition, I have copied “horizontalAxisWindTurbinesFAST.H” into the “fastPisoSolver” directory.
Finally, with these tweaks, fastPisoSolver was compiled.
==9==
i) applications/solvers/windEnergy/windPlantPisoSolverFAST was successfully compiled.
==10==
Lastly, I have run “fastDuct” tutorial for just 0.4 secs. It didn’t blow up.
==11==
Now, I assume that everything is fine; but, I am also pretty sure that this is not the right way of compiling the solvers.
Therefore, I kindly ask for some help to verify these procedures or some ideas why I couldn’t compile the solvers at the first time.
Many thanks in advance for any level of help.
//kuti