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

Sgimpi

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2011, 04:44
Default
  #21
Member
 
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15
pere is on a distinguished road
ppuigdom@pirineus:/tmp/ppuigdom/snappy24_2/snappy24>`which mpirun` -np 2 `which foamExec` bash -c "ls -l"
0 constant log processor0 processor1 processor2 processor3 processor4 processor5 processor6 processor7 processor8 processor9 system
MPI: could not run executable (case #3)
MPI: No details available, no log files found
Matat
ppuigdom@pirineus:/tmp/ppuigdom/snappy24_2/snappy24>`which mpirun` -np 2 `which foamExec` `which bash` -c "ls -l"
0 constant log processor0 processor1 processor2 processor3 processor4 processor5 processor6 processor7 processor8 processor9 system
MPI: could not run executable (case #3)
MPI: No details available, no log files found
Matat
pere is offline   Reply With Quote

Old   July 12, 2011, 18:49
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Pere,

It saddens me to say (write) this... but I don't know how to fix this problem
I don't have access to a system that has SGIMPI and therefore I can't compare such installation to your installation

The last advices I can think of are:
  • Try to send environment variables to the remote call. In OpenMPI we can do this by running with the -x argument, which stands for:
    Quote:
    -x <arg0>
    Export an environment variable, optionally specifying a value (e.g., "-x foo" exports the environment variable foo and takes its value from the current environment; "-x foo=bar" exports the environment variable name foo and sets its value to "bar" in the started processes)
    For example:
    Code:
    `which mpirun` -np 2 -x PATH -x LD_LIBRARY_PATH `which bash` -c "ls -l"
    With OpenMPI, this would send the two most relevant variables to the remote call, where PATH is the list of paths where binaries exist and LD_LIBRARY_PATH is the list of paths to where libraries are.
    You'll have to find such option in SGIMPI.
  • Read the SGIMPI manual.
  • You can also try to contact your systems administrator or provider/supplier.
  • If all else fails, contact OpenCFD or Wikki!?
Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 13, 2011, 05:25
Default
  #23
Member
 
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15
pere is on a distinguished road
Hi Bruno,

Thanks for all, but just one thing:

Now the error has changed....I put /dummy_ instead of /dummy__ and now the error is :

MPI: pirineus: 0x9d400004db872fa: buoyantBoussinesqPimpleFoam: symbol lookup error: /prod/OPENFOAM1.7.1/OpenFOAM-1.7.1-SGI/OpenFOAM-1.7.1/mpt-2.03/lib/libPstreamMPI: pirineus: 0x9d400004db872fa: .so: undefined symbol: _ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb
MPI: could not run executable (case #4)
Matat

and when I made parallelTest:
parallelTest: symbol lookup error: /prod/OPENFOAM1.7.1/OpenFOAM-1.7.1-SGI/OpenFOAM-1.7.1/mpt-2.03/lib/libPstream.so: undefined symbol: _ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb

Do you know something about this?

Thanks again
pere is offline   Reply With Quote

Old   July 13, 2011, 16:48
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Pere,

This is getting weirder and weirder... but I think that the problem here is that it's expecting to find the dummy version to link to it

OK, when in doubt, lets try to rebuild OpenFOAM once again. But before rebuilding, check if the following commands outputs the expected values:
Code:
echo $WM_MPLIB  #checking if the desired MPI library is going to get picked
echo $WM_COMPILER   #check if the compiler option is correct
which gcc   #check if the gcc binary is located where you expect it to be
gcc -v  #check if gcc is a version >= 4.3.2
which mpirun  #check if the mpirun binary is the one you want
If all OK, then run the following commands:
Code:
foam
wcleanAll
wcleanLnIncludeAll
./Allwmake > make.log 2>&1
These will clean up the development environment and rebuild OpenFOAM once again!

Good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 28, 2011, 18:28
Default
  #25
New Member
 
Anirban Jana
Join Date: Apr 2010
Location: Pittsburgh, PA, USA
Posts: 19
Rep Power: 16
jans is on a distinguished road
Hi guys,
I am also trying to build OpenFOAM (2.0.0 not 1.7.1) with SGI MPT 2.03 and icc (not gcc). Good to see there is company. Thanks wyldcat for pointing me to Pere's two threads.

Quick question Pere, it seems from the first post on this thread that you have built OpenFOAM with OpenMPI and now you want to run that build with SGI MPT. Did I get that right?

If yes, then I would suggest you rebuilding OpenFOAM from scratch with SGI MPT. Thats what I am trying to do now. My thread is
http://www.cfd-online.com/Forums/ope...pt-2-03-a.html

Cheers
Anirban
jans is offline   Reply With Quote

Old   July 28, 2011, 20:53
Default
  #26
New Member
 
Anirban Jana
Join Date: Apr 2010
Location: Pittsburgh, PA, USA
Posts: 19
Rep Power: 16
jans is on a distinguished road
I see that Wyldcat also suggested a clean rebuild in the post just before. Thats the way to go
-A
jans is offline   Reply With Quote

Old   July 29, 2011, 04:21
Default
  #27
Member
 
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15
pere is on a distinguished road
-hi anirban,

I've build OpenFOAM with openmpi and now I want to build it with mpt-2.03 but it seems to be hard....
pere is offline   Reply With Quote

Old   September 24, 2011, 08:57
Default
  #28
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
News update about building with SGI MPT (or so I hope): http://www.cfd-online.com/Forums/ope...tml#post325458 post#7
__________________
wyldckat is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 12:49.