-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Repositories #681
Merged
Merged
Update Repositories #681
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
59b4b17
update repos, add option to ldas_setup
biljanaorescanin fd5c9e4
Update Baselibs in CI
mathomp4 4b157b4
Update to ESMA_env v4.20.5
mathomp4 d5674fb
Add code for Milan
mathomp4 06bde97
Some update for the readme
mathomp4 c911d23
relaxing SBATCH constraints (ldas_setup)
gmao-rreichle 2006fa2
milan nodes are on SLES15 cas and sky on SLES12
biljanaorescanin 253634a
Merge branch 'develop' into feature/borescan_update_components
biljanaorescanin 20067ae
Merge branch 'develop' into feature/borescan_update_components
biljanaorescanin f98cee7
removed code and text related to haswell nodes (extinct) and milan no…
gmao-rreichle 1963bc2
update repos
biljanaorescanin 6ca92d1
update baselibs
biljanaorescanin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ This document explains how to build, set up, and run the GEOS land modeling and | |
|
||
## How to Build GEOSldas | ||
|
||
### Step 1: Load the Build Modules | ||
### Step 1: Load the Build Modules | ||
|
||
Load the `GEOSenv` module provided by the GMAO Software Infrastructure team. It contains the latest `git`, `CMake`, and `mepo` modules and must be loaded in any interactive window that is used to check out and build the model. | ||
|
||
|
@@ -13,7 +13,7 @@ module use -a (path) | |
module load GEOSenv | ||
``` | ||
|
||
where `(path)` depends on the computer and operating system: | ||
where `(path)` depends on the computer and operating system: | ||
|
||
| System | Path | | ||
| ------------- |---------------------------------------------------| | ||
|
@@ -28,7 +28,7 @@ For development work, clone the _entire_ repository and use the `develop` branch | |
``` | ||
git clone -b develop [email protected]:GEOS-ESM/GEOSldas.git | ||
``` | ||
For science runs, you can also obtain a specific tag or branch _only_ (as opposed to the _entire_ repository), e.g.: | ||
For science runs, you can also obtain a specific tag or branch _only_ (as opposed to the _entire_ repository), e.g.: | ||
``` | ||
git clone -b v17.9.1 --single-branch [email protected]:GEOS-ESM/GEOSldas.git | ||
``` | ||
|
@@ -40,13 +40,25 @@ To build the model in a single step, do the following: | |
``` | ||
cd ./GEOSldas | ||
parallel_build.csh | ||
``` | ||
from a head node. Doing so will check out all the external repositories of the model (albeit only on the first run, [see subsection on mepo below](#mepo)!) and build the model. When done, the resulting model build will be found in `build/` and the installation will be found in `install/`, with setup scripts like `ldas_setup` in `install/bin`. | ||
``` | ||
from a head node. Doing so will check out all the external repositories of the model (albeit only on the first run, [see subsection on mepo below](#mepo)!) and build the model. When done, the resulting model build will be found in `build-SLES12/` and the installation will be found in `install-SLES12/`, with setup scripts like `ldas_setup` in `install-SLES12/bin`. | ||
|
||
To obtain a build that is suitable for debugging, use `parallel_build.csh -debug`, which will build in `build-Debug/` and install in `install-Debug/`. There is also an option for aggressive optimization. For details, see [GEOSldas Wiki](https://github.com/GEOS-ESM/GEOSldas/wiki). | ||
To obtain a build that is suitable for debugging, use `parallel_build.csh -debug`, which will build in `build-Debug-SLES12/` and install in `install-Debug-SLES12/`. There is also an option for aggressive optimization. For details, see [GEOSldas Wiki](https://github.com/GEOS-ESM/GEOSldas/wiki). | ||
|
||
See below for how to build the model in multiple steps. | ||
|
||
#### Running on Milans at NCCS | ||
|
||
By default, `parallel_build.csh` will build on SLES12 nodes at discover (either Skylake or Cascade Lake). However, Milan nodes were | ||
recently installed at discover, which use SLES15 as their operating system. Because of this OS difference, if you want to run on the | ||
Milans, you must build on the Milans. To do so you can run `parallel_build.csh` with the `-mil` flag, e.g.: | ||
|
||
``` | ||
parallel_build.csh -mil | ||
``` | ||
|
||
This will by default build in `build-SLES15` and install to `install-SLES15`. | ||
|
||
--- | ||
|
||
## How to Set Up (Configure) and Run GEOSldas | ||
|
@@ -57,7 +69,7 @@ a) Set up the job as follows: | |
cd (build_path)/GEOSldas/install/bin | ||
source g5_modules [for bash or zsh: source g5_modules.[z]sh] | ||
./ldas_setup setup [-v] (exp_path) ("exe"_input_filename) ("bat"_input_filename) | ||
``` | ||
``` | ||
|
||
where | ||
|
||
|
@@ -70,14 +82,14 @@ where | |
|
||
The three arguments for `ldas_setup` are positional and must be ordered as indicated above. | ||
|
||
The latter two files contain essential information about the experiment setup. | ||
The latter two files contain essential information about the experiment setup. | ||
Sample files can be generated as follows: | ||
``` | ||
``` | ||
ldas_setup sample --exeinp > YOUR_exeinp.txt | ||
ldas_setup sample --batinp > YOUR_batinp.txt | ||
``` | ||
|
||
Edit these sample files following the examples and comments within the sample files. | ||
Edit these sample files following the examples and comments within the sample files. | ||
|
||
The ldas_setup script creates a run directory and other directories at: | ||
`[exp_path]/[exp_name]` | ||
|
@@ -156,7 +168,7 @@ and CMake will install there. | |
``` | ||
make -j6 install | ||
``` | ||
If you are at NCCS, you **should** run `make -j6 install` on an interactive _compute_ node. | ||
If you are at NCCS, you **should** run `make -j6 install` on an interactive _compute_ node. | ||
|
||
|
||
## Contributing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this would need to be something like cd (build_path)/GEOSldas/install-SLES12/bin
Let's fix it when we include the SLES15 vs SLES12 instructions in #693