Created
August 11, 2020 04:55
-
-
Save taless474/dc94adfd39928f30a35e4356d2fb563c to your computer and use it in GitHub Desktop.
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
in src.sh we have: | |
#!/bin/bash | |
#SBATCH -N 4 | |
#SBATCH -n 4 | |
#SBATCH -p marvin | |
#SBATCH --time=72:00:00 | |
#SBATCH --job-name=conv_%j | |
#SBATCH --output=res-%j.txt | |
#SBATCH --error=error-%j.txt | |
module purge | |
module load python/3.8.2 pmix/3.1.5 clang/10.0.0 cmake/3.16.4 papi/5.7.0 blaze_tensor/master hwloc/2.2.0 ucx/1.7.0 | |
module load boost/1.73.0-release blaze/master pybind11/2.4.3 | |
srun dist_conv1d_4_test | |
OR: | |
#!/bin/bash | |
#SBATCH -N 4 | |
#SBATCH -n 4 | |
#SBATCH -p marvin | |
#SBATCH --time=72:00:00 | |
#SBATCH --job-name=conv_%j | |
#SBATCH --output=res-%j.txt | |
#SBATCH --error=error-%j.txt | |
activate pyconda | |
srun python conv.py | |
and we do this: | |
sbatch ~/.../src.sh | |
in the directory that our executable exists |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment