[MITgcm-support] calendar package

Patrick Heimbach heimbach at MIT.EDU
Tue Dec 14 20:15:58 EST 2010


Ouch. Model documentation hopelessly out of date.
1. to compile. add "cal" to packages.conf
2. to run, add "useCAL=.true." to data.pkg and provide file data.cal
   (in certain cases, e.g. when using exf, useCAL is initialized to .true.)
Example is verification/global_with_exf
-p.

On Dec 14, 2010, at 5:28 PM, N     ico Wienders wrote:

> 
> Ladies and gentlemen,
> 
> I did what is indicated below but cal_Init is nowhere to be found, and
> certainly not it in calendar package... 
> 
> Then my question is how do we enable the calendar package (useCal
> is also obsolete if i am correct). 
> 
> Thank you much. 
> 
> 
> 6.4.7.4 Using the calendar together with MITgcm
> 
> Each routine has as an argument the thread number that it is belonging to, even if this number is not used in the routine itself.
> 
> In order to include the calendar tool into the MITgcm setup the MITgcm subroutine "initialise.F" or the routine "initilise_fixed.F", depending on the MITgcm release, has to be modified in the following way:
> 
> 
> c         #ifdef ALLOW_CALENDAR
> c         C--   Initialise the calendar package.
> c         #ifdef USE_CAL_NENDITER
> c               CALL cal_Init(
> c              I               startTime,
> c              I               endTime,
> c              I               deltaTclock,
> c              I               nIter0,
> c              I               nEndIter,
> c              I               nTimeSteps,
> c              I               myThid
> c              &             )
> c         #else
> c               CALL cal_Init(
> c              I               startTime,
> c              I               endTime,
> c              I               deltaTclock,
> c              I               nIter0,
> c              I               nTimeSteps,
> c              I               myThid
> c              &             )
> c         #endif
> c               _BARRIER
> c         #endif
> 
> 
> 
> 
> 
> Nico Wienders  
> 
> Florida State University  -  Earth, Ocean and Atmospheric Science  -  OSB415
> 117 N. Woodward Avenue, Tallahassee, FL 32306-4320 - wienders at fsu.edu
> (850) 644-1987  (office)   |   (850) 294-3542 (cell)   |   (850) 644-2581 (fax)
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach





More information about the MITgcm-support mailing list