[MITgcm-support] MPI on SGI (irix64_ip35)!

Yuan Lian lian at U.Arizona.EDU
Sat Apr 30 08:23:23 EDT 2005


> > I got an error from STDERR.* that the number of processes must equal
> > nPx*nPy. I even set nPx=2, nPy=2 and changed the suitable size of number
> > of tiles in SIZE.h. I also tried to use exch2 pkg by using driver.m in the
> > utils/exch2/matlab_topology_generator (edited nr,ng,nb; tnx, tny), but the
> > driver.m didn't work when I ran it on Matlab.

Hi, Van Thinh,

driver.m should work properly. However, you have to make sure you set the
right path to include all Matlab codes required by driver.m.

>  1) Can you create and successfully run simple "hello world"-type
>     MPI programs?  This is an important first thing to test since
>     you can use it to determine whether your MPI (mpich, LAM, etc.)
>     install is setup and working correctly.

Yes, it is a good way to test you MPI environment by writing a "hello
world" program as Ed suggested. Also, when you run "mitgcmuv" as
"mpirun -np 4 ./mitgcmuv", this may cause problems since the code may
run on head nodes. Try to use "qsub" to run your code and see if this
will solve your problem.


-Yuan



More information about the MITgcm-support mailing list