[MITgcm-devel] genmake2 -mpi

Alistair Adcroft adcroft at MIT.EDU
Tue Feb 24 10:04:08 EST 2004


Chris,

Having sent the email you should now recall we wanted to turn MPI on/off at
the code configuration stage (i.e. with genmake) and not by hand-editing .h
files. So yes - this change a month or two ago. Genmake should catch any
attempt to control MPI from within .h files.

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: Chris Hill [mailto:cnh at MIT.EDU] 
Sent: Monday, February 23, 2004 8:00 PM
To: MITgcm-devel at mitgcm.org; adcroft at MIT.EDU
Subject: RE: [MITgcm-devel] genmake2 -mpi


Weird - I had exactly the same problem about 10 mins ago, I thought it was
just me. Has this just changed?

> -----Original Message-----
> From: mitgcm-devel-bounces at mitgcm.org 
> [mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Jean-Michel 
> Campin
> Sent: Monday, February 23, 2004 7:52 PM
> To: adcroft at mit.edu
> Cc: MITgcm-devel at mitgcm.org
> Subject: [MITgcm-devel] 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
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel
> 




More information about the MITgcm-devel mailing list