[Mitgcm-support] RE: MITGCM on sgi cluster
mitgcm-support at dev.mitgcm.org
mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:53:10 EDT 2003
Hi Olivier,
# ../tools/genmake -platform=lego.bu.edu -mpi -makefile=makefile
the attached set of genamke options is what works
for me on some SGI machines!
The problem is probably mpif.h - you have to use the one
that comes with the machine setup you are on. There should be
a copy in /usr/include on the SGI and that will be consistent
with the library that the -lmpi option in the
attached genmake config. links.
Chris
Chris
On Thu, 3 Oct 2002, Olivier M. Pauluis wrote:
> Hi Chris,
>
> Here, I put on cg01 in
>
> /home/pauluis/Makefile.hpcs
>
> Is the mpif.h file 'universal', or shoulld it be machine-dependent? That
> might be the problem too.
>
> Olivier
>
>
> On Thu, 3 Oct 2002, Chris Hill wrote:
>
> > Hi Olivier,
> >
> > Not sure. Can you copy the Makefile over to
> > cg01 and I'll take a look later today.
> >
> > Chris
> >
> > -----Original Message-----
> > From: Olivier M. Pauluis [mailto:pauluis at Princeton.EDU]
> > Sent: Wednesday, October 02, 2002 7:45 PM
> > To: Chris Hill
> > Subject: MITGCM on sgi cluster
> >
> >
> > Hi Chris,
> >
> > Back to my previous task of trying to compile the mitgcm on the SGI
> > cluster at GFDL. The cluster has a buckload of processor and I should not
> > have too much trouble for stealing 16 or 32 of them to play with the Mitgcm.
> >
> > However, for that, I need to be able to compile and tun the thing.
> >
> > So far, I've managed to compile and run it on a single processor. I've
> > managed to compile for mpi, but it crashes when I launched mpirun:
> >
> > mpirun -np 4 ./mitgcmuv
> >
> > I got the error message:
> >
> > MPI:cpuset name = sgeinit
> > MPI: MPI_COMM_WORLD rank 2 has terminated without calling MPI_Finalize()
> > MPI: Received signal 11
> >
> >
> > Here is what I did for the compilation:
> >
> > (1) generated the Makefile with
> > ../../../tools/genmake -platform=IRIX+mpi -mods=../code
> > (2) make depend
> > (3) make
> >
> > I was asked for a mpif.h file. I just copied the one from cg01 (it is in
> > one of your subdirectory).
> >
> > Any idea?
> >
> > Olivier
> >
> >
> >
>
>
-------------- next part --------------
case lego.bu.edu+mpi: /* Boston Uni. SGI with SGI MPI - coupled run */
echo "Configuring for lego.bu.edu Mips with MPI - coupled setup"
set DEFINES = ( ${DEFINES} '-DTARGET_SGI -DWORDLENGTH=1 -DCOMPONENT_MODULE' )
set INCLUDES = ( '-I/usr/include' )
set FC = ( 'f77' )
set LINK = ( 'f77' )
set FFLAGS = ( '-r8 -64 -LANG:recursive=on -extend_source' )
set FOPTIM = ( '-O3' )
set RMFILES = ( 'rii_files' )
set LIBS = ( '../../component_communications_library/libcpl.a -lmpi' )
breaksw
More information about the MITgcm-support
mailing list