Skip to content

Commit 2ba8c10

Browse files
committed
Sample script for Titan
1 parent 19f2514 commit 2ba8c10

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

work/titan/workflow.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
set -eu
3+
4+
LD_LIBRARY_PATH=/sw/xk6/r/3.3.2/sles11.3_gnu4.9.3x/lib64/R/lib:/opt/java/jdk1.8.0_51/jre/lib/amd64/server:/sw/xk6/r/3.3.2/sles11.3_gnu4.9.3/lib64/R/lib:/sw/xk6/curl/7.30.0/sles11.1_gnu4.3.4/lib:/opt/gcc/4.9.3/snos/lib64
5+
6+
SWIFT=/lustre/atlas2/csc249/proj-shared/sfw/swift-t/stc/bin/swift-t
7+
8+
export PROJECT=CSC249ADOA01
9+
export QUEUE=debug
10+
export TITAN=true
11+
export PPN=2
12+
PROCS=4
13+
14+
$SWIFT -m cray -n $PROCS \
15+
-e LD_LIBRARY_PATH=$LD_LIBRARY_PATH \
16+
workflow.swift

work/titan/workflow.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import io;
2+
printf("HI");

0 commit comments

Comments
 (0)