This repository was archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated symba_mars_disk example input files and added bell cluster ru…
…n script.
- Loading branch information
Showing
2 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| #!/bin/zsh -l | ||
| #SBATCH -A daminton | ||
| #SBATCH --nodes=1 | ||
| #SBATCH --ntasks=1 | ||
| #SBATCH --time=14-00:00:00 | ||
| #SBATCH --ntasks-per-node=1 | ||
| #SBATCH --cpus-per-task=12 | ||
| #SBATCH --job-name=high_high | ||
| #SBATCH --no-requeue | ||
| #SBATCH -o %x.out | ||
| #SBATCH -e %x.err | ||
| cd $SLURM_SUBMIT_DIR | ||
|
|
||
| module load utilities monitor | ||
| #module load gcc/10.2.0 | ||
| #netcdf-fortran/4.5.3 | ||
|
|
||
| # track per-code CPU load | ||
| monitor cpu percent --all-cores >cpu-percent.log & | ||
| CPU_PID=$! | ||
|
|
||
| # track memory usage | ||
| monitor cpu memory >cpu-memory.log & | ||
| MEM_PID=$! | ||
|
|
||
|
|
||
| export OMP_NUM_THREADS=12 | ||
| export KMP_STACKSIZE=2G | ||
| ./swiftest_driver symba param.in | ||
|
|
||
| # shut down the resource monitors | ||
| kill -s INT $CPU_PID $MEM_PID | ||
|
|