trun.sh - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
 (HTM) git clone git://src.adamsgaard.dk/cosmo
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       trun.sh (524B)
       ---
            1 #!/bin/bash
            2 
            3 ## run.sh
            4 #  This script must run on the webserver. It launches a Matlab session which
            5 #  should continue running, until the end of days or the next reboot, whatever
            6 #  comes first.
            7 
            8 UNAMESTR=`uname`
            9 if [[ "$UNAMESTR" == 'Darwin' ]]; then # OS X
           10     matlabbin=/Applications/MATLAB_R2015a.app/bin/matlab
           11 else # Linux
           12     matlabbin=/usr/local/MATLAB/R2015a/bin/matlab
           13 fi
           14 
           15 $matlabbin -nodesktop -nosplash -nodisplay \
           16     -r "run('file_scanner_mcmc_starter.m')"
           17     #-nojvm -r "run('file_scanner_mcmc_starter.m')"