~ubuntu-branches/debian/stretch/adios/stretch

« back to all changes in this revision

Viewing changes to utils/skel/etc/templates/submit_sith.tmpl

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2014-06-16 23:06:38 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20140616230638-5a0z7ylxx8i0edrg
Tags: 1.7.0-1
* New upstream release.
* Add adios.pc pkgconfig file. adios_config now uses this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#import math
 
2
#!/bin/bash
 
3
# Submission script for the $target target
 
4
# To make changes to this file, edit the appropriate submit_<target>.tpl file in ~/.skel/templates/
 
5
 
 
6
#PBS -A $account
 
7
#PBS -N $job_name
 
8
#PBS -j oe
 
9
#PBS -l walltime=$walltime,nodes=#echo "%d" % (int (math.ceil( (float($bpy.get_num_procs()) / 32.0) ) ) )#:ppn=32
 
10
#PBS -l gres=widow2
 
11
 
 
12
cd \$PBS_O_WORKDIR
 
13
 
 
14
date
 
15
 
 
16
 
 
17
for i in {1..$iteration_count}
 
18
do
 
19
echo $bpy.get_method() 
 
20
##dpre_rm
 
21
rm -rf out*
 
22
./set_method.sh $bpy.get_method() ${project}_skel.xml.in ${project}_skel.xml 
 
23
mpirun -n $bpy.get_num_procs() $executable
 
24
mv skel_time.xml ${project}_skel_time_\${PBS_JOBID}_\${i}.xml
 
25
##dpost_rm
 
26
done
 
27
 
 
28
 
 
29