[MITgcm-support] Sea Ice Experiment

Amitabh Mitra amitabhmitra1 at rediffmail.com
Sat Apr 29 04:58:18 EDT 2006


  
 Dear Sir,

 I added the word -traditional in my optfile.
But it has no effect on the error produced earlier.
I agree with you that the error is produced in the
calendar package, because it is the first one to be 
processed.
     Moreover the computer is not able to recognise the
traditional flag. I think some other correction is
required for tackling this error.
  The error is shown below:




SGI_2100 9% make
cat cal_addtime.F | ../../../tools/set64bitConst.sh |  /lib/cpp -P -traditional
-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_SGI -DWORDLENGTH=4 -DHAVE_SYSTEM -DHAV
E_FDATE -I. > cal_addtime.f
cpp: error 0: unknown flag -traditional
cpp: error 234: missing endif
make: *** [cal_addtime.f] Error 1



Thanking you for your suggestion.

With regards,

Amitabh Mitra
---------------------------------------------------------------------

On Fri, 28 Apr 2006 Patrick Heimbach wrote :
>
>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
>
>_______________________________________________
>MITgcm-support mailing list
>MITgcm-support at mitgcm.org
>http://mitgcm.org/mailman/listinfo/mitgcm-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20060429/aad5af88/attachment.htm>


More information about the MITgcm-support mailing list