C $Header: /home/ubuntu/mnt/e9_copy/MITgcm_contrib/verification_other/global_oce_llc90/code/AUTODIFF_OPTIONS.h,v 1.1 2014/10/20 03:29:00 gforget Exp $ C $Name: $ CBOP C !ROUTINE: AUTODIFF_OPTIONS.h C !INTERFACE: C #include "AUTODIFF_OPTIONS.h" C !DESCRIPTION: C *==================================================================* C | CPP options file for AutoDiff (autodiff) package: C | Control which optional features to compile in this package code. C *==================================================================* CEOP #ifndef AUTODIFF_OPTIONS_H #define AUTODIFF_OPTIONS_H #include "PACKAGES_CONFIG.h" #include "CPP_OPTIONS.h" #ifdef ALLOW_AUTODIFF #ifdef ECCO_CPPOPTIONS_H C-- When multi-package option-file ECCO_CPPOPTIONS.h is used (directly included C in CPP_OPTIONS.h), this option file is left empty since all options that C are specific to this package are assumed to be set in ECCO_CPPOPTIONS.h #else /* ndef ECCO_CPPOPTIONS_H */ C ================================================================== C-- Package-specific Options & Macros go here C o Include/exclude code in order to be able to automatically C differentiate the MITgcmUV by using the Tangent Linear and C Adjoint Model Compiler (TAMC). #define ALLOW_AUTODIFF_TAMC C o Checkpointing as handled by TAMC #define ALLOW_TAMC_CHECKPOINTING # undef AUTODIFF_2_LEVEL_CHECKPOINT C o Extract adjoint state #define ALLOW_AUTODIFF_MONITOR C o use divided adjoint to split adjoint computations #undef ALLOW_DIVIDED_ADJOINT #undef ALLOW_DIVIDED_ADJOINT_MPI C o tape settings #define ALLOW_AUTODIFF_WHTAPEIO #define AUTODIFF_USE_OLDSTORE_2D #define AUTODIFF_USE_OLDSTORE_3D #define EXCLUDE_WHIO_GLOBUFF_2D #define ALLOW_INIT_WHTAPEIO C ================================================================== #endif /* ndef ECCO_CPPOPTIONS_H */ #endif /* ALLOW_AUTODIFF */ #endif /* AUTODIFF_OPTIONS_H */