#!/bin/csh

if ($NANOTILER_HOME == "") then
    echo "NANOTILER_HOME environment variable is not defined!"
    exit
endif

# echo "1: ${1} 2: ${2} 3:${3} 4:${4} 5:${5} 6:${6} 7:${7} 8:${8} 9:${9}"

set JAR=$NANOTILER_HOME/jar
set MEMORY=1500m
java -Dpid=$$ -ea -D$NANOTILER_HOME -Xmx$MEMORY -cp $NANOTILER_HOME/classes:$JAR/printf.jar:$JAR/Jama-1.0.2.jar:$JAR/spline.jar:$JAR/testng-5.2-jdk15.jar:. rnadesign.designapp.NanoTilerScripter $1 $2 $3 $4 $5 $6 $7 $8 $9 $10


#-ea = enable assertions
