File: runProtTestHPC

package info (click to toggle)
prottest 3.4.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,840 kB
  • ctags: 2,031
  • sloc: java: 15,026; xml: 64; sh: 40; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
if [ $# -lt 1 ] ; then
    echo "Usage: $0 <# of cores> <datafiles>"
    exit 1
fi

if [ ! -e machines ] ; then
    cat <<EOT
<machines> file cannot  be found. Please follow the mpj documentation at
   http://mpjexpress.blogspot.de/2013/11/installing-configuring-and-using-mpj.html
to create one and start the according services
EOT
    exit 1
fi

export NP=$1
shift
mpjrun -dev niodev -wdir $PWD/ -np $NP -jar /usr/share/java/prottest.jar  $*