Changeset 10252
- Timestamp:
- 2018-10-29T15:21:23+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/dev_rebuild_nemo_compression/REBUILD_NEMO/rebuild_nemo
r10244 r10252 144 144 145 145 template_dir=${script_dir}/BATCH_TEMPLATES/ 146 archfile=${template_dir}/param_${ARCH} 147 if [ ! -f $archfile ]; then 148 echo "$archfile is missing, stop 42" 149 echo "check your arch name or add one $archfile file in BATCH_TEMPLATES" 146 param_file=${template_dir}/param_${ARCH} 147 if [ ! -f $param_file ]; then 148 echo '' 149 echo "E R R O R: $param_file is missing, stop 42" 150 echo '' 151 echo "check your arch name or add one $param_file file in BATCH_TEMPLATES" 152 echo '' 150 153 exit 42 151 154 fi 152 . $ archfile155 . $param_file 153 156 154 157 batch_file=rebuild_nemo_batch_${ARCH} 155 158 if [ ! -f ${template_dir}/${batch_file} ]; then 156 echo "$batch_file is missing, stop 42" 159 echo '' 160 echo "E R R O R: $batch_file is missing, stop 42" 161 echo '' 157 162 echo "check your arch name or add one $batch_file file in BATCH_TEMPLATES" 163 echo '' 158 164 exit 42 159 165 fi
Note: See TracChangeset
for help on using the changeset viewer.