summaryrefslogtreecommitdiff
path: root/Donjon/data/Reflector_beavrs_DF-RT.save
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /Donjon/data/Reflector_beavrs_DF-RT.save
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Donjon/data/Reflector_beavrs_DF-RT.save')
-rwxr-xr-xDonjon/data/Reflector_beavrs_DF-RT.save39
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"