|
[Sponsors] |
July 14, 2014, 19:27 |
decomposePar is missing a library
|
#1 |
New Member
Join Date: Jul 2014
Posts: 4
Rep Power: 12 |
Hello everyone,
I've just started using OpenFOAM. Everything went well until I attempted to use decomposePar. When I run the command, the system says that: $ decomposePar decomposePar: error while loading shared libraries: libmetisDecomp.so: cannot open shared object file: No such file or directory Am I missing the METIS package? Since I didn't install or maintain the system, I have to find out what went wrong before I approach my supervisor and tell him to fix something that is broken. Same thing goes to rebuilding a component of OpenFOAM --- I need permission from my supervisor. Thank you for your help. |
|
July 14, 2014, 22:58 |
|
#2 |
New Member
Join Date: Jul 2014
Posts: 4
Rep Power: 12 |
Okay, the decomposePar problem was solved. There was an incomplete built of dummy library in the OpenFOAM directory. Now I run into another issue -- mpirun will give the following error:
Code:
$ mpirun -np 16 interFoam -parallel --> 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 --> 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 --> 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 --> 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 --> 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 --> 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 --> 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 --> 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 |
|
July 15, 2014, 04:24 |
|
#3 |
New Member
Join Date: Jul 2014
Posts: 4
Rep Power: 12 |
Alright, this looks utterly stupid, because I'm going to answer my question again.
Turns out that in ./etc/config/settings.sh, OpenFOAM would only load the proper Pstream library if I had already loaded the exact version of ICC needed. That was because the location of the required Pstream library is specified using $FOAM_MPI, which happened to be the version number of ICC. Now I can finally use 16 cores instead of one. |
|
July 15, 2014, 18:57 |
|
#4 |
New Member
AI
Join Date: Jun 2014
Posts: 17
Rep Power: 12 |
Thank you, I just had this problem.
|
|
January 6, 2015, 13:06 |
|
#5 |
Member
Derwin Parkin
Join Date: Feb 2010
Posts: 35
Rep Power: 16 |
Glad you solved your problem - just wondering if you could you elaborate? How exactly did you edit the settings.sh file to make it work?
|
|
February 25, 2015, 12:06 |
|
#6 | |
Senior Member
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15 |
Quote:
I am having exactly the same problem with the same error can you please elaborate on what you did on this mentioned above step. Regards, Hasan K.J
__________________
"Real knowledge is to know the extent of one's ignorance." - Confucius |
||
March 3, 2015, 10:15 |
|
#7 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Hello everyone,
I've got the the same problem. Every time, when I try to start <mpirun -np 2 snappyHexMesh -overwrite -parallel> I got this mistake: --> 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 I found the file settings.sh as you told, but I don't know how to correct it. It would be very kind, if anyone might help me. Thank you all. nice greetings, Stephie |
|
March 3, 2015, 14:38 |
Pstream library problem,
|
#8 |
Member
Join Date: Feb 2014
Posts: 63
Rep Power: 12 |
Hi I have the same problem.
I went through http://www.cfd-online.com/Forums/ope...e-openmpi.html thread and tried to recompile Pstream but i have a problem in openmpi. When i try to recompile Pstream I get the following error UOPwrite.C:29:17: fatal error: mpi.h: No such file or directory #include "mpi.h" But this problem was discussed by Bruno http://www.cfd-online.com/Forums/ope...tml#post534205 if anyone solve this issue Please be kind enough to post the way you did it. |
|
March 7, 2015, 08:53 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Stephie: Uyan figured out how to fix the problem and wrote the solution in this post: http://www.cfd-online.com/Forums/ope...tml#post534224 - post #8 Please try that solution and report back to us if it works for you as well or not. ------------- edit: Only after a week did I manage to understand you had already tried it and reported it here: http://www.cfd-online.com/Forums/ope...tml#post534307 post #8 ------------- Best regards, Bruno
__________________
Last edited by wyldckat; March 14, 2015 at 07:25. Reason: see "edit:" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: unable to find library | HJH | CFX | 6 | February 26, 2019 07:52 |
[OpenFOAM] Xlib: extension "GLX" missing on display | goldbeard | ParaView | 5 | March 24, 2013 14:12 |
errors when installing openfoam2.1 on ubuntu12.o4 | hewei | OpenFOAM Installation | 5 | May 29, 2012 08:43 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 16:49 |
[OpenFOAM] Missing library libPVFoamReaderso | dirk_kehrwald | ParaView | 3 | July 19, 2006 07:50 |