-
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
Showing
3 changed files
with
14 additions
and
14 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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH -N 4 # Number of nodes | ||
#SBATCH -N 1 # Number of nodes | ||
#SBATCH -J PINN # job name | ||
#SBATCH -L SCRATCH # job requires SCRATCH files | ||
#SBATCH -A m2859_g # allocation | ||
#SBATCH -C gpu | ||
#SBATCH -q regular | ||
#SBATCH -t 00:10:00 | ||
#SBATCH -t 00:05:00 | ||
#SBATCH --gpus-per-node=4 | ||
#SBATCH --ntasks-per-gpu=1 | ||
#SBATCH --gpus 16 | ||
#SBATCH --gpus 4 | ||
#SBATCH -o %j.out | ||
#SBATCH -e %j.err | ||
|
||
export MASTER_ADDR=$(hostname) | ||
export BATCH_SIZE=8192 | ||
export BATCH_SIZE=512 | ||
export SCRATCH_FOLDER=$SCRATCH/output_PINN/$SLURM_JOB_ID | ||
mkdir -p $SCRATCH_FOLDER; cd $SCRATCH_FOLDER | ||
|
||
echo "jobstart $(date)";pwd | ||
|
||
srun -n 16 -c 32 python $SCRATCH/PINN/main.py --upc --2d --dist --bs $BATCH_SIZE --epochs 5 | ||
srun -n 4 -c 32 python $SCRATCH/PINN/main.py --upc --2d --dist --bs $BATCH_SIZE --epochs 5 | ||
|
||
echo "jobend $(date)";pwd |