|
[Sponsors] |
March 7, 2019, 14:20 |
'laplacianFoam' failed
|
#1 |
New Member
Nicola
Join Date: Mar 2019
Posts: 2
Rep Power: 0 |
Hi OpenFoam users,
I am a new OF user and during the installation I got these error messages and I do not know how to fix it: Code:
wmake laplacianFoam make[2]: ingresso nella directory "/home/nik/OpenFOAM/OpenFOAM-v1812/applications/solvers/basic/laplacianFoam" wmake overLaplacianDyMFoam make[3]: ingresso nella directory "/home/nik/OpenFOAM/OpenFOAM-v1812/applications/solvers/basic/laplacianFoam/overLaplacianDyMFoam" g++ -std=c++11 -m64 -DOPENFOAM=1812 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/home/nik/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/home/nik/OpenFOAM/OpenFOAM-v1812/src/dynamicFvMesh/lnInclude -I/home/nik/OpenFOAM/OpenFOAM-v1812/src/overset/lnInclude -I/home/nik/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -IlnInclude -I. -I/home/nik/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/home/nik/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed /home/nik/OpenFOAM/OpenFOAM-v1812/build/linux64GccDPInt32Opt/applications/solvers/basic/laplacianFoam/overLaplacianDyMFoam/overLaplacianDyMFoam.o -L/home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib \ -loverset -lOpenFOAM -ldl \ -lm -o /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/bin/overLaplacianDyMFoam /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: riferimento non definito a "MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)" /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: riferimento non definito a "PMPI::Intracomm::current_op" /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: riferimento non definito a "PMPI::Comm::mpi_comm_map" /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: riferimento non definito a "MPI::Is_initialized()" /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: riferimento non definito a "PMPI::Comm::mpi_err_map" /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: riferimento non definito a "MPI::Op::Free()" /home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: riferimento non definito a "op_intercept" collect2: error: ld returned 1 exit status /home/nik/OpenFOAM/OpenFOAM-v1812/wmake/makefiles/general:136: recipe for target '/home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/bin/overLaplacianDyMFoam' failed make[3]: *** [/home/nik/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/bin/overLaplacianDyMFoam] Error 1 make[3]: uscita dalla directory "/home/nik/OpenFOAM/OpenFOAM-v1812/applications/solvers/basic/laplacianFoam/overLaplacianDyMFoam" /home/nik/OpenFOAM/OpenFOAM-v1812/wmake/makefiles/apps:27: recipe for target 'overLaplacianDyMFoam' failed make[2]: *** [overLaplacianDyMFoam] Error 2 make[2]: uscita dalla directory "/home/nik/OpenFOAM/OpenFOAM-v1812/applications/solvers/basic/laplacianFoam" /home/nik/OpenFOAM/OpenFOAM-v1812/wmake/makefiles/apps:27: recipe for target 'laplacianFoam' failed make[1]: *** [laplacianFoam] Error 2 make[1]: uscita dalla directory "/home/nik/OpenFOAM/OpenFOAM-v1812/applications/solvers/basic" /home/nik/OpenFOAM/OpenFOAM-v1812/wmake/makefiles/apps:27: recipe for target 'basic' failed make: *** [basic] Error 2 I am using Ubuntu 18.04 and OpenFoam v1812. Thanks Nik Last edited by wyldckat; March 7, 2019 at 19:32. Reason: Added [CODE][/CODE] markers |
|
March 7, 2019, 19:34 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions:
__________________
|
|
March 8, 2019, 06:50 |
|
#3 |
New Member
Nicola
Join Date: Mar 2019
Posts: 2
Rep Power: 0 |
Hi Wyldckat,
many thanks for your reply. I was following this guide: https://www.openfoam.com/code/build-guide.php However, I found an old post from you which already describe how to fix my installation with the following steps: wclean $FOAM_SOLVERS/basic/laplacianFoam wmake all $FOAM_SOLVERS/basic/laplacianFoam > log.make.laplacian 2>&1 gzip < log.make.laplacian > log.make.laplacian.gz cd $WM_PROJECT_DIR ln -s /usr/bin/mpicc.openmpi bin/mpicc ln -s /usr/bin/mpirun.openmpi bin/mpirun wclean all src/Pstream wmRefresh ./Allwmake -j 4 > log.make 2>&1 Many thanks again Nik |
|
September 9, 2019, 23:58 |
|
#4 | |
New Member
Zhou Zhang
Join Date: Jan 2019
Location: Ann Arbor, Michigan
Posts: 3
Rep Power: 7 |
Quote:
I had the same problem as yours. But after following the steps you mentioned above, it gave the same error. Do you have any idea how to fix it? And could you tell me in which 'old post' you found the solution? By the way, I was using Open MPI 3.1.4, gcc 4.8.5. Thanks a lot! Zhou |
||
Tags |
failed, installation, laplacianfoam, mpi |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel | U.Golling | OpenFOAM Running, Solving & CFD | 52 | September 23, 2023 04:35 |
Initial conditions for uniform flow | andreas | OpenFOAM | 5 | November 16, 2012 16:00 |
[OpenFOAM] ParaView/Parafoam error when making animation | Disco_Caine | ParaView | 6 | September 28, 2010 10:54 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |