-
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.
- Loading branch information
1 parent
b5f2bd7
commit 1e75eb0
Showing
9 changed files
with
326 additions
and
53 deletions.
There are no files selected for viewing
This file contains 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 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 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,60 @@ | ||
machine = "chinook" | ||
|
||
[MPI] | ||
|
||
mpido = "mpirun -np {cores} -machinefile ./nodes_$SLURM_JOBID" | ||
|
||
[scheduler] | ||
|
||
name = "SLRUM" | ||
submit = "sbatch" | ||
job_id = "SLURM_JOBID" | ||
|
||
[filesystem] | ||
|
||
work_dir = "SLURM_SUBMIT_DIR" | ||
|
||
[partitions] | ||
|
||
default = "new" | ||
|
||
[partitions.old] | ||
|
||
name = "old-chinook" | ||
cores_per_node = 24 | ||
queues = ["t1standard", "t1small", "t2standard", "t2small"] | ||
|
||
[partitions.new] | ||
|
||
name = "new-chinook" | ||
cores_per_node = 40 | ||
queues = ["t1standard", "t1small", "t2standard", "t2small"] | ||
|
||
[job] | ||
|
||
header = """#!/bin/sh | ||
#SBATCH --partition={queue} | ||
#SBATCH --ntasks={cores} | ||
#SBATCH --tasks-per-node={ppn} | ||
#SBATCH --time={walltime} | ||
#SBATCH --mail-type=BEGIN | ||
#SBATCH --mail-type=END | ||
#SBATCH --mail-type=FAIL | ||
#SBATCH --output=pism.%j | ||
module list | ||
umask 007 | ||
cd $SLURM_SUBMIT_DIR | ||
# Generate a list of compute node hostnames reserved for this job, | ||
# this ./nodes file is necessary for slurm to spawn mpi processes | ||
# across multiple compute nodes | ||
srun -l /bin/hostname | sort -n | awk '{{print $2}}' > ./nodes_$SLURM_JOBID | ||
ulimit -l unlimited | ||
ulimit -s unlimited | ||
ulimit | ||
""" |
This file contains 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,30 @@ | ||
machine = "debug" | ||
|
||
[MPI] | ||
|
||
mpido = "mpirun -np {cores}" | ||
|
||
[scheduler] | ||
|
||
name = "shell" | ||
submit = "sh" | ||
job_id = "" | ||
|
||
[filesystem] | ||
|
||
work_dir = "PWD" | ||
|
||
[partitions] | ||
|
||
default = "debug" | ||
|
||
[partitions.debug] | ||
|
||
name = "debug" | ||
|
||
[job] | ||
|
||
header = """ | ||
""" |
This file contains 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,59 @@ | ||
machine = "pleiades" | ||
|
||
[partitions] | ||
|
||
default = "sandy_bridge" | ||
|
||
[partitions.broadwell] | ||
|
||
name = "bro" | ||
cores_per_node = 28 | ||
queues = ["debug", "normal", "long"] | ||
|
||
[partitions.haswell] | ||
|
||
name = "has" | ||
cores_per_node = 24 | ||
queues = ["debug", "normal", "long"] | ||
|
||
[partitions.ivy_bridge] | ||
|
||
name = "ivy" | ||
cores_per_node = 20 | ||
queues = ["debug", "normal", "long"] | ||
|
||
[partitions.sandy_bridge] | ||
|
||
name = "san" | ||
cores_per_node = 16 | ||
queues = ["debug", "normal", "long"] | ||
|
||
[MPI] | ||
|
||
mpido = "mpiexec -n {cores}" | ||
|
||
[scheduler] | ||
|
||
name = "QSUB" | ||
submit = "qusb" | ||
job_id = "PBS_JOBID" | ||
|
||
[filesystem] | ||
|
||
work_dir = "PBS_O_WORKDIR" | ||
|
||
[job] | ||
|
||
header = """#PBS -S /bin/bash | ||
#PBS -N cfd | ||
#PBS -l walltime={walltime} | ||
#PBS -m e | ||
#PBS -W group_list={gid} | ||
#PBS -q {queue} | ||
#PBS -lselect={nodes}:ncpus={ppn}:mpiprocs={ppn}:model={partition} | ||
#PBS -j oe | ||
module list | ||
cd $PBS_O_WORKDIR | ||
""" |
Oops, something went wrong.