CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation v15 using HPMPI (https://www.cfd-online.com/Forums/openfoam-installation/57236-installation-v15-using-hpmpi.html)

isaac1115 January 14, 2009 10:33

Hi, While I could compile .
 
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 January 14, 2009 12:06

Hi, I think I didn't re-com
 
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

rishi123 February 12, 2009 00:26

Hi Isaac, I am getting the sa
 
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

rishi123 February 12, 2009 00:29

Hi Isaac, I am getting the sa
 
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


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