From 7dfcc480ba1e19bd3232349fc733caef94034292 Mon Sep 17 00:00:00 2001 From: stainer_t Date: Mon, 8 Sep 2025 13:48:49 +0200 Subject: Initial commit from Polytechnique Montreal --- .../Reflector_beavrs_DF-RT_Jeff3p1SHEM295_mco.save | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295_mco.save (limited to 'Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295_mco.save') diff --git a/Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295_mco.save b/Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295_mco.save new file mode 100755 index 0000000..2a1829f --- /dev/null +++ b/Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295_mco.save @@ -0,0 +1,39 @@ +#!/bin/sh +# +if [ $# = 0 ] +then +echo "usage: Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295_mco.save directory" 1>&2 +exit 1 +fi +echo access Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295_mco.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_Jeff3p1p1SHEM295_mco.txt $1/"$MACH" +echo "Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295_mco.save completed" -- cgit v1.2.3