diff --git a/tools/mapping/gen_mapping_files/runoff_to_ocn/INSTALL b/tools/mapping/gen_mapping_files/runoff_to_ocn/INSTALL index 003f424a3da..4eaf6bf45d0 100644 --- a/tools/mapping/gen_mapping_files/runoff_to_ocn/INSTALL +++ b/tools/mapping/gen_mapping_files/runoff_to_ocn/INSTALL @@ -3,11 +3,11 @@ HOW TO BUILD ============ (1) $ cd src -(2) $ ../../../../configure --macros-format Makefile --mpilib mpi-serial +(2) $ ../../../../../CIME/scripts/configure --macros-format Makefile --mpilib mpi-serial Bash users: -(3) $ (. ./.env_mach_specific.sh ; gmake) +(3) $ (. ./.env_mach_specific.sh ; gmake NETCDF_PATH=$NETCDF SLIBS="-L$NETCDF/lib -lnetcdf -lnetcdff") csh users: -(3) $ (source ./.env_mach_specific.csh ; gmake) +(3) $ (source ./.env_mach_specific.csh ; gmake NETCDF_PATH=$NETCDF SLIBS="-L$NETCDF/lib -lnetcdf -lnetcdff") Note: in the second step, you may need to include "--machine [machine name]", where [machine name] is the name of the machine you are building on. In most diff --git a/tools/mapping/gen_mapping_files/runoff_to_ocn/tools/makdep.c b/tools/mapping/gen_mapping_files/runoff_to_ocn/tools/makdep.c index 4c522f95278..8d96af74a47 100644 --- a/tools/mapping/gen_mapping_files/runoff_to_ocn/tools/makdep.c +++ b/tools/mapping/gen_mapping_files/runoff_to_ocn/tools/makdep.c @@ -51,7 +51,7 @@ static struct node *suffix_list; /* List of Fortran suffixes to look for */ static void check (char *, struct node *, char *, int); static int already_found (char *, struct node *); -main (int argc, char **argv) +int main (int argc, char **argv) { int lastdot; /* points to the last . in fname */ int c; /* return from getopt */