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

[swak4Foam] Error compiling on Ubuntu 18.04 for OF v1612+

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2019, 18:01
Default Error compiling on Ubuntu 18.04 for OF v1612+
  #1
New Member
 
B. Assaad
Join Date: Sep 2014
Posts: 8
Rep Power: 7
bassaad17 is on a distinguished road
Hi All,


I'm trying to compile swak4foam dev-version-0.4.1_v2.x for Ubuntu 18.04.3 LTS codename bionic for Openfoam.com Version v1612+ on a cloud machine.

I first source the code using this alias in my .bashrc file

Code:
alias of1612+='module load openmpi; source /home/ubuntu/OpenFOAM/OpenFOAM-v1612+/etc/bashrc WM_LABEL_SIZE=64 WM_COMPILER_TYPE=system'
Then I follow the instructins in https://openfoamwiki.net/index.php/I...tion/swak4Foam


I tried this by setting WM_LABEL_SIZE=32 and it doesn't work either.

I'm getting this error and can't figure out the solution for this - please help!


Code:
Make/linux64GccDPInt64Opt/plugins/PatchValuePluginFunction.o Make/linux64GccDPInt64Opt/plugins/CellSetValuePluginFunction.o Make/linux64GccDPInt64Opt/plugins/CellZoneValuePluginFunction.o Make/linux64GccDPInt64Opt/plugins/FaceSetValuePluginFunction.o Make/linux64GccDPInt64Opt/plugins/FaceZoneValuePluginFunction.o Make/linux64GccDPInt64Opt/plugins/SampledSetValuePluginFunction.o Make/linux64GccDPInt64Opt/plugins/SampledSurfaceValuePluginFunction.o -L/home/ubuntu/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt64Opt/lib \
    -lfiniteVolume      -lsampling -llagrangian         -ldynamicMesh   -lsurfMesh      -lmeshTools  -o /home/ubuntu/OpenFOAM/ubuntu-v1612+/platforms/linux64GccDPInt64Opt/lib/libswak4FoamParsers.so
/usr/bin/ld: cannot find -lfiniteVolume
/usr/bin/ld: cannot find -lsampling
/usr/bin/ld: cannot find -llagrangian
/usr/bin/ld: cannot find -ldynamicMesh
/usr/bin/ld: cannot find -lsurfMesh
/usr/bin/ld: cannot find -lmeshTools
collect2: error: ld returned 1 exit status
make: *** [/home/ubuntu/OpenFOAM/ubuntu-v1612+/platforms/linux64GccDPInt64Opt/lib/libswak4FoamParsers.so] Error 1
/home/ubuntu/OpenFOAM/OpenFOAM-v1612+/wmake/makefiles/general:167: recipe for target '/home/ubuntu/OpenFOAM/ubuntu-v1612+/platforms/linux64GccDPInt64Opt/lib/libswak4FoamParsers.so' failed
Parser library did not compile OK. No sense continuing as everything else depends on it

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard
bassaad17 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
[Other] Qt5, OpenFOAM-7 and -v1906, and Ubuntu 18.04 gcengineer OpenFOAM Installation 7 September 13, 2019 10:45
[OpenFOAM.org] Install OpenFOAM-2.4.0 in Ubuntu 18.04? luckyraymond OpenFOAM Installation 5 May 18, 2019 14:04
[OpenFOAM.org] OpenFOAM 3.0.1 in Ubuntu 18.04 jlr OpenFOAM Installation 4 January 3, 2019 13:57
[OpenFOAM.org] problem with instaling openfoam-2.0.0 on ubuntu 18.04 alireza.sh OpenFOAM Installation 11 November 22, 2018 12:09
[OpenFOAM.org] Installing OpenFOAM 2.3 on Ubuntu 18.04 Joe1best OpenFOAM Installation 13 August 24, 2018 14:46


All times are GMT -4. The time now is 10:17.