Skip to content

Commit

Permalink
Clean up and modularize build (NOAA-EMC#453)
Browse files Browse the repository at this point in the history
clean-up and modularization of the build
  • Loading branch information
JessicaMeixner-NOAA authored Sep 15, 2021
1 parent 5ccf8c6 commit 4805265
Show file tree
Hide file tree
Showing 26 changed files with 1,516 additions and 2,178 deletions.
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,50 @@ regtests/*/*.png
regtests/ww3_tp2.14/input/oasis3-mct/doc
regtests/ww3_tp2.14/input*/*.nc.OAS*CM*
regtests/ww3_tp2.14/input*/*/*.nc.OAS*CM*
regtests/ww3_tp2.14/input/toy/*.o
regtests/ww3_tp2.14/input/oasis3-mct/util/make_dir/cmplr
regtests/ww3_tp2.14/input/toy/toy_model
regtests/ww3_tp2.14/input/ww3_shel.inp
regtests/ww3_tp2.14/input/ww3_shel.nml
regtests/ww3_tp2.15/input_rho/ww3_prnc.inp
regtests/ww3_tp2.17/input/inlet.msh
regtests/ww3_tp2.21/input/mesh.msh
regtests/ww3_tp2.21/input/obstructions_local.glo_unst.in
regtests/ww3_tp2.21/input/obstructions_shadow.glo_unst.in
regtests/mww3_test_09/input/GtLkHuronBlst.dat
regtests/mww3_test_09/input/GtLkHuronCels.dat
regtests/mww3_test_09/input/GtLkHuronISid.dat
regtests/mww3_test_09/input/GtLkHuronJSid.dat
regtests/mww3_test_09/input/GtLkHuronObst.dat
regtests/mww3_test_09/input/GtLkMichiBlst.dat
regtests/mww3_test_09/input/GtLkMichiCels.dat
regtests/mww3_test_09/input/GtLkMichiISid.dat
regtests/mww3_test_09/input/GtLkMichiJSid.dat
regtests/mww3_test_09/input/GtLkMichiObst.dat
regtests/mww3_test_09/input/GtLkSuperBlst.dat
regtests/mww3_test_09/input/GtLkSuperCels.dat
regtests/mww3_test_09/input/GtLkSuperISid.dat
regtests/mww3_test_09/input/GtLkSuperJSid.dat
regtests/mww3_test_09/input/GtLkSuperObst.dat
regtests/ww3_ufs1.1/input/glo_15mxt.bot
regtests/ww3_ufs1.1/input/glo_15mxt.mask
regtests/ww3_ufs1.1/input/glo_15mxt.obs
regtests/ww3_ufs1.2/input/aoc_9km.bot
regtests/ww3_ufs1.2/input/aoc_9km.lat
regtests/ww3_ufs1.2/input/aoc_9km.lon
regtests/ww3_ufs1.2/input/aoc_9km.mask
regtests/ww3_ufs1.2/input/aoc_9km.obs
regtests/ww3_ufs1.2/input/glo_15mxt.bot
regtests/ww3_ufs1.2/input/glo_15mxt.mask
regtests/ww3_ufs1.2/input/glo_15mxt.obs
regtests/ww3_ufs1.2/input/gnh_10m.mask
regtests/ww3_ufs1.2/input/gnh_10m.obs
regtests/ww3_ufs1.2/input/gsh_15m.bot
regtests/ww3_ufs1.2/input/gsh_15m.mask
regtests/ww3_ufs1.2/input/gsh_15m.obs
regtests/ww3_ufs1.2/input/gnh_10m.bot
regtests/ww3_ufs1.2/input/gsh_15m.mask
regtests/output
*.nc
*/*.nc
*/*/*.nc
Expand Down
20 changes: 9 additions & 11 deletions manual/impl/compile.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
\subsection{~Optional environment settings}
\vssub

Compilation of the \ws\ NetCDF enabled programs requires the environment variable
{\code WWATCH3\_NETCDF} be set to {\code NC4} (compile with NetCDF version 4.x).
{\code NC3} is no longer supported.
If {\code WWATCH3\_NETCDF = NC4}, then the following environment variable
is required.
Compilation of the \ws\ NetCDF enabled programs requires NetCDF version 4.1.1 or higher.
The following environment variable is also required:
\begin{clist}
\cit {NETCDF\_CONFIG} {Path to the NetCDF-4 nc-config utility program.}
\end{clist}
The {\file nf-config} utility program (part of the NetCDF-4 install or
{\file nc-config} for old versions) is used to determine the appropriate
compile and link flags for the {\code WWATCH3\_NETCDF = NC4} compile.
The NetCDF-4 compile requires NetCDF version 4.1.1 or higher. Use the command
\command{\code nf-config --version} to check the version of the installed
Fortran-NetCDF library. Use \command{\code nf-config --has-nc4} to check if the
The {\file nc-config} utility program is used to determine the appropriate
compile and link flags for compilation.
Use the command
\command{\code nc-config --version} to check the version of the installed
Fortran-NetCDF library. It is also required that the NetCDF-4 installation
be compiled with the
NetCDF-4 API enabled. Use \command{\code nc-config --has-nc4} to check if the
installed NetCDF has the NetCDF-4 API enabled.

\vspace{\baselineskip}
Expand Down
3 changes: 3 additions & 0 deletions model/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ mod_*
obj
obj_*
exe
exe_*
tmp
tmp_*
work*
nuopc*.mk
tools/makefile
ftn/makefile
Expand Down
32 changes: 0 additions & 32 deletions model/bin/README.Ifremer

This file was deleted.

22 changes: 0 additions & 22 deletions model/bin/README.NCEP

This file was deleted.

32 changes: 0 additions & 32 deletions model/bin/README.NRL

This file was deleted.

35 changes: 0 additions & 35 deletions model/bin/README.UKMO

This file was deleted.

51 changes: 0 additions & 51 deletions model/bin/README.UoM

This file was deleted.

Loading

0 comments on commit 4805265

Please sign in to comment.