** Warning **
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: Thu, 19 Aug 2026 05:09:11 GMT
Content-Type: text/html; charset=utf-8
MITgcm/MITgcm/verification/global_ocean.cs32x15/input/prepare_run
Warning, /verification/global_ocean.cs32x15/input/prepare_run is written in an unsupported language. File is not indexed.
view on github raw file Latest commit 15ec4b1e on 2026-02-28 00:30:32 UTC
655b35d5dd Jean* 0001 #! /usr/bin/env bash
0002
15ec4b1e94 Jean* 0003 #- in order to save disc space, take grid files
655b35d5dd Jean* 0004 #- from this dir:
0005 fromDir="../../tutorial_held_suarez_cs/input"
0006
15ec4b1e94 Jean* 0007 fileList=`( cd $fromDir ; ls grid_cs32.face00?.bin )`
0008 #echo 'fileList=' $fileList
0009
0010 #- from this dir:
0011
0012 #- and do a symbolic link in the current directory
655b35d5dd Jean* 0013 # (if the file does not already exist)
0014 if test -d $fromDir ; then
0015 lnkList='files:'
0016 for xx in $fileList
0017 do
15ec4b1e94 Jean* 0018 if test -r ${fromDir}/$xx ; then
0019 if test ! -r $xx ; then
655b35d5dd Jean* 0020 lnkList=${lnkList}" "$xx
0021 ln -sf ${fromDir}/$xx .
0022 fi
0023 fi
0024 done
0025 echo ' link' $lnkList "from dir:" $fromDir
0026 else
0027 echo " Error:" $fromDir "not a directory"
0028 fi