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

[OpenFOAM.org] Error in compiling openfoam on centos server

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 54
Rep Power: 12
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: 54
Rep Power: 12
pbrady2013 is on a distinguished road
Great news, have fun FOAMing!


-pete
pbrady2013 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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer wildfire230 OpenFOAM Installation 20 May 6, 2020 08:30
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
[swak4Foam] Difficulties compiling with OpenFOAM v5.0 MauricioReis OpenFOAM Community Contributions 19 October 16, 2019 01:58
[OpenFOAM.com] Compile OpenFoam using Intel ICC on OpenLogic Centos 7.3 for Intel MPI and INFINIBAND kishoremg040 OpenFOAM Installation 1 May 6, 2018 14:21


All times are GMT -4. The time now is 00:56.