Skip to content
Snippets Groups Projects
setup.sh 703 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/bash
    
    # Setup script for this ROC setup
    # Author: Sylvester Joosten <sjoosten@anl.gov>
    
    ## Location of the coda install
    export CODA="/b010lab/opt/coda/3.07/"
    
    ## Location of the JDK
    ## Should be set such that $JAVA_HOME/bin will point to the java bin directory.
    #export JAVA_HOME="/usr"
    
    #export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
    export JAVA_HOME="/usr/local/opt/oracle_jdk_1.8.0_221"
    
    
    ## Location of the COOL database directory (for Afecs Run Control)
    export COOL_HOME="/projects/controls/coda/dummy_setup/cool"
    
    ## Name of the COOL database (experiment ID) and user (session)
    export EXPID="DUMMY_SETUP"
    export SESSION="mep"
    
    ## Now source the full CODA setup
    source "$CODA/setup.sh"