forked from goncabakar/GMVAE-pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjobscript.sh
52 lines (48 loc) · 1.94 KB
/
jobscript.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
#
# CompecTA (c) 2017
#
# You should only work under the /scratch/users/<username> directory.
#
# Example job submission script
#
# TODO:
# - Set name of the job below changing "Test" value.
# - Set the requested number of tasks (cpu cores) with --ntasks parameter.
# - Select the partition (queue) you want to run the job in:
# - short : For jobs that have maximum run time of 120 mins. Has higher priority.
# - long : For jobs that have maximum run time of 7 days. Lower priority than short.
# - longer: For testing purposes, queue has 31 days limit but only 3 nodes.
# - Set the required time limit for the job with --time parameter.
# - Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds"
# - Put this script and all the input file under the same directory.
# - Set the required parameters, input and output file names below.
# - If you do not want mail please remove the line that has --mail-type
# - Put this script and all the input file under the same directory.
# - Submit this file using:
# sbatch examle_submit.sh
# -= Resources =-
#
#SBATCH --job-name=job
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --partition=mid
#SBATCH --exclude=be[01-14],da[01-04]
#SBATCH --mem=25000
#SBATCH --gres=gpu:1
#SBATCH --time=1-0
#SBATCH --output=out-%j.out
#SBATCH --error=error-%j.err
#SBATCH --mail-type=ALL
#SBATCH [email protected]
################################################################################
##################### !!! DO NOT EDIT BELOW THIS LINE !!! ######################
################################################################################
echo "Setting stack size to unlimited..."
ulimit -s unlimited
ulimit -l unlimited
ulimit -a
echo
echo "==============================================================================="
nvidia-smi
python main.py -x 200 -b 1000000