OpenFOAM compile error
I am installing OpenFOAM on a cluster. The location of the source is in my home folder. On running ./Allwmake this is the first error i get:
Code:
SOURCE=global/global.Cver ; sed -e 's/VERSION_STRING/1.7.0/' -e 's/BUILD_STRING/1.7.0-21131bcbd876/' $SOURCE > Make/linux64GccDPOpt/global.C; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home1/ccc/OpenFOAM/ThirdParty-1.7.0/zlib-1.2.3 -IlnInclude -I. -I/home1/ccc/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/home1/ccc/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/global.C -o Make/linux64GccDPOpt/global.o Thanks , Balkrishna. |
Greetings Balkrishna,
This is an old bug, as you can see in this thread: http://www.cfd-online.com/Forums/ope...n-problem.html OK, so there are two points to be taken into account:
If your cluster has a gcc version below 4.3.x, then you can either:
Bruno |
Thanks for the same .... the cluster was using an older version of gcc .... the sys admin asked me to use gcc44 instead of gcc .... I did as u mentioned in the following post . http://www.cfd-online.com/Forums/ope...hel-5-5-a.html .... However i still get the following error :
Code:
Thanks , Balkrishna |
Hi Balkrishna,
OK, there might various reasons why things are not working. So lets try going through this step by step:
Edit: You might also want to see this thread: http://www.cfd-online.com/Forums/ope...ar-dtu-dk.html Best regards, Bruno |
1 Attachment(s)
Thanks for the response . I am attaching the file with this post .
|
Hi Balkrishna,
Ah, the infamous Code:
cannot find -liberty The missing file library is named "libiberty.so". Usually it resides in the package binutils-devel (its the package name in Fedora, so I assume that in RHEL it will be the same). You'll have to ask your systems administrator to install that package as well ;) Ironically, by what I could figure out, the latest OpenFOAM 1.7.x no longer needs libiberty.so :) Best regards, Bruno |
Thanks a lot .... the sysadmin installed the package and everything is running fine . However I face another error when i run it in parallel :
Code:
cn052.2077ipath_wait_for_device: The /dev/ipath device failed to appear after 30.0 seconds: Connection timed out Thanks , Balkrishna . |
Hi Balkrishna,
I completely forgot about MPI... OK, I assume you didn't change the OpenFOAM MPI options to use your cluster's MPI toolbox!? It's easier if I quote the post by Kasper Kærgaard that I mentioned in another post: Quote:
Good luck! Bruno |
I did read that post . One thing which bothered me was the difference which mpi is used makes , especially since both the mpi versions are identical in my case . Also regarding the post :
The command : Code:
module load mpi Code:
module: command not found Thanks , Balkrishna |
Hi Balkrishna,
Sadly I have no experience with these types of cluster environments :( I can only assume that the job manager for the cluster has a module loading system, that is used strictly when launching the parallel cases. It's not meant to be used directly in .bashrc. Best regards, Bruno |
All times are GMT -4. The time now is 00:15. |