Running ADF on NIRD #17
adagj
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
Improvements might involve:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The new atmospheric diagnostics package can be installed using conda. However, using a more recent conda version can lead to extended time (i.e. days) resolving dependencies. A more efficient approach is utilizing the conda module on NIRD. This method bypasses the need for personal conda installation and bashrc modifications, aligning with sigma2's recommendation against adding conda configurations to bashrc. I tested this method by removing my conda installation, and it proved efficient and effective:
$ module load Anaconda3/2022.05
$ mkdir /projects/NS____K/user/conda
$ my_conda_storage=/cluster/projects/NS____K/user/conda
$ export CONDA_PKGS_DIRS=${my_conda_storage}/package-cache
$ git clone https://github.com/NCAR/ADF ADF
$ cd ADF
$ conda env create -f env/conda_environment.yaml
$ git pull
Steps 1 through 5 are necessary only once. Each subsequent time you want to run the ADF diagnostics, you can skip these steps.
For each time you want to run the ADF diagnostics:
7. Activate the environment. The first time you need to log out and in of NIRD. Then:
$ module load Anaconda3/2022.05
$ source ${EBROOTANACONDA3}/bin/activate
$ conda activate adf_v0.11
Running the diagnostics:
./run_adf_diag config_yourconfigname.yaml
To see some examples of the
config_yourconfigname.yaml
file, please have a look at/datalake/NS2345K/adagj/ADFout/config_ada_test.yaml
or/datalake/NS2345K/mvertens/ADF/input_file//config_test_ghgmam4.yaml
For making the diagnostics available for all, please use the folder
/nird/datapeak/NS9560K/www/diagnostics/
. To be set incam_diag_plot_loc
in the config file. Output can be view from https://ns9560k.web.sigma2.no/datapeak/diagnostics/.We recommend to run on the ipcc node in order to have sufficient available memory.
Useful links:
Beta Was this translation helpful? Give feedback.
All reactions