CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[openSmoke] LaminarSMOKE compilation error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2019, 16:10
Smile LaminarSMOKE compilation error
  #1
New Member
 
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 17
Rep Power: 3
mdhfiz is on a distinguished road
When I was trying to compile one of the solvers in laminarSMOKE, I encountered this error.

Code:
hafiz@linux-hjxb:~/laminarSMOKE/solvers/laminarBuoyantSimpleSMOKE> wmake
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    unknown option: '-I../../libs/radiationOpenSMOKE++/lnInclude'

Usage: wmakeLnInclude [OPTION] dir

options:
  -update | -u      update
  -silent | -s      use 'silent' mode (do not echo command)
  -help   | -h      print the usage

    Link all the source files in the <dir> into <dir>/lnInclude

Note
    The '-u' option forces an update when the lnInclude directory already exists
    and changes the default linking from 'ln -s' to 'ln -sf'.

    wmakeLnInclude error: base directory \ does not exist
Making dependency list for source file laminarBuoyantSimpleSMOKE.C
could not open file fvIOoptionList.H for source file laminarBuoyantSimpleSMOKE.C due to No such file or directory
could not open file Grammar_PolimiSoot_Analyzer.h for source file laminarBuoyantSimpleSMOKE.C due to No such file or directory
could not open file OpenSMOKE_PolimiSoot_Analyzer.hpp for source file laminarBuoyantSimpleSMOKE.C due to No such file or directory
.
.
.
-Wl,--start-group /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/mkl/lib/intel64/libmkl_core.a /opt/intel/mkl/lib/intel64/libmkl_sequential.a -Wl,--end-group -lpthread -lm -lboost_date_time -lboost_filesystem -lboost_system -lboost_regex -lOpenFOAM -ldl  \
     -lm -o /home/hafiz/OpenFOAM/hafiz-6/platforms/linux64GccDPInt64Opt/bin/laminarBuoyantSimpleSMOKE
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lISATLib4OpenFOAM
collect2: error: ld returned 1 exit status
make: *** [/home/hafiz/OpenFOAM/OpenFOAM-6/wmake/makefiles/general:142: /home/hafiz/OpenFOAM/hafiz-6/platforms/linux64GccDPInt64Opt/bin/laminarBuoyantSimpleSMOKE] Error 1
This seems peculiar to me because as shown below, I believe the OpenSMOKE lib was compiled properly.

Code:
hafiz@linux-hjxb:~/laminarSMOKE/libs/radiationOpenSMOKE++> wmake
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file OpenSMOKEgreyDiffusiveViewFactorFixedValueFvPatchScalarField.C
Making dependency list for source file radiationCoupledBase.C
Making dependency list for source file OpenSMOKEwideBandDiffusiveRadiationMixedFvPatchScalarField.C
Making dependency list for source file OpenSMOKEgreyDiffusiveRadiationMixedFvPatchScalarField.C
Making dependency list for source file OpenSMOKEMarshakRadiationFixedTemperatureFvPatchScalarField.C
Making dependency list for source file OpenSMOKEMarshakRadiationFvPatchScalarField.C
Making dependency list for source file wideBandAbsorptionEmission.C
.
.
.
Make/linux64GccDPInt64Opt/derivedFvPatchFields/greyDiffusiveViewFactor/OpenSMOKEgreyDiffusiveViewFactorFixedValueFvPatchScalarField.o -L/home/hafiz/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt64Opt/lib \
    -lfiniteVolume -lmeshTools  -o /home/hafiz/OpenFOAM/hafiz-6/platforms/linux64GccDPInt64Opt/lib/libradiationOpenSMOKE++.so
hafiz@linux-hjxb:~/laminarSMOKE/libs/radiationOpenSMOKE++>
I checked the dir 'libs/radiationOpenSMOKE++/lnInclude' and things seem to be in place. The problem is that it cannot locate the dir when I tried to compile one of the solver. How can I fix this?
mdhfiz is offline   Reply With Quote

Old   December 6, 2019, 09:23
Default Update?
  #2
New Member
 
Vincent
Join Date: Aug 2019
Location: Germany
Posts: 14
Rep Power: 2
vince_cfd is on a distinguished road
Have you been able to solve your problem? I have the exact same problem with a different library/solver combination.

Able to compile library, able to create solver with a new name, but as soon as I want to add the library to the solver it stops working and prints a similar error.
vince_cfd is offline   Reply With Quote

Old   December 14, 2019, 04:19
Default
  #3
New Member
 
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 17
Rep Power: 3
mdhfiz is on a distinguished road
the message doesn't really mean anything. you could still run the case as per usual you should try testing the test cases.

sorry for the late reply, I'm not always online. but I'll try to help as much as I could
mdhfiz is offline   Reply With Quote

Old   May 19, 2020, 22:00
Default
  #4
New Member
 
qian yao
Join Date: May 2020
Posts: 6
Rep Power: 2
mikeYao is on a distinguished road
hi mdhfiz
can you give me some details about how to compile laminarSMOKE or flametSMOKE. what does "adjust the paths to the Intel MKL library" mean (https://github.com/acuoci/flameletSMOKE). for optional Intel MKL library, should i download it first?
mikeYao is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 19:33.