From 1fc5d0fbe98b2bcda02bb1529868858398273620 Mon Sep 17 00:00:00 2001 From: Lukas Kugler <lukas.kugler@univie.ac.at> Date: Sat, 12 Oct 2024 15:23:49 +0000 Subject: [PATCH] Compile tips --- DART.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 DART.md diff --git a/DART.md b/DART.md new file mode 100644 index 0000000..453e3ab --- /dev/null +++ b/DART.md @@ -0,0 +1,26 @@ +# Data Assimilation Research Testbed + + +## Compiling on jet +(as of 2024-10-12) + +Go into the `DART/build_templates` folder. +Copy a template file, e.g. `mkmf.template.rttov.gfortran` to a file named `mkmf.template`. + +Load modules. +```sh +module purge +module load gcc-stack/12.2.0 rttov/v13.2-gcc-12.2.0 +``` + +Set variables within `mkmf.template`: +```sh +HDF5 = /jetfs/spack/opt/spack/linux-rocky8-skylake_avx512/gcc-12.2.0/hdf5-1.10.10-cnot2wbq45guuozot6n4j3fjbg6tmwyy +RTTOV = /jetfs/manual/rttov/v13.2-gcc-12.2.0/ +NETCDF = /jetfs/spack/opt/spack/linux-rocky8-skylake_avx512/gcc-12.2.0/netcdf-fortran-4.6.1-eicuxhegbfmjwqfnu35pqyvlpxoqaowr +``` + +Go to folder `DART/models/wrf/work`. +Execute `./quickbuild`. +The build process was successful when programs like `filter` were built and can be seen in this folder. + -- GitLab