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 Community New Posts Updated Threads Search

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: 14
Rep Power: 12
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


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
[OpenFOAM.org] Install OpenFOAM-2.4.0 in Ubuntu 18.04? luckyraymond OpenFOAM Installation 10 April 26, 2023 14:26
[OpenFOAM.org] Installing OpenFOAM 2.3 on Ubuntu 18.04 Joe1best OpenFOAM Installation 15 August 5, 2021 23:21
[Other] Qt5, OpenFOAM-7 and -v1906, and Ubuntu 18.04 gcengineer OpenFOAM Installation 9 June 22, 2020 19:45
[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


All times are GMT -4. The time now is 03:26.