[MITgcm-devel] main_do_loop.F

Patrick Heimbach heimbach at MIT.EDU
Fri Mar 1 16:09:30 EST 2013


Hi Gael, Jean-Michel,

I took a look and think I have the change to the_main_loop.F (started Feb 20),
which now calls main_do_loop sorted out for the ECCO setups as well
(e.g. global_oce_llc90, global_oce_cs32, etc).

At the same time of checking this code in, some cleanup might be very useful
and desirable since these modifs are related (and will simplify things). 
Mainly what I suggest is:

1. remove (undesired) versions of the_main_loop.F, forward_step.F in pkg/ecco/

2. remove following split in the_model_main.F since it's no longer needed.
#   ifdef ALLOW_ECCO
      CALL ADTHE_MAIN_LOOP ( myTime, myThid )
#   else
      CALL ADTHE_MAIN_LOOP ( myThid )
#   endif

This also allows removal of special the_model_main.F files
in several code_ad/ directories.

3. Not sure yet, but perhaps we can try to make the flag 
#define ALLOW_ECCO_EVOLUTION
default (not sure if it makes sense, will see).

If we do that, we should make a checkpoint tag afterwards since it's an 
important change regarding backward compatibility of configurations
(it should be clear that people don't mix before/after configurations).

Any comments/objections?

Cheers
-Patrick

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20130301/5e012480/attachment.p7s>


More information about the MITgcm-devel mailing list