[MITgcm-support] Sea Ice Experiment

Patrick Heimbach heimbach at MIT.EDU
Fri Apr 28 10:37:45 EDT 2006


Hi Amitabh,

if I remember correctly, you're getting this
error because of the specific cpp implementation
on your platform.

The reason why it seems to be in a cal package
routine is that this package is processed first
(so any cpp problem will appear there first).

Try using the cpp option '-traditional'

-Patrick



On Fri, 2006-04-28 at 07:42, Amitabh Mitra wrote:
>   
> 
> Dear Sir,
> 
>   I was trying to run the high resolution cube
> experiment s12t_16x32. I transferred all the 
> necessary files from code-mods to build directory
> and created the Makefile and the dependent files by 
> using 'make depend' command.
> 
> 
> SGI_2100 3% cp ../code/* .
> SGI_2100 4% ls
> CPP_OPTIONS.h        SEAICE_OPTIONS.h    rotate_en_to_uv.F
> DIAGNOSTICS_SIZE.h  SIZE.h              w2_e2setup.F
> ECCO_CPPOPTIONS.h    W2_EXCH2_TOPOLOGY.h
> README              packages.conf
> 
> 
> But as  I give the 'make' command the following error is displayed:
> 
> 
> SGI_2100 7% make
> cat cal_addtime.F | ../../../tools/set64bitConst.sh |  /lib/cpp -P
> -DALLOW_USE_M
> PI -DALWAYS_USE_MPI -DTARGET_SGI -DWORDLENGTH=4 -DHAVE_SYSTEM
> -DHAVE_FDATE -I. >
> cal_addtime.f
> cpp: error 234: missing endif
> make: *** [cal_addtime.f] Error 1
> 
> 
> After the error, I again give 'make' command, without any modification
> then the error message changes as follows
> 
> 
> SGI_2100 8% make
> f90 -n32 -extend_source -bytereclen -O3
> -OPT:Olimit=0:roundoff=3:div_split=ON:al
> ias=typed -c cal_addtime.f
> cat cal_checkdate.F | ../../../tools/set64bitConst.sh |  /lib/cpp -P
> -DALLOW_USE
> _MPI -DALWAYS_USE_MPI -DTARGET_SGI -DWORDLENGTH=4 -DHAVE_SYSTEM
> -DHAVE_FDATE -I.
> > cal_checkdate.f
> cpp: error 133: missing endif
> make: *** [cal_checkdate.f] Error 1
> 
> 
> 
> I think something is wrong with the calendar package.
> What could be the error ? Please help.
> 
> Thanking You ,
> 
> With Regards,
> 
> Amitabh Mitra
> 
> 
> 
> 
> 
> 
> ______________________________________________________________________
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
-- 
--------------------------------------------------------
Patrick Heimbach   Massachusetts Institute of Technology
FON: +1/617/253-5259                  EAPS, Room 54-1518
FAX: +1/617/253-4464             77 Massachusetts Avenue
mailto:heimbach at mit.edu               Cambridge MA 02139
http://www.mit.edu/~heimbach/                        USA




More information about the MITgcm-support mailing list