Skip to content

Commit

Permalink
update runoff_to_ocn INSTALL instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed May 20, 2024
1 parent 441dada commit 1fa07a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tools/mapping/gen_mapping_files/runoff_to_ocn/INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1fa07a5

Please sign in to comment.