|
[Sponsors] |
June 2, 2014, 17:59 |
Unable to install OpenFOAM-2.3.0 with MPICH
|
#1 |
New Member
Nilay
Join Date: Jun 2014
Posts: 1
Rep Power: 0 |
The environment variables are set here ... in
Code:
# wmake configuration export WM_DIR=$WM_PROJECT_DIR/wmake export WM_LINK_LANGUAGE=c++ export WM_OPTIONS=$WM_ARCH$WM_COMPILER$WM_PRECISION_OPTION$WM_COMPILE_OPTION # base executables/libraries export FOAM_APPBIN=$WM_PROJECT_DIR/platforms/$WM_OPTIONS/bin export FOAM_LIBBIN=$WM_PROJECT_DIR/platforms/$WM_OPTIONS/lib A directory gets created with Code:
OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/interFoam Code:
[shah.nee@discovery2 damBreakFine]$ env | grep LIBBIN FOAM_EXT_LIBBIN=/shared/apps/openfoam/openfoam-2.3/install/ThirdParty-2.3.0/platforms/linux64gccDPOpt/lib FOAM_SITE_LIBBIN=/shared/apps/openfoam/openfoam-2.3/install/site/2.3.0/platforms/linux64gccDPOpt/lib FOAM_USER_LIBBIN=/home/shah.nee/OpenFOAM/shah.nee-2.3.0/platforms/linux64gccDPOpt/lib FOAM_LIBBIN=/shared/apps/openfoam/openfoam-2.3/install/OpenFOAM-2.3.0/platforms/linux64gccDPOpt/lib Code:
etc/bashrc has #- MPI implementation: # WM_MPLIB = SYSTEMOPENMPI | OPENMPI | MPICH | MPICH-GM | HPMPI # | GAMMA | MPI | QSMPI | SGIMPI export WM_MPLIB=MPICH Code:
[shah.nee@discovery2 damBreakFine]$ cat error_file --> FOAM FATAL ERROR: --> FOAM FATAL ERROR: Trying to use the dummy Pstream library. This dummy library cannot be used in parallel mode From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 37. --> FOAM FATAL ERROR: Trying to use the dummy Pstream library. This dummy library cannot be used in parallel mode From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 37. FOAM exiting --> FOAM FATAL ERROR: Trying to use the dummy Pstream library. This dummy library cannot be used in parallel mode From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 37. FOAM exiting Trying to use the dummy Pstream library. This dummy library cannot be used in parallel mode From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 37. FOAM exiting FOAM exiting [shah.nee@discovery2 damBreakFine]$ Last edited by wyldckat; June 8, 2014 at 13:59. Reason: Added [CODE][/CODE] |
|
June 8, 2014, 14:04 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Nilay and welcome to the forum!
I don't know if you've managed to solve this issue already or not, but from the looks of things, I'd say that something has been incorrectly configured in the "OpenFOAM/2.3.0/etc/bashrc" file. For example, if you run this command: Code:
echo $WM_COMPILER Therefore, if it shows "gcc", then edit the file "OpenFOAM/2.3.0/etc/bashrc" and fix the line that defines "WM_COMPILER". Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
Unable to run a case with OpenFOAM 1.6-ext that works with OpenFOAM 2.3.0 | Jiricbeng | OpenFOAM Running, Solving & CFD | 15 | May 21, 2014 03:52 |
Prolem installing OpenFOAM Ver 2.3.0 source in Ubuntu 13.1.0 on VMware | zandi | OpenFOAM Installation | 5 | March 31, 2014 03:57 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |