[MITgcm-support] openad/genmake2 configuration files -- any documentation?
utke at mcs.anl.gov
Sat Oct 4 12:34:00 EDT 2014
the dontTransform and dontCompile are named to convey the intention.
The use cases are for the
- dontTransform that one uses only the "passive" version of the code
- dontCompile that it is in some package/adlist but for various reasons not needed
I didn't want to mess with the ad list files because I figured that might impact the TAF version.
There is no documentation because the relevant bits in the genmake2 script aren't very
elaborate so the script source is probably a much better description of the logic than any prose
that might be easily misunderstood....
On 10/01/2014 02:18 PM, Daniel Goldberg wrote:
> Hello all
> I was just wondering if there is any sort of documentation floating around for the dontTransform, dontCompile, keepOriginal and code_ad_diff.list files to be read by genmake2 when using MITgcm?
> For instance -- I am trying to build an instance in which I ignore a certain s/r because I am not calling it, and if it is compiled there will be compilation errors since it is not (or should not be) transformed.
> 1) The *.f file corresponding to the s/r is in the [package]_ad_diff.list file, which OpenAD apparently reads -- but is this necessary for transformation, as for TAF?
> 2) I put the subroutine name in the dontTransform and dontCompile files, but this does not seem to override anything. The only way I can avoid transformation and/or compilation is by deleting the file name from the [package]_ad_diff.list file.
> 3) i am not sure whether I additionally need to put the s/r name in dontTransform and dontCompile. But I would think that doing this should override its presence in the [package]_ad_diff.list file?!?
> Sorry if this is not clear -- happy to clarify.
> Daniel Goldberg, PhD
> Lecturer in Glaciology
> School of Geosciences, University of Edinburgh
> Geography Building, Drummond Street, Edinburgh EH8 9XP
> em: D <mailto:dgoldber at mit.edu>an.Goldberg at ed.ac.uk <mailto:an.Goldberg at ed.ac.uk>
> web: http://ocean.mit.edu/~dgoldberg <http://ocean.mit.edu/%7Edgoldberg>
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MITgcm-support