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

Installation v15 using HPMPI

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2009, 10:33
Default Hi, While I could compile .
  #1
New Member
 
Isaac Ye
Join Date: Mar 2009
Location: Waterloo, ON, Canada
Posts: 2
Rep Power: 0
isaac1115 is on a distinguished road
Hi,

While I could compile ./src files without a problem, I've got some errors like below.

Compiler: GCC 4.3.0
MPI: HPMPI

make[3]: Entering directory `/work/isaac/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/mesh/generation/snap pyHexMesh'
g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/decompositionAgglomeration/decompositi onMethods/lnInclude -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/autoMesh/lnInclude -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/meshTools/lnInclude -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/triSurface/lnInclude -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/dynamicMesh/lnInclude -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/edgeMesh/lnInclude -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude -I/work/isaac/OpenFOAM/OpenFOAM-1.5.x/src/OSspecific/Unix/lnInclude -fPIC Make/linux64GccDPOpt/snappyHexMesh.o -L/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt \
-L/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi -lparMetisDecompositionMethod -lautoMesh -lOpenFOAM -liberty -ldl -lm -o /work/isaac/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linux64GccDPOpt/snappyHexMe sh
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_op_min'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_int'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_op_sum'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_op_max'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_2int'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_float'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_float_int'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_comm_world'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_op_minloc'
/work/isaac/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/hpmpi/libparmetis.so: undefined reference to `ompi_mpi_double'
collect2: ld returned 1 exit status
make[3]: *** [/work/isaac/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linux64GccDPOpt/snappyHexM esh] Error 1
make[3]: Leaving directory `/work/isaac/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/mesh/generation/snap pyHexMesh'
make[2]: *** [snappyHexMesh] Error 2
make[2]: Target `application' not remade because of errors.
make[2]: Leaving directory `/work/isaac/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/mesh/generation'
make[1]: *** [generation] Error 2


Actually similar errors happen twice more and the makefile ends up with 'make: Target `application' not remade because of errors'. It seems strange to me 'cause the undefined reference looks related to OPENMPI instead of HPMPI or MPI. My env seems fine to me, though.

[isaac@rb20 applications]$ echo $WM_MPLIB
HPMPI

Can anyone help me get through this? Thanks.

Isaac
isaac1115 is offline   Reply With Quote

Old   January 14, 2009, 12:06
Default Hi, I think I didn't re-com
  #2
New Member
 
Isaac Ye
Join Date: Mar 2009
Location: Waterloo, ON, Canada
Posts: 2
Rep Power: 0
isaac1115 is on a distinguished road
Hi,

I think I didn't re-compile the Third-Parties which includes openmpi there. Once re-make third parties, the linking problem disappeared. Thanks anyway.

Isaac
isaac1115 is offline   Reply With Quote

Old   February 12, 2009, 00:26
Default Hi Isaac, I am getting the sa
  #3
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi Isaac,
I am getting the same problem as yours. But I am not able come out of that problem and this stops the compilation of ParaView3. Could you pl. give me a detailed procedure of your solution, since I am a novice? Also what are the variables that you set in ccmake?

Thank you
Rishi
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   February 12, 2009, 00:29
Default Hi Isaac, I am getting the sa
  #4
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi Isaac,
I am getting the same problem as yours. But I am not able come out of that problem and this stops the compilation of ParaView3. Could you pl. give me a detailed procedure of your solution, since I am a novice? Also what are the variables that you set in ccmake?

Thank you
Rishi
__________________
Rishi
rishi123 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
HPMPI Infiniband problem carsten OpenFOAM Bugs 2 January 25, 2009 15:36
HPMPI Compilation problem still carsten OpenFOAM Bugs 3 December 16, 2008 12:23
Case HPMPI missing from etcsettingscsh in OpenFOAM15xgit ruusvuor OpenFOAM Bugs 1 November 26, 2008 07:10
Installation Help sandbox OpenFOAM Installation 6 December 3, 2007 09:44
installation mohammad FLUENT 0 May 4, 2003 10:15


All times are GMT -4. The time now is 04:35.