[MITgcm-devel] RE: genmake2 -mpi

Alistair Adcroft adcroft at MIT.EDU
Tue Feb 24 10:07:03 EST 2004


I think the problem is that genmake2 isn't quite there yet - I'd forgotten
that most MPI testing is being done by choosing the optfile appropriately.
The -mpi option will return because has been requested by me repeatedly.
-mpi will look in the obvious places for mpi and the optfiles will provide
site-specific locations where necessary.

A.
--
Dr Alistair Adcroft            http://www.mit.edu/~adcroft
MIT Climate Modeling Initiative        tel: (617) 253-5938
EAPS 54-1523,  77 Massachusetts Ave,  Cambridge,  MA,  USA

-----Original Message-----
From: Jean-Michel Campin [mailto:jmc at ocean.mit.edu] 
Sent: Monday, February 23, 2004 7:52 PM
To: adcroft at mit.edu
Cc: MITgcm-devel at mitgcm.org
Subject: genmake2 -mpi


Hi Alistair,

I was used to set #define ALLOW_USE_MPI & #define ALWAYS_USE_MPI in
CPP_EEOPTIONS.h but now, things have changed.

I found (in eesup/inc/CPP_EEOPTIONS.h) :
> CXXX We no longer select the use of MPI via this file
> (CPP_EEOPTIONS.h) CXXX To use MPI, use an appropriate genmake2 options 
> file or use CXXX genmake2 -mpi . CXXX #undef  ALLOW_USE_MPI
> CXXX #undef  ALWAYS_USE_MPI

but when I try:
genmake2 -mpi -mods=../code

I get:

Error: unrecognized option: -mpi

And this has been like this since eesup/inc/CPP_EEOPTIONS.h was 
modified (Jan. 21, 2004).

Is the plan to change genmake2 to reconize the option -mpi ?
I think it would be nice to this finished.

Jean-Michel




More information about the MITgcm-devel mailing list