[MITgcm-support] FW: halem!

Chris Hill cnh at mit.edu
Tue Mar 9 18:01:27 EST 2004


Ed,

 Can you help Niki with this. I'm down at Princeton.

Thanks,

Chris 

> -----Original Message-----
> From: N. Prive [mailto:nprive at rossby.mit.edu] 
> Sent: Tuesday, March 09, 2004 5:15 PM
> To: cnh at ocean.mit.edu
> Subject: halem!
> 
> 
> Hi Chris,
> 
> I got my halem account set up, and moved the gcm over there, 
> and got Ivana's scripts, and managed to get some make depend 
> problems fixed up with some help from Jean-Michel and Ed 
> Hill. But! now I have a weird compiling problem, it get very 
> upset on the first file:
> 
> halem3> make
> cat do_the_model_io.F | ../../../tools/set64bitConst.sh | 
> /usr/bin/cpp -P -DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_DEC 
> -DWORDLENGTH=1 -I. -I../code -I../../../pkg/LSM 
> -I../../../pkg/debug -I../../../pkg/flt 
> -I../../../pkg/generic_advdiff -I../../../pkg/gmredi 
> -I../../../pkg/kpp -I../../../pkg/mdsio 
> -I../../../pkg/mitphys_r1 -I../../../pkg/mitphys_r1/add_code 
> -I../../../pkg/mitphys_r1/code 
> -I../../../pkg/mitphys_r1/input -I../../../pkg/mom_fluxform 
> -I../../../pkg/mom_vecinv -I../../../pkg/monitor 
> -I../../../pkg/obcs -I../../../pkg/rw 
> -I../../../pkg/shap_filt -I../../../pkg/timeave 
> -I../../../pkg/zonal_filt -I../../../eesupp/inc 
> -I../../../model/inc > do_the_model_io.f
> cpp: Warning: CPP_EEOPTIONS.h, line 49: The redefinition of 
> the macro "ALLOW_USE_MPI" conflicts with a current definition 
> because the replacement lists differ.  The redefinition is 
> now in effect. (macroredef) #define ALLOW_USE_MPI 
> ---------------------^
> cpp: Warning: CPP_EEOPTIONS.h, line 50: The redefinition of 
> the macro "ALWAYS_USE_MPI" conflicts with a current 
> definition because the replacement lists differ.  The 
> redefinition is now in effect. (macroredef) #define 
> ALWAYS_USE_MPI ----------------------^
> f77 -convert big_endian -r8 -extend_source -automatic 
> -call_shared -notransform_loops -align dcommons -O5 -fast 
> -tune host -inline all -c do_the_model_io.f
> f90: Error: do_the_model_io.f, line 4314: This name has 
> already been assigned a data type.  [NLON]
>       INTEGER NLON, NLAT, NLEV, NGP --------------^
> f90: Error: do_the_model_io.f, line 4314: This name has 
> already been assigned a data type.  [NLAT]
>       INTEGER NLON, NLAT, NLEV, NGP --------------------^
> f90: Error: do_the_model_io.f, line 4314: This name has 
> already been assigned a data type.  [NLEV]
>       INTEGER NLON, NLAT, NLEV, NGP --------------------------^
> f90: Error: do_the_model_io.f, line 4314: This name has 
> already been assigned a data type.  [NGP]
>       INTEGER NLON, NLAT, NLEV, NGP --------------------------------^
> f90: Error: do_the_model_io.f, line 4333: This name has 
> already been assigned a data type.  [EPSL]
>       real R, epsl, row, evap, relHm, dz, RV --------------^
> f90: Error: do_the_model_io.f, line 4333: This name has 
> already been assigned a data type.  [RV]
>       real R, epsl, row, evap, relHm, dz, RV 
> ------------------------------------------^
> *** Exit 1
> Stop.
> 
> 
> Any ideas? Ed said I should ask you :)
> 
> thanks-
> -nikki
> 
> ps. there is a lot of leftover ice cream in the 17th floor fridge!
> 




More information about the MITgcm-support mailing list