-
Notifications
You must be signed in to change notification settings - Fork 0
/
slurm.sl
45 lines (31 loc) · 1.04 KB
/
slurm.sl
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
#!/bin/sh
#*******************************************************************************
# Slurm tool script for iadd
# Version for tool: mesa_binary
#*******************************************************************************
# Slurm options
# Job name
#SBATCH -J mesa_binary
# Run on partition
#SBATCH -p iadd
# Number of cores
#SBATCH --ntasks=1
# Maximum wall clock time
#SBATCH --time=00:30:00
# Write stdout/stderr to this file
#SBATCH -o stdout
# Export environment to job
#SBATCH --export=ALL
#*******************************************************************************
# Script commands
echo beginning run at `date`
perl ddr-sse.pl
echo finishing run at `date`
echo generating movie at `date`
mencoder mf://output/hr*.png -mf fps=30 -ovc x264 -oac copy -of lavf -o output/simulation.mp4
echo finishing movie at `date`
# create directory tree listing for output directory
cd output
tree -H '.' -L 1 --noreport --charset utf-8 -o index.html
#*******************************************************************************
# Done.