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

Error in compiling openfoam on centos server

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 15, 2018, 04:57
Default Error in compiling openfoam on centos server
  #1
New Member
 
moeen
Join Date: Sep 2018
Posts: 2
Rep Power: 0
moeen_saberi is on a distinguished road
Hi All and thanks for your great forum
i want to compile openfoam on centos -7(server mode), i'v done this on ubuntu and every thing was fineو, but when i want to compile on centos, i receive this error:
/usr/bin/ld: cannot find -lengine
collect2: error: ld returned 1 exit status
os:centos-7(server)
arch:x86_64
note that there is no error before i get this error during compiling.
Thanks in advance for your help!
moeen_saberi is offline   Reply With Quote

Old   September 18, 2018, 02:50
Default More Information Please
  #2
Member
 
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 38
Rep Power: 6
pbrady2013 is on a distinguished road
Hi Moeen,


Can you post more information?


I run OpenFOAM exclusively on CentOS and have not really had any problems. My main issues focus on my mistyping or PEBKAC errors.


With a cannot find error two things spring to mind:
  1. Double check your paths so that the linker can search
  2. Was there an error previously in the compilation such that the engine library that can't be found was not actually compiled?
Good luck.
-pete
pbrady2013 is offline   Reply With Quote

Old   September 23, 2018, 10:11
Default Thanks
  #3
New Member
 
moeen
Join Date: Sep 2018
Posts: 2
Rep Power: 0
moeen_saberi is on a distinguished road
Thanks for your reply, i removed all i downloaded and re installed again, i followed:
https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL
and it's now running well.
moeen_saberi is offline   Reply With Quote

Old   September 23, 2018, 19:30
Default [solved]
  #4
Member
 
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 38
Rep Power: 6
pbrady2013 is on a distinguished road
Great news, have fun FOAMing!


-pete
pbrady2013 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] Compiling v1806 from source Sgs OpenFOAM Installation 9 August 28, 2018 02:35
Compiling OpenFOAM 5.0 on the Titan Supercomputer wildfire230 OpenFOAM Installation 17 August 17, 2018 15:04
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
Compiling OpenFOAM on hpc-fe.gbar.dtu.dk kaergaard OpenFOAM Installation 1 June 16, 2011 02:33


All times are GMT -4. The time now is 01:30.