blob: 41b9db272d17561d98f705e47eb7a01470d0dee6 (
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
40
41
42
43
44
45
46
47
48
49
|
#!/bin/sh
if [ $# = 0 ]
then
echo "usage: SmallCore_BaffRefl_Benchmark_mpo.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
pos=$1/../../libraries/hdf5
if [ -f "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5.gz ]
then
echo 'gunzipping CLA99CEA93'
chmod 755 "$pos"
gunzip "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5.gz
fi
if [ -f "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5 ]
then
ln -s "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5 CLA99CEA93
fi
if [ -f "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5.gz ]
then
echo 'gunzipping CLA99CEA93_SS'
chmod 755 "$pos"
gunzip "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5.gz
fi
if [ -f "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5 ]
then
ln -s "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5 CLA99CEA93_SS
fi
if [ -f "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5.gz ]
then
echo 'gunzipping CLA99CEA93_EVO'
chmod 755 "$pos"
gunzip "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5.gz
fi
if [ -f "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5 ]
then
ln -s "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5 CLA99CEA93_EVO
fi
ln -s "$1"/data/SmallCore_BaffRefl_Benchmark_mpo_proc/Ass_3GLE_420_16Gd_99g-mpo.hdf .
ls -l
echo "SmallCore_BaffRefl_Benchmark_mpo access script terminated"
|