Strabon

changeset 773:20246a8b5544 temporals

fix
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Fri Dec 07 19:03:05 2012 +0200 (2012-12-07)
parents 069e5acada90
children 527cfbdcf5a3
files runtime/src/main/java/eu/earthobservatory/utils/ExperimentsReal.java scripts/experiments/exp scripts/experiments/setenv scripts/strabon
line diff
     1.1 --- a/runtime/src/main/java/eu/earthobservatory/utils/ExperimentsReal.java	Fri Dec 07 18:13:20 2012 +0200
     1.2 +++ b/runtime/src/main/java/eu/earthobservatory/utils/ExperimentsReal.java	Fri Dec 07 19:03:05 2012 +0200
     1.3 @@ -24,7 +24,7 @@
     1.4  import org.openrdf.repository.RepositoryException;
     1.5  
     1.6  
     1.7 -import eu.earthobservatory.runtime.monetdb.Strabon;
     1.8 +import eu.earthobservatory.runtime.postgis.Strabon;
     1.9  
    1.10  public class ExperimentsReal {
    1.11  	
     2.1 --- a/scripts/experiments/exp	Fri Dec 07 18:13:20 2012 +0200
     2.2 +++ b/scripts/experiments/exp	Fri Dec 07 19:03:05 2012 +0200
     2.3 @@ -2,8 +2,6 @@
     2.4  INITPATH="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
     2.5  source $INITPATH/setenv
     2.6  
     2.7 -#DBNAME=$1
     2.8 -
     2.9  cd $LOG_PATH;
    2.10  dirs=`ls -1d $DBNAME* | sort | tail -n 1`;
    2.11  maxdir=${dirs/$DBNAME-/''};
    2.12 @@ -14,6 +12,8 @@
    2.13  
    2.14  mkdir $DBNAME-$dir;
    2.15  
    2.16 +STRABONEXP_PATH="$INITPATH/../../runtime/target/"
    2.17 +
    2.18  cd $STRABONEXP_PATH;
    2.19  CPATH=$(JARS=(*.jar); IFS=:; echo "${JARS[*]}")
    2.20  java -Xmx10G -cp $CPATH eu.earthobservatory.utils.ExperimentsReal  $HOST $PORT $DBNAME $USERNAME $PASSWORD $LOG_PATH/$DBNAME-$dir 1> $LOG_PATH/$DBNAME-$dir/$DBNAME.out 2>$LOG_PATH/$DBNAME-$dir/$DBNAME.err
     3.1 --- a/scripts/experiments/setenv	Fri Dec 07 18:13:20 2012 +0200
     3.2 +++ b/scripts/experiments/setenv	Fri Dec 07 19:03:05 2012 +0200
     3.3 @@ -1,7 +1,8 @@
     3.4  #!/bin/bash
     3.5  export DBTYPE=strabon #monet, postgres, rdf3x, strabon, naive
     3.6 +export DBNAME='usgov_Periods-Triples'
     3.7  export HOST='localhost'
     3.8  export PORT='5432'
     3.9 -export USERNAME='strabon'
    3.10 -export PASSWORD='strabon'
    3.11 -export LOG_PATH="/home/strabon/experiments/logs-$DBTYPE"
    3.12 +export USERNAME='postgres'
    3.13 +export PASSWORD='postgres'
    3.14 +export LOG_PATH="${HOME}/logs-$DBTYPE"
     4.1 --- a/scripts/strabon	Fri Dec 07 18:13:20 2012 +0200
     4.2 +++ b/scripts/strabon	Fri Dec 07 19:03:05 2012 +0200
     4.3 @@ -72,7 +72,7 @@
     4.4  MORE_MEMORY="-Xms512M -Xmx1024M"
     4.5  
     4.6  # much more memory
     4.7 -MMORE_MEMORY="-Xms512M -Xmx1536M"
     4.8 +MMORE_MEMORY="-Xms8192M -Xmx16384M"
     4.9  
    4.10  # flag for not setting the memory limit more than once
    4.11  MEMORY_INCREASED=false