CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

LEMOS InflowGenerator

Register Blogs Community New Posts Updated Threads Search

Like Tree25Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 1, 2015, 03:10
Default
  #11
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Dear Foamers,

Unfortunately despite following the steps in Readme file, I encounter errors when trying to install LeMOS. The error message is as follows:

Code:
syavash@syavash-VPCF11DGX:~/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x$ ./Allwmake + wmake libso libLEMOS-2.3.x
/usr/bin/ld: cannot find -lgsl
collect2: error: ld returned 1 exit status
make: *** [/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libLEMOS-2.3.x.so] Error 1
+ cd applications
+ wmake all solvers
make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic'
make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic/PODSolver'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/libLEMOS-2.3.x/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude  -IlnInclude -I. -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/PODSolver.o -L/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib \
         -lfiniteVolume -lmeshTools -lLEMOS-2.3.x -lOpenFOAM -ldl   -lm -o /home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/PODSolver
/usr/bin/ld: cannot find -lLEMOS-2.3.x
collect2: error: ld returned 1 exit status
make[2]: *** [/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/PODSolver] Error 1
make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic/PODSolver'
make[1]: *** [PODSolver] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic'
make: *** [basic] Error 2
make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoam'
make[1]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarPimpleFoam' is up to date.
make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoam'
make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamLDMMS'
SOURCE=scalarPimpleFoamLDMMS.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/incompressible/singlePhaseTransportModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -IlnInclude -I. -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/scalarPimpleFoamLDMMS.o
In file included from scalarPimpleFoamLDMMS.C:54:0:
createFields.H: In function ‘int main(int, char**)’:
createFields.H:106:13: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘registerScalarField’
 turbulence->registerScalarField(f,D_f);
             ^
scalarPimpleFoamLDMMS.C:113:44: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘molecularDiffusivityCoeff’
         volScalarField DEff =  turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name());
                                            ^
scalarPimpleFoamLDMMS.C:113:94: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘turbulentDiffusivityCoeff’
         volScalarField DEff =  turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name());
                                                                                              ^
scalarPimpleFoamLDMMS.C:118:29: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘divFeff’
               + turbulence->divFeff(f)
                             ^
make[1]: *** [Make/linux64GccDPOpt/scalarPimpleFoamLDMMS.o] Error 1
make[1]: Target `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarPimpleFoamLDMMS' not remade because of errors.
make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamLDMMS'
make: *** [scalarPimpleFoamLDMMS] Error 2
make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamMFM'
SOURCE=scalarPimpleFoamMFM.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/incompressible/singlePhaseTransportModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -IlnInclude -I. -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/scalarPimpleFoamMFM.o
In file included from scalarPimpleFoamMFM.C:54:0:
createFields.H: In function ‘int main(int, char**)’:
createFields.H:106:13: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘registerScalarField’
 turbulence->registerScalarField(f,D_f);
             ^
scalarPimpleFoamMFM.C:113:44: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘molecularDiffusivityCoeff’
         volScalarField DEff =  turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name());
                                            ^
scalarPimpleFoamMFM.C:113:94: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘turbulentDiffusivityCoeff’
         volScalarField DEff =  turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name());
                                                                                              ^
scalarPimpleFoamMFM.C:118:29: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘divFeff’
               + turbulence->divFeff(f)
                             ^
make[1]: *** [Make/linux64GccDPOpt/scalarPimpleFoamMFM.o] Error 1
make[1]: Target `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarPimpleFoamMFM' not remade because of errors.
make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamMFM'
make: *** [scalarPimpleFoamMFM] Error 2
make: Target `application' not remade because of errors.
+ cd applications
+ wmake all utilities
make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing'
make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD'
make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/scalarSnapshots'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/libLEMOS-2.3.x/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/scalarSnapshots.o -L/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib \
         -lfiniteVolume -lmeshTools -lLEMOS-2.3.x -lODE -lOpenFOAM -ldl   -lm -o /home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarSnapshots
/usr/bin/ld: cannot find -lLEMOS-2.3.x
collect2: error: ld returned 1 exit status
make[3]: *** [/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarSnapshots] Error 1
make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/scalarSnapshots'
make[2]: *** [scalarSnapshots] Error 2
make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/vectorSnapshots'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/libLEMOS-2.3.x/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/vectorSnapshots.o -L/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib \
         -lfiniteVolume -lmeshTools -lLEMOS-2.3.x -lODE -lOpenFOAM -ldl   -lm -o /home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/vectorSnapshots
/usr/bin/ld: cannot find -lLEMOS-2.3.x
collect2: error: ld returned 1 exit status
make[3]: *** [/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/vectorSnapshots] Error 1
make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/vectorSnapshots'
make[2]: *** [vectorSnapshots] Error 2
make[2]: Target `application' not remade because of errors.
make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD'
make[1]: *** [POD] Error 2
make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous'
make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous/postChannelExt'
make[3]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/postChannelExt' is up to date.
make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous/postChannelExt'
make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous'
make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField'
make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField/LambdaCI'
make[3]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/LambdaCI' is up to date.
make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField/LambdaCI'
make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField'
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing'
make: *** [postProcessing] Error 2
make: Target `application' not remade because of errors.
I am a newbie in OF and don't really understand where the problem lies. Could anyone help me with this issue?!
Thanks
syavash is offline   Reply With Quote

 

Tags
inflow conditions, lemos


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:41.