|
[Sponsors] |
[OpenFOAM.org] Compilation OpenFOAM 2.2.1 on BG/Q |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 14, 2013, 08:32 |
Compilation OpenFOAM 2.2.1 on BG/Q
|
#1 |
New Member
Vincent Keller
Join Date: May 2011
Posts: 2
Rep Power: 0 |
Hi all,
I face a problem that I don't understand in order to compile OpenFOAM 2.2.1 on a BG/Q using the GCC suite (ver 4.4.7). - the libraries have been (cross-)compiled (+Thirdpartypack). I created the special wmake rules + setting-sh + bashrc files in order to have the right paths to the BG/Q compilers : Code:
[vince@bluegeneq lib]$ pwd /bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/lib [vince@bluegeneq lib]$ ll total 207872 drwxr-xr-x 2 vince vince-group 4096 9 oct 15:50 dummy -rwxr-xr-x 1 vince vince-group 2624095 9 oct 16:38 libautoMesh.so -rwxr-xr-x 1 vince vince-group 337611 9 oct 16:20 libbarotropicCompressibilityModel.so (...) [vince@bluegeneq lib]$ Code:
[vince@bluegeneq lib]$ file libautoMesh.so libautoMesh.so: ELF 64-bit MSB shared object, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, not stripped [vince@bluegeneq lib]$ Code:
[vince@bluegeneq autoRefineMesh]$ pwd /bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/applications/utilities/mesh/advanced/autoRefineMesh [vince@bluegeneq autoRefineMesh]$ mpicxx -I/usr/include -DlinuxBGQ -DWM_DP -O3 -DNoRepository -I/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/src/dynamicMesh/lnInclude -I/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/src/meshTools/lnInclude -I/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/src/triSurface/lnInclude -I/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/src/OpenFOAM/lnInclude -I/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/src/OSspecific/POSIX/lnInclude -Xlinker --add-needed -Xlinker -z -Xlinker nodefs Make/linuxBGQGccBGDPOpt/autoRefineMesh.o -L/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/lib -ldynamicMesh -lmeshTools -ltriSurface -llagrangian -lOpenFOAM -ldl -lm -o /bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/bin/autoRefineMesh /bgsys/drivers/toolchain/V1R2M1_base/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld: cannot find -ldynamicMesh /bgsys/drivers/toolchain/V1R2M1_base/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld: cannot find -lmeshTools /bgsys/drivers/toolchain/V1R2M1_base/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld: cannot find -ltriSurface /bgsys/drivers/toolchain/V1R2M1_base/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld: cannot find -llagrangian /bgsys/drivers/toolchain/V1R2M1_base/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld: cannot find -lOpenFOAM collect2: ld a retourné 1 code d'état d'exécution Code:
[vince@bluegeneq autoRefineMesh]$ echo $LD_LIBRARY_PATH /bgscratch/vince/OpenFOAM/ThirdParty-2.2.1-GNU/platforms/linuxBGQGccBG/gperftools-svn/lib:/bgscratch/vince/OpenFOAM/ThirdParty-2.2.1-GNU/platforms/linuxBGQGccBG/paraview-3.12.0/lib/paraview-3.12:/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/lib/mpi:/bgscratch/vince/OpenFOAM/ThirdParty-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/lib/mpi:/bgsys/drivers/ppcfloor/comm/lib:/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/lib:/bgscratch/vince/OpenFOAM/ThirdParty-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/lib:/bgscratch/vince/OpenFOAM/OpenFOAM-2.2.1-GNU/platforms/linuxBGQGccBGDPOpt/lib/dummy:/home/vince/scratch/bgq_soft_releases/hdf5-release/lib:/bgsys/local/zlib/1.2.7/lib:/home/vince/scratch/bgq_soft_releases/szlib-release/lib:/home/vince/scratch/bgq_soft_releases/netcdf-release/lib Kind regards Vince Last edited by wyldckat; October 14, 2013 at 17:24. Reason: Added [CODE][/CODE] |
|
October 14, 2013, 17:29 |
|
#2 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Vince and welcome to the forum!
Problem is that OpenFOAM 2.2 will only build with GCC 4.5 and above: http://www.openfoam.org/download/source.php#x6-32000 (section "Checking the System") Quote:
Code:
./Allwmake > make.log 2>&1 Quote:
Best regards, Bruno
__________________
|
|||
October 15, 2013, 05:11 |
|
#3 |
New Member
Vincent Keller
Join Date: May 2011
Posts: 2
Rep Power: 0 |
Dear Bruno,
Many thanks for the reply. Sorry to haven't see it.... I'll check with our sysadmins if it is possible to upgrade the gcc suite to 4.5 and come back here. (I must admit that I modify the sources in order to be compiled with 4.5 and face a new problem at linking) Kind regards Vince |
|
October 30, 2015, 12:52 |
|
#4 |
Member
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14 |
Hi, Vincent,
I am not sure if you have solved your problem or not. I am quite new to HPC and BGQ system. But I need to compile OpenFOAM on BGQ system now. I know I should change some settings in openfoam source code. But could you provide me more detail about how to do it? Thanks. |
|
October 30, 2015, 16:47 |
compile openfoam on BG/Q architecture
|
#5 |
Member
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14 |
Hi, foamers,
I am recently need to run openfoam on a BGQ system. However, in order to compile openfoam, several settings should be changed. But I really have no idea where and what to change. If anyone of you have experience on this, please let me know. Thanks in advance. |
|
October 31, 2015, 08:06 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: As far as I know, IBM has a support section for their supercomputers. I say this due to two reasons:
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] OpenFOAM 5.0: sudden new compilation error on on the Titan supercomputer (Cray) | wildfire230 | OpenFOAM Installation | 1 | July 15, 2018 11:06 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 14, 2016 11:19 |
OpenFoam 2.1.x /2.2.0 compilation failed on Ubuntu 12.04/10 64bit | keepfit | OpenFOAM Installation | 2 | March 26, 2013 10:43 |