Blame view

utils/run_preypredator.sh 290 Bytes
89f70c1ec   glaville   import current mc...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #!/bin/bash
  
  CLASSPATH="build/jar/mcmas.jar:lib/*"
  
  LOGLEVEL=${LOGLEVEL:-INFO}
  
  #echo $LOGLEVEL
  
  if [[ `hostname` =~ "mesocomte" ]]; then
  	JAVA_OPTIONS="-Xmx8192m"
  else
  	JAVA_OPTIONS=""
  fi
  
  java $JAVA_OPTION -Dloglevel=$LOGLEVEL -Xss256m -classpath $CLASSPATH preypredator.PreyPredator2 $@