Resource Menu


posted by Gregorio Suino at Apr 22, 2016 12:55 PM
Quote
I succeeded in writing a working script in order to run simulations using "qsub" queue manager:


#!/bin/bash

#$ -N job_name #$ -pe core_number #$ -cwd #$ -o log.out #$ -e err.err

START_POINT=$PWD ###CMD_LINE=`dirname $0` ###cd ${CMD_LINE} export LD_LIBRARY_PATH=./dependencies/thirdparty/jre-1.6.0_22-linux64b/lib/amd64/xawt:$LD_LIBRARY_PATH NOW=`date +%s`

PATH_CORRECTED=$START_POINT"/path/to/your/project.spis5"

./dependencies/thirdparty/jre-1.6.0_22-linux64b/bin/java -Xmx8192M -jar -Dspis.timestamp=$NOW -Dlogback.configurationFile=resources/logging/logback-headless.xml -Dfelix.config.properties=file:resources/felix/config.properties -Dactivate3DViews=true -Dorg.keridwen.config=./resources/org-spis-science-linux64b.properties -Dorg.keridwen.headless=true -Dorg.spis.batch.project.path=$PATH_CORRECTED dependencies/thirdparty/felix-4.2.1-patched/felix.jar

exit 0


Thanks for your help.

GS