[MITgcm-support] new compile fails

Ed Hill ed at eh3.com
Tue Mar 28 16:17:18 EST 2006


On Tue, 2006-03-28 at 14:44 -0600, Michael Schaferkotter wrote:
> greetings:
> after having done numerous successful compile, setup, and run MITgcm experiments under MPI 
> (even as recently as late jan), i know get a compile error on a current build and also
> the same error upon rebuilding previously working experiments.
> 
> here/s the compile error:
> 
>         cat mdswritefield_new.F | $MITgcmHOME/tools/set64bitConst.sh |  /lib/cpp -P -DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4 -DALLOW_USE_MPI -DALWAYS_USE_MPI -DHAVE_SYSTEM -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT 
> -I/usr/lpp/ppe.poe/include/thread64 -I/usr/local/include > mdswritefield_new.f
>         mpxlf95_r -q64 -qfixed=132 -O3 -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1 -c mdswritefield_new.f
> "mdswritefield_new.f", line 2104.25: 1514-006 (S) Variable mpi_myxgloballo is already an element of a COMMON block.  Variable is ignored.
> "mdswritefield_new.f", line 2104.42: 1514-006 (S) Variable mpi_myygloballo is already an element of a COMMON block.  Variable is ignored.
> "mdswritefield_new.f", line 2105.15: 1514-071 (W) Identifier mpi_myxgloballo was previously defined with same type.
> "mdswritefield_new.f", line 2106.15: 1514-071 (W) Identifier mpi_myygloballo was previously defined with same type.
> ** mdswritefield_new   === End of Compilation 1 ===
> 1501-511  Compilation failed for file mdswritefield_new.f.
> make: 1254-004 The error code from the last command is 1.

Hi Micheal,

The variables above were moved out of mdsio_writefield_new.F and into
EESUPPORT.h almost five months ago as shown at:

http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/eesupp/inc/EESUPPORT.h
http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/pkg/mdsio/mdsio_writefield_new.F

so the error you report should have been caught months ago by our
routine testing.  I suspect that you have an odd mix of old and new
files -- probably caused by an incomplete CVS update where some files
were updated and some weren't.

Could you please get a fresh (completely new) copy of MITgcm from CVS
and try to reproduce the above error?  I suspect that a completely new
checkout (please start with an empty directory) will not have this
problem.

But if it does, please let us know!  :-)

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