[MITgcm-support] bug in genmake2

Martin Losch mlosch at awi-bremerhaven.de
Mon Sep 22 11:45:15 EDT 2003


Hi again,
it seems to be my day personal correspondence with the mitgcm-support 
list. I think there is a bug in the genmake2-script

I have the following configuration:
 >> cd $ROOTDIR/myexpname/build
 >> ../../tools/genmake2 -optfile=../../tools/build_options/linux_ifc 
-mods=../code

===  Processing options files and arguments  ===
   getting local config information:  none found
   getting OPTFILE information:
     using OPTFILE="../../tools/build_options/linux_ifc"

===  Setting defaults  ===
   Adding MODS directories:   ../code
Warning:  ROOTDIR was not specified but there appears to be a copy of 
MITgcm at
"../.." so we'll try it.
   Making source files in eesupp from templates

===  Determining package settings  ===
   getting package dependency info from  ../../pkg/pkg_depend
   checking default package list:    using 
PDEFAULT="../../pkg/pkg_default"
     packages are:   debug generic_advdiff gmredi kpp mdsio mom_fluxform 
mom_vec
nv monitor obcs rw sbo shap_filt timeave zonal_filt
   applying DISABLE settings
   applying ENABLE settings
     packages are:   debug generic_advdiff gmredi kpp mdsio mom_fluxform 
mom_vec
nv monitor obcs rw sbo shap_filt timeave zonal_filt
   applying package dependency rules
     packages are:   debug generic_advdiff gmredi kpp mdsio mom_fluxform 
mom_vec
nv monitor obcs rw sbo shap_filt timeave zonal_filt
   Setting package-specific CPP flags in CPP_OPTIONS.h:
     found CPP_OPTIONS="../code/CPP_OPTIONS.h"
   Adding STANDARDDIRS

===  Creating the Makefile  ===
   setting INCLUDES
   Determining the list of source and include files
   Writing makefile: Makefile
   Making list of "exceptions" that need ".p" files
   Making list of NOOPTFILES
   Add rules for links
   Adding makedepend marker

===  Done  ===

 >> make depend
...
/bin/sh: line 1: ../../../tools/f90mkdepend: No such file or directory
make: *** [depend] Error 127

which of course is true, there is no ../../../tools directory, but 
../../tools.

Cheers,
Martin

PS. My platform:
 >> uname -a
Linux lincl0 2.4.20-18.9bigmem #1 SMP Thu May 29 06:41:01 EDT 2003 i686 
i686 i386 GNU/Linux
RedHat 9 and ifc-compiler Version 7.1




More information about the MITgcm-support mailing list