[MITgcm-support] question about testscript

Ed Hill ed at eh3.com
Tue Oct 28 08:47:28 EST 2003


On Tue, 2003-10-28 at 08:24, Martin Losch wrote:
> Hi,
> 
> I just downloaded a fresh version of the MAIN branch and I am running 
> ./testreport in verification. As far as I can see, all experiments 
> which use a separate build directory (instead of input) fail on my 
> machines (Redhat9-Linux and Mac OS X, basically BSD-Unix), the reason 
> is the line (actually twice, once in the functioin "linkdata"):
>   "( cd $dir/build; ln -sf ../input/* )"
> This line returns
> ln: ./CVS: Operation not permitted
> before genmake and after make
> because in build there is already a ./CVS directory. Then the model is 
> not run because of the && after linkdata returned an error code.
> Am only I having the problem? If so, what can I do about it?


Hi Martin,

No, that hasn't been a problem on any of the other machines.  We can fix
it by making the 'for' explicit such as:

  flist='files to be linked'
  for i in $flist ; do
    ln -s ...
  done

Is there any chance that I could have an account on your OSX box to test
it?

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
            Cambridge, MA 02139-4307
email:   eh3 at mit.edu,  ed at eh3.com
URL:     http://web.mit.edu/eh3/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20031028/05fe6125/attachment.sig>


More information about the MITgcm-support mailing list