diff options
Diffstat (limited to 'Donjon/data/Reflector_beavrs_DF-RT.save')
| -rwxr-xr-x | Donjon/data/Reflector_beavrs_DF-RT.save | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Donjon/data/Reflector_beavrs_DF-RT.save b/Donjon/data/Reflector_beavrs_DF-RT.save new file mode 100755 index 0000000..a8ebff4 --- /dev/null +++ b/Donjon/data/Reflector_beavrs_DF-RT.save @@ -0,0 +1,39 @@ +#!/bin/sh +# +if [ $# = 0 ] +then +echo "usage: Reflector_beavrs_DF-RT.save directory" 1>&2 +exit 1 +fi +echo access Reflector_beavrs_DF-RT.save +MACH=`uname -s` +Sysx="`echo $MACH | cut -b -6`" +if [ $Sysx = "CYGWIN" ]; then + export MACH=`uname -o` +elif [ $Sysx = "AIX" ]; then + export MACH=`uname -s` +else + export MACH=`uname -sm | sed 's/[ ]/_/'` +fi +if [ -d $1/../PyGan/lib/ ]; then + pyv=`echo $(python3 --version) | cut -d. -f2` + echo "Use PyGan with python version= 3."$pyv + ln -s $1/data/Reflector_beavrs_DF-NEM_proc/VAL_CB1_plot_RT.py . + Rundir=$PWD + cd "$1" + if [ -d ../PyGan/lib/"$MACH"_nvidia ]; then + export COMPILER="NVTOOLS" + elif [ -d ../PyGan/lib/"$MACH"_llvm ]; then + export COMPILER="LLVMTOOLS" + elif [ -d ../PyGan/lib/"$MACH"_intel ]; then + export COMPILER="INTELTOOLS" + fi + export PYTHONPATH="$(python3 ../script/set_pythonpath.py)" + echo "PYTHONPATH=" $PYTHONPATH + cd "$Rundir" + python3 VAL_CB1_plot_RT.py + ls -l + mv *.eps $1/"$MACH" +fi +mv reflector_beavrs_DF-RT_mpo.hdf $1/"$MACH" +echo "Reflector_beavrs_DF-RT.save completed" |
