[MITgcm-support] no -mpi option for genmake2

Ed Hill ed at eh3.com
Tue Aug 10 16:20:23 EDT 2004


On Tue, 2004-08-10 at 15:51, m. r. schaferkotter wrote:
> greetings:
> 
> as per instructions
> athttp://mitgcm.org/sealion/online_documents/node93.html#sect:mpi-build
> 
> i try to build an MPI version of my code:
> 
> the instruction there is:
> 
> ../../../tools/genmake2-mods=../code -mpi -of=YOUR_OPTFILE 
> 
> so i try:
> 
> [me at mach prog]$ ../../tools/genmake2 -mods=../code
> -mpi-of=../../tools/build_options/linux_ia32_pgf77+mpi
> 
> GEMAKE:
> snip
> Error: unrecognized option: -mpi
> 
> where/s the mpi?


Hi Michael,

Your email above shows that theres no space between the "-mpi" and the
"-of=./../tools/build_options/linux_ia32_pgf77+mpi" options.  You should
have a space there.

The next thing to check is the MITgcm version.  *PLEASE* use a recent
checkpoint such as those available at:

  http://mitgcm.org/download/daily_snapshot/
  http://mitgcm.org/download/

or the latest available from CVS which is working quite nicely right
now.

So with the latest from CVS, I just ran the following on our cluster:

  ../../../tools/genmake2 -mpi 
   -of=../../../tools/build_options/linux_ia32_g77+mpi_cg01  \
   -mods=../code

and it gave no problems.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the MITgcm-support mailing list