Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 07:49:33

0001         
0002 
0003 
0004 
0005 
0006 elif [ "$(uname)" == "Darwin" ]; then
0007 
0008     if [ "$arg" == "lrun" ] ; then 
0009 
0010         cd $LOGDIR 
0011         source ${bin}_OUTPUT_DIR.sh || exit 1  
0012         echo $msg lrun mode : using the output directory discerned from the last grab
0013         echo $msg ${bin}_OUTPUT_DIR $${bin}_OUTPUT_DIR
0014 
0015 
0016         opticks_key_remote_dir=$(opticks-key-remote-dir) # eg .opticks/geocache/DetSim0Svc_pWorld_g4live/g4ok_gltf/41c046fe05b28cb70b1fc65d0e6b7749/1
0017         cvd_ver=cvd0/70000
0018         if [ -n "$cfbase" ]; then 
0019             cxsdir=$cfbase/$bin/$cvd_ver
0020         else
0021             cxsdir=$HOME/$opticks_key_remote_dir/CSG_GGeo/$bin/$cvd_ver
0022         fi
0023         if [ ! -d "$cxsdir" ]; then 
0024             echo $msg ERROR no cxsdir : $cxsdir  
0025             exit 1 
0026         fi
0027         geomdir=$cxsdir/$GEOM
0028         if [ ! -d "$geomdir" ]; then 
0029             echo $msg ERROR no geomdir : $geomdir  
0030             exit 1 
0031         fi
0032         export ${bin}_OUTPUT_DIR=$geomdir
0033         echo $msg non-lrun mode : using the output directory defined by script variable GEOM
0034         echo $msg ${bin}_OUTPUT_DIR $${bin}_OUTPUT_DIR
0035 
0036 
0037 
0038 echo LOGDIR : $LOGDIR
0039 if [ -n "$cfbase" ]; then 
0040    echo $msg cfbase $cfbase is defined : are using non-standard geometry 
0041    echo $msg cross section intersects onto non-standard geometry are stored into tmp directories
0042    echo $msg to grab these to laptop use cx tmp_grab.sh 
0043 fi 
0044 
0045 
0046