blob: 132c001baa1c0e4b1e8d977a5dd89af87e21e019 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/sh
#
if [ $# = 0 ]
then
echo "usage: Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295.save directory" 1>&2
exit 1
fi
echo access Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295.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_apx.hdf $1/"$MACH"
echo "Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295.save completed"
|