|
[Sponsors] |
August 24, 2006, 14:43 |
Hi Mattijs,
mpiexec can rea
|
#22 |
Senior Member
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 203
Rep Power: 18 |
Hi Mattijs,
mpiexec can read the arguments from a file, and I tried that. However, the arguments in the file are just added as flags to the mpiexec command and we're back where we started. I'll test your argList.C on monday when I get back to work. If it doesn't work, is there any problem just removing the FatalError.exit() as long as I make sure that I start my computations correctly (giving the correct flags and arguments)? Thanks for your efforts. Håkan. |
|
August 25, 2006, 04:34 |
>removing the FatalError.
It
|
#23 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
>removing the FatalError.
It probably will set the root and case incorrectly. |
|
August 28, 2006, 04:24 |
Hi Mattijs,
Actually, remov
|
#24 |
Senior Member
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 203
Rep Power: 18 |
Hi Mattijs,
Actually, removing FatalError seemed to work and set the root and case correctly. Your argList.C above also seems to work, so I will stick to that one. What I am not really sure about is if you actually truncate argv? Then the extra flags are not needed by MPI_Init inside OpenFOAM? Or is MPI_Init run before argList.C? It now seems like I don't have to do addValidParOptions for the extra flags, so there is still no check of consistency for those flags. But I can live with that. Thanks for your help! Håkan. |
|
August 29, 2006, 04:52 |
Thanks for testing.
The 'ru
|
#25 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Thanks for testing.
The 'rule' is that MPI_Init strips off any of its arguments (which it added to start up the job). So after MPI_Init we should have a clean argument list. You should now not need those extra addValidParOptions in your mpi/Pstream.C |
|
September 9, 2006, 08:58 |
Hi,
What is the difference
|
#26 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi,
What is the difference between MPICH and Lam? Does MPICH has a better performance than LAM? Thanks! Pei |
|
December 5, 2006, 14:37 |
Hi
I got today the same messa
|
#27 |
Member
rafal zietara
Join Date: Mar 2009
Location: Manchester, UK
Posts: 60
Rep Power: 17 |
Hi
I got today the same message error. Without PBS everything runs perfectly but when using queue system than it is not so pinky. Did you find any solution? Is thre any trick to solve or bypass the error? thanks in advance rafal error: [0] MPI Abort by user Aborting program ! [0] Aborting program |
|
December 6, 2006, 02:18 |
The problem with additional fl
|
#28 |
Senior Member
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 203
Rep Power: 18 |
The problem with additional flags to mpiexec was solved when using Mattijs argList.C file in the previous entry:
http://www.cfd-online.com/cgi-bin/Op...=9626#POST9626 Håkan |
|
June 2, 2007, 04:08 |
Dear Friends
I am using OF1
|
#29 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Dear Friends
I am using OF1.3. want to change from LAM to MVAPICH. i did the following 1) export WM_MPLIB=MPICH in bashrc 2) set all path to the MVAPICH library in .bashrc But i get this error when i do wmake libso in /src/Pstream/ /usr/bin/ld: /usr/local/topspin/mpi/mvapich/gnu/lib/libmpich.a(probe.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/topspin/mpi/mvapich/gnu/lib/libmpich.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [/home/kri_kuma/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt/mpich/libPstream.s o] Error 1 /////////////////////////////////// There is only a libmpich.a in /mvapich/lib what should i do ? Thanks a lot in advance kumar |
|
June 6, 2007, 18:26 |
Dear all,
Any comments on
|
#30 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Dear all,
Any comments on the previous post which is once again repeated here. ////////////////////////////////////////////// Dear Friends I am using OF1.3. want to change from LAM to MVAPICH. i did the following 1) export WM_MPLIB=MPICH in bashrc 2) set all path to the MVAPICH library in .bashrc But i get this error when i do wmake libso in /src/Pstream/ /usr/bin/ld: /usr/local/topspin/mpi/mvapich/gnu/lib/libmpich.a(probe.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/topspin/mpi/mvapich/gnu/lib/libmpich.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [/home/kri_kuma/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt/mpich/libPstream.s o] Error 1 /////////////////////////////////// There is only a libmpich.a in /mvapich/lib what should i do ? Thanks a lot in advance kumar |
|
June 6, 2007, 18:46 |
These are just guesses:
1.
|
#31 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
These are just guesses:
1. Try to link against a shared library (file extension *.so) as opposed to a static on (*.a). In other words build the MPI library with --with-shared or whatever is the appropriate argument. If you're linking against a pre-built library, try to see if you can find whether it was build with 'shared library' suppprt. 2. Make sure that WM_64 is set to on (assuming you are in 64 bit mode). |
|
June 6, 2007, 19:08 |
Hi pUI
Thanks a lot for the
|
#32 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hi pUI
Thanks a lot for the prompt reply. I only vaguly understand what you say and hopefully my sysad will help me from here. kumar |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MPICH | r2d2 | OpenFOAM Installation | 1 | June 15, 2005 20:32 |
PVM or MPICH | CFX User | CFX | 5 | November 3, 2004 17:31 |
LAM/MPI or MPICH? | Junseok Kim | Main CFD Forum | 0 | January 15, 2004 08:10 |
PC configuration for CFD | Fernando Sanz | Main CFD Forum | 17 | December 19, 2001 08:29 |
MPICH | Junseok Kim | Main CFD Forum | 1 | November 5, 2000 23:07 |