Skip to content

Commit e7b87b2

Browse files
committed
pass options to clara-shell (which overrides JAVA_OPTS)
1 parent 7d8c177 commit e7b87b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation/advanced-tests/run-advanced-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ esac
5050
if [ $? != 0 ] ; then echo "wget validation files failure" ; exit 1 ; fi
5151
tar -zxvf twoTrackEvents_809_raw.evio.tar.gz
5252

53-
export JAVA_OPTS=-Djava.util.logging.config.file=../../common-tools/clas-logging/src/main/resources/org/jlab/logging/debug.properties
53+
export JAVA_OPTS="-Djava.util.logging.config.file=$PWD/../../etc/logging/debug.properties"
5454

5555
# run decoder
5656
$COAT/bin/decoder -t -0.5 -s 0.0 -i ./twoTrackEvents_809_raw.evio -o ./twoTrackEvents_809.hipo -c 2
@@ -59,7 +59,7 @@ $COAT/bin/decoder -t -0.5 -s 0.0 -i ./twoTrackEvents_809_raw.evio -o ./twoTrackE
5959
echo "set inputDir $PWD/" > cook.clara
6060
echo "set outputDir $PWD/" >> cook.clara
6161
echo "set threads 1" >> cook.clara
62-
echo "set javaMemory 2" >> cook.clara
62+
echo "set javaOptions \"-Xmx2g -Djava.util.logging.config.file=$PWD/../../etc/logging/debug.properties\"" >> cook.clara
6363
echo "set session s_cook" >> cook.clara
6464
echo "set description d_cook" >> cook.clara
6565
ls twoTrackEvents_809.hipo > files.list

0 commit comments

Comments
 (0)