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

[foam-extend.org] Problem encountered in installing foam-extend-3.2 to Debian Jessie

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By hjasak

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2016, 10:43
Default Problem encountered in installing foam-extend-3.2 to Debian Jessie
  #1
New Member
 
Karnataka
Join Date: Feb 2014
Posts: 20
Rep Power: 12
sathya123 is on a distinguished road
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.
sathya123 is offline   Reply With Quote

Old   January 22, 2016, 03:24
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
Did the ThirdParty build correctly? Try

which mpirun

or rebuild third party by hand
sathya123 likes this.
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 23, 2016, 06:00
Default
  #3
New Member
 
Karnataka
Join Date: Feb 2014
Posts: 20
Rep Power: 12
sathya123 is on a distinguished road
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?
sathya123 is offline   Reply With Quote

Old   January 23, 2016, 06:01
Default
  #4
New Member
 
Karnataka
Join Date: Feb 2014
Posts: 20
Rep Power: 12
sathya123 is on a distinguished road
Thank you so much for the input!
sathya123 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[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


All times are GMT -4. The time now is 10:16.