Hey Chen,

normally, explicit MPI calls are only done in the Dune 
core modules. Nevertheless, we have some explicit MPI 
calls in dumux/linear and dumux/parallel.

Alls tests in test/boxmodels can simply be run in parallel 
by putting a "mpirun -np X" before the call to the test. 
Or whatever MPICH requires, we mostly use OpenMPI.

Your error message does not look Dumux-specific to me. 
Have you tried to run a test from dune-grid in parallel, 
e.g. dune/grid/test/test-yaspgrid? If this also does not 
work, the problem should rather be your MPI implementation 
or usage.

Kind regards
Bernd

On Sun, 15 Jul 2012 12:34:47 +0200
  Chen S <[email protected]> wrote:
> Hi Dumux,
> 
> I am currently running the boxmodels/2pni test ,
> and I need some clarifications regarding the way DuMuX 
>calls MPI.
> 
> I walked through the code of the 2pni test, and I did 
>not see a single
> reference to MPI (such as a call for MPI_Init), which 
>lead me to understand
> that the only library which actually calls MPI is Dune, 
>is it correct ?
> 
> should I assume that most Dumux tests are able to run 
>with MPI?
> 
> I am using MPICH2 , and when I tried to run 2pni with 
>MPI,
> I got errors such as :
> 
> [unset]: unable to decode hostport from 1497
>Fatal error in MPI_init: Other MPI error, error stack:
> MPIR_Init_thread(392):
> MPID_Init(107).......: channel initialization failed
> MPID_Init(371).......: PMI_Init returned -1
> 
> Please let me know what you think about it,
> Thank you!
> Chen

___________________________________________________________

Bernd Flemisch                     phone: +49 711 685 
69162
IWS, Universitaet Stuttgart          fax: +49 711 685 
67020
Pfaffenwaldring 61        email: 
[email protected]
D-70569 Stuttgart        url: 
www.hydrosys.uni-stuttgart.de
___________________________________________________________
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to