Skip to content

Commit

Permalink
Update instructions to compile UFS_UTILS standalone (#133)
Browse files Browse the repository at this point in the history
Update of the documentation on how to compile UFS_UTILS standalone.
  • Loading branch information
climbfuji authored Aug 13, 2020
1 parent 4404ad8 commit 77d0099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/chgres_cube.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ If the NCEPLIBS have been installed and the user wants to compile chgres_cube ag
* set cmake compiler - export FC=ifort (if ifort is the compiler chosen)
* cd to where you checked out the UFS_Utils
* mkdir build and cd build
* cmake .. -DCMAKE_INSTALL_PREFIX=/path/where/you/want/the/code/installed
* cmake .. -DCMAKE_INSTALL_PREFIX=/path/where/you/want/the/code/installed -DCMAKE_PREFIX_PATH=/path/to/nceplibs/installed
* make -j x (where x is a number that can be chosen to speed up the make, usually 8)
* make install
* if you do get errors that cmake cannot find "FindNETCDF" or "FindESMF", run: git submodule update --init --recursive

************************************************
Program inputs and outputs
Expand Down

0 comments on commit 77d0099

Please sign in to comment.