From 1cbf6228de134c9bf299100aa5d04b00eec4b855 Mon Sep 17 00:00:00 2001 From: Christoph Knote Date: Fri, 23 Sep 2022 09:13:17 +0200 Subject: [PATCH] Do not ignore profile.bash recursively --- .gitignore | 2 +- machine_profiles/alcc_spack/profile.bash | 25 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 machine_profiles/alcc_spack/profile.bash diff --git a/.gitignore b/.gitignore index 313c07a..056cde5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -profile.bash +./profile.bash **.DS_Store **/__pycache__ \ No newline at end of file diff --git a/machine_profiles/alcc_spack/profile.bash b/machine_profiles/alcc_spack/profile.bash new file mode 100644 index 0000000..8b294f6 --- /dev/null +++ b/machine_profiles/alcc_spack/profile.bash @@ -0,0 +1,25 @@ +# --- Modules and other things --- + +module load wrf wrf-chem wps nco netcdf-c netcdf-fortran anthro_emis fire_emis megan_bio_emiss mozbc wesely-exo_coldens python gdal py-requests py-cdsapi py-cartopy py-matplotlib py-netcdf4 py-numpy py-pyproj py-rasterio py-scipy py-shapely py-simplekml py-xarray py-pyshp py-pandas + +ulimit -s unlimited + +# --- MPI settings --- + +mpiCommandPre="mpirun /usr/bin/time -v" +mpiCommandMain="mpirun -mca pml ucx -mca coll ^hcoll -x UCX_TLS=tcp,shm -x UCX_NET_DEVICES=eth5 /usr/bin/time -v" +mpiCommandReal=${mpiCommandPre} + +# --- Batch system --- + +# argument to submit a job in a held state +batchHoldArgument="--hold" +# command to release a held job +batchReleaseCommand="scontrol release" +# command to submit jobs to the queueing system +batchSubmitCommand=sbatch +# dependency argument for chaining runs upon submission +batchDepArgument="--dependency=afterok:__id__" +# sed command ("used as s/__command/\1/") to retrieve job run PID upon +# submission with $batchSubmitCommand +batchPidSedCommand="Submitted batch job \(.*\)" -- GitLab