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/global_oce_biogeo_bling/input_ad/prepare_run
331566cbeb Jean*0001 #! /usr/bin/env bash
00020003 #- in order to save disc space, take *.bin files
0004 #- from this dir:
0005 fromDir="../../../verification/tutorial_global_oce_biogeo/input"
00060007 fileList=`( cd $fromDir ; echo *.bin )`
00080009 #echo 'fileList=' $fileList
0010698b6992ee Jean*0011 #- and do a symbolic link in the current directory
331566cbeb Jean*0012 # (if the file does not already exist)
0013 if test -d $fromDir ; then
0014 lnkList='files:'
0015 for xx in $fileList
0016 do
698b6992ee Jean*0017 if test -r ${fromDir}/$xx ; then
0018 if test ! -r $xx ; then
331566cbeb Jean*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 also from this dir:
0030 fromDir="../input"
00310032 fileList=`( cd $fromDir ; echo *.bin )`
00330034 #echo 'fileList=' $fileList
0035698b6992ee Jean*0036 #- and do a symbolic link in the current directory
331566cbeb Jean*0037 # (if the file does not already exist)
0038 if test -d $fromDir ; then
0039 lnkList='files:'
0040 for xx in $fileList
0041 do
698b6992ee Jean*0042 if test -r ${fromDir}/$xx ; then
0043 if test ! -r $xx ; then
331566cbeb Jean*0044 lnkList=${lnkList}" "$xx
0045 ln -sf ${fromDir}/$xx .
0046 fi
0047 fi
0048 done
0049 echo ' link' $lnkList "from dir:" $fromDir
0050 else
0051 echo " Error:" $fromDir "not a directory"
0052 fi