[MITgcm-support] mpi

Ed Hill ed at eh3.com
Mon Jul 4 00:33:55 EDT 2005


On Sun, 2005-07-03 at 16:33 +0300, eliyahu biton wrote:
> Dear supporting list.
> I have downloaded the daily snapshot  'MITgcm_ss_20050629' .
> I managed to compile my configuration on one processor without any 
> difficulties, but trying  to compile with mpi fail due to the following 
> error massage:
> 
> -L/opt/mpi/lib/alpha/ -lfmpi -lmpi -lkmp_osfp10 -pthread
> ld:
> Unresolved:
> timenow_
> f77: Severe: Failed while trying to link.
> gmake: *** [mitgcmuv] Error 1
> 
> running the  global with_exf verification with mpi  leads to the same 
> error massage at the compilation step.
> more information that could help is that I work on  'alpha machine' 
> running with 'Tru64' operating system.
> any ideas ?


Hi Eli,

Compiling with MPI is very similar to compiling without it -- you just
need to set two defines (the easy way is with the genmake2 "-mpi"
option) and make sure that the right paths are specified for the MPI
headers and libraries.  Thats it.

The error you're seeing above is a Fortran/C linking problem and
probably has nothing to do with MPI.  Please add the following to your
"optfile" and try again:

  FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"

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