Skip to content

Commit

Permalink
hpc init script
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenhariri committed Jul 28, 2023
1 parent a620838 commit 15e0d99
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions hpc.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# SLRUM job script

echo "Job ID: $SLURM_JOB_ID"

module purge
module load Python/3.10.8-GCCcore-12.2.0

DIRNAME="$(basename "$(pwd)")"

cp -pR $PWD $PFSDIR/
cd $PFSDIR/$DIRNAME

make switch-env hpc
make env-local
make test
make check
make pia

# Run Makefile targets

0 comments on commit 15e0d99

Please sign in to comment.