GENMAKE : A program for GENerating MAKEfiles for the MITgcm project. For a quick list of options, use "genmake2 -h" or for more detail see the documentation, section "Building the model" (under "Getting Started") at: https://mitgcm.readthedocs.io/ === Processing options files and arguments === getting local config information: using genmake_local Warning: MITgcm root directory was not specified ; try using a local copy of MITgcm found at "../../.." getting OPTFILE information: using OPTFILE="/albedo/work/projects/p_testreport/MITgcm_gfortran/tools/build_options/linux_amd64_gfortran_albedo" get compiler-version: '12' getting AD_OPTFILE information: using AD_OPTFILE="../../../tools/adjoint_options/adjoint_default" check Fortran Compiler... Turning on MPI cpp macros === Checking system libraries === Do we have the system() command using mpif77... yes Do we have the fdate() command using mpif77... yes Do we have the etime() command using mpif77... c,r: yes (SbR) Can we call simple C routines (here, "cloc()") using mpif77... fail to compile (set FC_CHECK=0/5) yes Can we unlimit the stack size using mpif77... Turning on MPI cpp macros === Checking system libraries === Do we have the system() command using mpif77... yes Can we register a signal handler using mpif77... yes Can we use stat() through C calls... yes Do we have the fdate() command using mpif77... yes Can we create NetCDF-enabled binaries... no Do we have the etime() command using mpif77... yes skip check for LAPACK Libs Can we call FLUSH intrinsic subroutine... c,r: yes (SbR) Can we call simple C routines (here, "cloc()") using mpif77... yes === Setting defaults === Adding MODS directories: ../code Making source files in eesupp from templates Making source files in pkg/exch2 from templates Making source files in pkg/regrid from templates === Determining package settings === getting package dependency info from ../../../pkg/pkg_depend getting package groups info from ../../../pkg/pkg_groups checking list of packages to compile: before group expansion packages are: default_pkg_list replacing "default_pkg_list" with: gfd replacing "gfd" with: mom_common mom_fluxform mom_vecinv generic_advdiff debug mdsio rw monitor after group expansion packages are: mom_common mom_fluxform mom_vecinv generic_advdiff debug mdsio rw monitor applying DISABLE settings applying ENABLE settings packages are: debug generic_advdiff mdsio mom_common mom_fluxform mom_vecinv monitor rw applying package dependency rules packages are: debug generic_advdiff mdsio mom_common mom_fluxform mom_vecinv monitor rw yes Can we unlimit the stack size using mpif77... Adding STANDARDDIRS='eesupp model' Searching for *OPTIONS.h files in order to warn about the presence of "#define "-type statements that are no longer allowed: found CPP_EEOPTIONS="../../../eesupp/inc/CPP_EEOPTIONS.h" found CPP_OPTIONS="../../../model/inc/CPP_OPTIONS.h" yes Can we register a signal handler using mpif77... yes Can we use stat() through C calls... Creating the list of files for the adjoint compiler. === Creating the Makefile === setting INCLUDES Determining the list of source and include files yes Can we create NetCDF-enabled binaries... yes skip check for LAPACK Libs Can we call FLUSH intrinsic subroutine... yes === Setting defaults === Adding MODS directories: ../code Making source files in eesupp from templates Making source files in pkg/exch2 from templates Making source files in pkg/regrid from templates === Determining package settings === getting package dependency info from ../../../pkg/pkg_depend getting package groups info from ../../../pkg/pkg_groups checking list of packages to compile: before group expansion packages are: default_pkg_list replacing "default_pkg_list" with: gfd replacing "gfd" with: mom_common mom_fluxform mom_vecinv generic_advdiff debug mdsio rw monitor after group expansion packages are: mom_common mom_fluxform mom_vecinv generic_advdiff debug mdsio rw monitor applying DISABLE settings applying ENABLE settings packages are: debug generic_advdiff mdsio mom_common mom_fluxform mom_vecinv monitor rw applying package dependency rules packages are: debug generic_advdiff mdsio mom_common mom_fluxform mom_vecinv monitor rw Adding STANDARDDIRS='eesupp model' Searching for *OPTIONS.h files in order to warn about the presence of "#define "-type statements that are no longer allowed: found CPP_EEOPTIONS="../../../eesupp/inc/CPP_EEOPTIONS.h" found CPP_OPTIONS="../../../model/inc/CPP_OPTIONS.h" Creating the list of files for the adjoint compiler. === Creating the Makefile === setting INCLUDES Determining the list of source and include files Writing makefile: Makefile Add the source list for AD code generation Making list of "exceptions" that need ".p" files Making list of NOOPTFILES Add rules for links Adding makedepend marker === Done === original 'Makefile' generated successfully => next steps: > make depend > make (<-- to generate executable) Writing makefile: Makefile Add the source list for AD code generation Making list of "exceptions" that need ".p" files Making list of NOOPTFILES Add rules for links Adding makedepend marker === Done === Warning: FORTRAN compiler test failed (please see 'genmake.log') Warning: 'Makefile' might be unusable (check your optfile)