Commit d41898d3 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 🐦

fix typo in script and remove redirects from maven (breaks on cluster)

parent c4f5947e
Pipeline #2347 failed with stages
in 45 seconds
......@@ -26,9 +26,8 @@ export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
module load maven
mkdir -p target/
mkdir -p setup/
echo "building jar..."
mvn clean package > target/build.out 2> target/build.err
mvn clean package
if [[ ! -f $JAR_FILE ]];
then
echo "could not find jar!"
......@@ -38,6 +37,7 @@ if [[ ! -f $JAR_FILE ]];
# setup the competition
##
echo "doing setup..."
rm -r setup
mkdir -p setup
java -cp $JAR_FILE com.fossgalaxy.comet.fireworks.f2019.CompetitionSetup $COMET_USER $COMET_PASS > setup/setup.out 2> setup/setup.err
echo "[OK] setup complete!"
......@@ -71,7 +71,7 @@ cat >${track_dir}/experiment.job <<END
export MALLOC_ARENA_MAX=4
export FIREWORKS_RUN_COUNT=1
vmArgs="-Xmx1024m -XX:ParallelGCThreads=1"
source env
source ./env
args=\$(awk NR==\$SGE_TASK_ID args.txt)
java \$vmArgs -cp setup.jar $RUNNER_CLASS \$args
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment