Skip to content

Commit

Permalink
Add frontier recommendations.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Oct 23, 2023
1 parent 01c5e36 commit 8be1756
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions documentation/frontier.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Tips for running on OLCF Frontier

# Recommended configuration

```
max_cores_sim: 56
max_cores_submission: 7168
max_gpus_submission: 256
max_walltime: 2
enable_llvm: false
enable_gpu: true
```

## Recommended template

```
{% extends "frontier.sh" %}
{% block header %}
{{- super () -}}
#SBATCH -C nvme
{% endblock header %}
{% block custom_content %}
echo "Loading software environment."
export GLOTZERLAB_SOFTWARE_ROOT=/mnt/bb/${USER}/software
time srun --ntasks-per-node 1 mkdir ${GLOTZERLAB_SOFTWARE_ROOT}
time srun --ntasks-per-node 1 tar --directory ${GLOTZERLAB_SOFTWARE_ROOT} -xpf ${MEMBERWORK}/mat110/software.tar
source ${GLOTZERLAB_SOFTWARE_ROOT}/variables.sh
{% endblock custom_content %}
{% block body %}
{{- super () -}}
echo "Completed job in $SECONDS seconds"
{% endblock body %}
```

0 comments on commit 8be1756

Please sign in to comment.