Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=MITgcm at /usr/local/share/lxr/lib/LXR/Common.pm line 1224.
Last-Modified: Fri, 31 Oct 2024 05:11:45 GMT
Content-Type: text/html; charset=utf-8
MITgcm/MITgcm/verification/lab_sea/input.longstep/prepare_run
0c90ef582a Jean*0001 #! /usr/bin/env bash
00020003 #- Temporary solution (until all files got moved here): take parameter files
0004 #- from this dir:
0005 fromDir="../../natl_box/input.longstep"
00060007 fileList=`( cd $fromDir ; echo data* eedata tr_checklist)`
00080009 #echo 'fileList=' $fileList
00100011 #- and do a symbolic link in the current directory
0012 # (if the file does not already exist)
0013 if test -d $fromDir ; then
0014 lnkList='files:'
0015 for xx in $fileList
0016 do
0017 if test -r ${fromDir}/$xx ; then
0018 if test ! -r $xx ; then
0019 lnkList=${lnkList}" "$xx
0020 ln -sf ${fromDir}/$xx .
0021 fi
0022 fi
0023 done
0024 echo ' link' $lnkList "from dir:" $fromDir
0025 else
0026 echo " Error:" $fromDir "not a directory"
0027 fi
00280029 #- And in order to save disc space, take binary input files
0030 #- from this dir:
0031 fromDir="../input.natl_box"
00320033 fileList=`( cd $fromDir ; echo kf_* POLY3.COEFFS data.kpp )`
00340035 #echo 'fileList=' $fileList
00360037 #- and do a symbolic link in the current directory
0038 # (if the file does not already exist)
0039 if test -d $fromDir ; then
0040 lnkList='files:'
0041 for xx in $fileList
0042 do
0043 if test -r ${fromDir}/$xx ; then
0044 if test ! -r $xx ; then
0045 lnkList=${lnkList}" "$xx
0046 ln -sf ${fromDir}/$xx .
0047 fi
0048 fi
0049 done
0050 echo ' link' $lnkList "from dir:" $fromDir
0051 else
0052 echo " Error:" $fromDir "not a directory"
0053 fi