Problem encountered in installing foam-extend-3.2 to Debian Jessie
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. |
Did the ThirdParty build correctly? Try
which mpirun or rebuild third party by hand |
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? |
Thank you so much for the input!
|
All times are GMT -4. The time now is 14:32. |