summaryrefslogtreecommitdiff
path: root/Donjon/data/Reflector_beavrs_DF-RT-SPN.access
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-SPN.access
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Donjon/data/Reflector_beavrs_DF-RT-SPN.access')
-rwxr-xr-xDonjon/data/Reflector_beavrs_DF-RT-SPN.access39
1 files changed, 39 insertions, 0 deletions
diff --git a/Donjon/data/Reflector_beavrs_DF-RT-SPN.access b/Donjon/data/Reflector_beavrs_DF-RT-SPN.access
new file mode 100755
index 0000000..9c5ea1c
--- /dev/null
+++ b/Donjon/data/Reflector_beavrs_DF-RT-SPN.access
@@ -0,0 +1,39 @@
+#!/bin/sh
+if [ $# = 0 ]
+ then
+ echo "usage: Reflector_beavrs_DF-RT-SPN.access directory" 1>&2
+ exit 1
+fi
+MACH=`uname -s`
+Sysx="`echo $MACH | cut -b -6`"
+if [ $Sysx = "CYGWIN" ]; then
+ MACH=`uname -o`
+elif [ $Sysx = "Darwin" ]; then
+ MACH=`uname -sm | sed 's/[ ]/_/'`
+elif [ $Sysx = "SunOS" ]; then
+ MACH=`uname -sm | sed 's/[ ]/_/'`
+fi
+if [ "$MACH" = "Linux" -o "$MACH" = "OSF1" -o "$MACH" = "Cygwin" -o "$MACH" = "SunOS_i86pc" \
+-o "$MACH" = "Darwin_i386" -o "$MACH" = "Darwin_x86_64" -o "$MACH" = "Darwin_arm64" \
+-o "$MACH" = "Linux_aarch64" ]
+then
+echo 'use little endian libraries'
+pos=$1/../../libraries/l_endian
+else
+echo 'use big endian libraries'
+pos=$1/../../libraries/b_endian
+fi
+if [ -f "$pos"/draglibJef2p2Apolib99_v5p1.gz ]
+ then
+ echo 'gunzipping DLIB_99'
+ chmod 755 "$pos"
+ gunzip "$pos"/draglibJef2p2Apolib99_v5p1.gz
+fi
+if [ -f "$pos"/draglibJef2p2Apolib99_v5p1 ]
+ then
+ ln -s "$pos"/draglibJef2p2Apolib99_v5p1 DLIB_99
+fi
+ln -s $1/data/Reflector_beavrs_DF-NEM_proc/assbly_caseA_mpo_boron.hdf .
+cp $1/data/Reflector_beavrs_DF-NEM_proc/*.c2m .
+ls -l
+echo "Reflector_beavrs_DF-RT-SPN terminated"