|
[Sponsors] |
[foam-extend.org] Problem encountered in installing foam-extend-3.2 to Debian Jessie |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 21, 2016, 10:43 |
Problem encountered in installing foam-extend-3.2 to Debian Jessie
|
#1 |
New Member
Karnataka
Join Date: Feb 2014
Posts: 20
Rep Power: 12 |
Hello,
I am new to using foam-extend, and encountered errors during the installation of foam-extend-3.2 with the ./Allwmake utility. db/IOstreams/Pstreams/IPread.C:29:17: fatal error: mpi.h: No such file or directory I do not know what to make of this error, as I have mpi.h in the folder /usr/include/openmpi.I have enclosed a snippet with this thread. I would appreciate any inputs or suggestions on this matter. Thanks! make: Nothing to be done for 'all'. + wmakePrintBuild -check same version as previous build + wmakeLnInclude foam + wmakeLnInclude meshTools + wmakeLnInclude OSspecific/POSIX + wmake libo OSspecific/POSIX '/lscratch/satcha/foam/foam-extend-3.2/lib/linux64GccDPOpt/libOSspecific.o' is up to date. + set +x Note: ignore spurious warnings about missing mpicxx.h headers + wmake libso foam SOURCE=global/global.Cver ; sed -e 's/VERSION_STRING/3.2/' -e 's/BUILD_STRING/3.2-b4e1b80409dd/' $SOURCE > Make/linux64GccDPOpt/global.C; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/global.C -o Make/linux64GccDPOpt/global.o SOURCE=db/IOstreams/Pstreams/Pstream.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/Pstream.o SOURCE=db/IOstreams/Pstreams/PstreamGlobals.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/PstreamGlobals.o SOURCE=db/IOstreams/Pstreams/IPread.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/IPread.o SOURCE=db/IOstreams/Pstreams/OPwrite.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/OPwrite.o SOURCE=db/Time/findTimes.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/findTimes.o SOURCE=db/Time/subCycleTime.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/subCycleTime.o SOURCE=db/Time/findInstance.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/include -I/lscratch/satcha/foam/foam-extend-3.2/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/lscratch/satcha/foam/foam-extend-3.2/src/foam/lnInclude -I/lscratch/satcha/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/findInstance.o In file included from db/IOstreams/Pstreams/PstreamGlobals.C:26:0: db/IOstreams/Pstreams/PstreamGlobals.H:39:17: fatal error: mpi.h: No such file or directory #include "mpi.h" ^ compilation terminated. db/IOstreams/Pstreams/IPread.C:29:17: fatal error: mpi.h: No such file or directory #include "mpi.h" ^ compilation terminated. db/IOstreams/Pstreams/OPwrite.C:29:17: fatal error: mpi.h: No such file or directory #include "mpi.h" ^ compilation terminated. db/IOstreams/Pstreams/PstreamGlobals.H:39:17: fatal error: mpi.h: No such file or directory. |
|
January 22, 2016, 03:24 |
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Did the ThirdParty build correctly? Try
which mpirun or rebuild third party by hand
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
January 23, 2016, 06:00 |
|
#3 |
New Member
Karnataka
Join Date: Feb 2014
Posts: 20
Rep Power: 12 |
Hello,
Yes I see now, it was a problem with the third party build. The issue is I could not install rpm, as I lack administrative privileges. Is there a way around this? |
|
January 23, 2016, 06:01 |
|
#4 |
New Member
Karnataka
Join Date: Feb 2014
Posts: 20
Rep Power: 12 |
Thank you so much for the input!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Foam Extend 3.2 in ubuntu 16.04 LTS | JMosiezny | OpenFOAM Installation | 15 | December 9, 2017 08:20 |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 02:21 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
problem about installing FOAM | linux freshman | Main CFD Forum | 6 | November 4, 2004 10:59 |