[MITgcm-devel] linux_amd64_ifort11: NOOPTFILES list (-devel)

Jean-Michel Campin jmc at ocean.mit.edu
Mon Aug 6 09:59:09 EDT 2012


Hi Patrick,

I move this to mitgcm-devel (so that we keep a reccord).

The reason why "adread_adwrite.F" was added (~10 monyhs ago) to the NOOPTFILES
list (in "-devel" section, check for argument consistancy between the call
and S/R arg. declaration) is not related to RS/RL issue,
but like the 4 S/R I added yesterday, nothing unsafe there.

If I remove adread_adwrite.F from NOOPTFILES list, I got 2 experiments 
that fail to compile: tutorial_dic_adjoffline and tutorial_global_oce_biogeo.
And the reason is that (somewhere in pkg/dic) there is a storage of single 
value (= not an array) "total_atmos_carbon", whereas adread_adwrite.F
is expecting (and ifort is checking for) an array.

Does not look obvious to fix this in the code (at least in adread_adwrite.F)
unless we change the declaration of total_atmos_carbon from single _RL value to
an array of size = 1.

Cheers,
Jean-Michel

On Sun, Aug 05, 2012 at 01:04:53PM -0400, Jean-Michel Campin wrote:
> Hi Patrick,
> 
> the 4 files I added today are "safe" but with _RS = real*4 the debug options
> that comes with "-devel" (check argument type) stop there.
> (in the newer version of mdsio S/R this problem has been fixed, 
>  but not in the old one that are used with the adjoint).
> 
> I need to check why I previously (10 month ago) added "adread_adwrite.F'
> in the list (might be also a _RS = real*4 issue).
> 
> Cheers,
> Jean-Michel
> 
> On Sun, Aug 05, 2012 at 12:44:36PM -0400, Patrick Heimbach wrote:
> > 
> > What does that mean? Should we be concerned for ECCO?
> > Just checking…
> > p.
> > 
> > Begin forwarded message:
> > 
> > > From: Jean-Michel Campin <jmc at forge.csail.mit.edu>
> > > Subject: [MITgcm-cvs] MITgcm/tools/build_options CVS Commit
> > > Date: August 5, 2012 12:35:54 PM EDT
> > > To: mitgcm-cvs at mitgcm.org
> > > Reply-To: MITgcm-cvs at mitgcm.org
> > > 
> > > Update of /u/gcmpack/MITgcm/tools/build_options
> > > In directory forge:/tmp/cvs-serv15540
> > > 
> > > Modified Files:
> > > 	linux_amd64_ifort11 
> > > Log Message:
> > > add few mdsio files (no clean argument type declaration, but used only 
> > > for adjoint built) in the NOOPTFILES list of '-devel' section.
> > > 
> > > 
> > > _______________________________________________
> > > MITgcm-cvs mailing list
> > > MITgcm-cvs at mitgcm.org
> > > http://mitgcm.org/mailman/listinfo/mitgcm-cvs
> > 
> > ---
> > 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
> > 
> > 
> 
> 



More information about the MITgcm-devel mailing list