[MITgcm-support] Error: No. of processes not equal to nPx*nPy

Patrick Heimbach heimbach at MIT.EDU
Wed Apr 16 09:41:43 EDT 2008


Marcelo,

something seems wrong in your llsubmit.test script.
The code properly recognizes that it should run on 2 procs
(2nd column of the error message)
> S/R EEBOOT_MINIMAL: No. of processes not equal to nPx*nPy     1     2
but MPI only assigns 1 processor to it (first column).

Maybe check your script header to make sure you request 2 procs.

-p.

On Apr 16, 2008, at 9:26 AM, Marcelo Barreiro wrote:
> Hello,
>
> I just downloaded the code using CVS, and I am trying to run
> verification/global_ocean.90x40x15 experiment using MPI (MPICH).
>
> 1. I built an opt file for my machine with the libraries and  
> compilers needed.
> 2. In /build I did ../../../tools/genmake2 -mods=../code -mpi
> -of=../../../tools/build_options/opt_chpc
> 3. make depend
> 4. make
> 5. In input ./prepare.run
> 5. ln -s ../input/* .
> 6. Used Loadleveler to submit: llsubmit llsubmit.test
>
> Everything goes well if I use one processor and the program runs.  
> However, if
> I change the SIZE.h to try to use 2 processors (mpirun -np 2 ...)  
> the program
> compiles just fine but won't run and gives the error message:
>
> S/R EEBOOT_MINIMAL: No. of processes not equal to nPx*nPy     1     2
> S/R EEBOOT_MINIMAL: No. of processes not equal to nPx*nPy     1     2
> ABNORMAL END: PROGRAM MAIN
> ABNORMAL END: PROGRAM MAIN
>
> The SIZE.h file I am using has
>
>      &           sNx =  45,
>      &           sNy =  40,
>      &           OLx =   2,
>      &           OLy =   2,
>      &           nSx =   1,
>      &           nSy =   1,
>      &           nPx =   2,
>      &           nPy =   1,
>      &           Nx  = sNx*nSx*nPx,
>      &           Ny  = sNy*nSy*nPy,
>      &           Nr  =  15)
>
> and eedata
>  &EEPARMS
>  nTx=1,
>  nTy=1,
>  usingMPI=.TRUE.,
>  &
>
> As far as I understand I am satisfying the condition nPx*nPy=np  
> that is needed
> to run the code. But what am I missing?
>
> Thanks for your help!
>
> Marcelo
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach





More information about the MITgcm-support mailing list