[MITgcm-support] question about testscript
Martin Losch
mlosch at awi-bremerhaven.de
Thu Oct 30 07:59:32 EST 2003
Ed,
it's probably not worth trying to sort out the mpack problem on my Mac
via this long distance relationship. I'll wait until someone at EAPS
has done that, if that's okay with you. I can also wait for the other
stuff but in case you can't (o: here is what I can offer about the
build_options file:
without setting MITGCM_OP I get this:
csysm3::verification> ./testreport -ieee
parsing options... OK
creating the comparison code... OK
building the mpack utility... OK
------------------------------------------------------------------------
-------
Experiment: adjust_nlfs.cs-32x32x1
Warning: can't read file
adjust_nlfs.cs-32x32x1/code/CPP_EEOPTIONS.h_nompi
Warning: can't read file adjust_nlfs.cs-32x32x1/code/SIZE.h_nompi
genmake ...
Error: No options file was found in: ../../../tools/build_options/
that matches this platform ("darwin_power macintosh") and the
compilers found in
your path. Please specify an "optfile" using:
1) the command line (eg. "-optfile=path/to/OPTFILE"), or
2) the MITGCM_OF environment variable.
If you need help, please contact the developers at
<MITgcm-support at mitgcm.org>.
genmakemodel: genmake failed
N N N N -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- N/O
adjust_nlfs.cs-32x32x1
No mail sent
------------------------------------------------------------------------
-------
with setting MITGCM_OF variable, everything seems to work. The
build_options files that I gave you for Apple are now called in the
repository darwin_g77 and darwin_absoft_f77, but uname -m returns Power
Macintosh so that the $PLATFORM variable in genmake2 becomes
"darwin_power macintosh". Computer sind doof ("computers are dumb", big
hit by Spliff in Germany in the early eighties!)
Martin
On Thursday, October 30, 2003, at 01:20 PM, Ed Hill wrote:
> On Thu, 2003-10-30 at 03:43, Martin Losch wrote:
>> Ed,
>>
>> After runing testreport successfully, I reran it with:
>> testreport -opfile=../tools/build_options/darwin_g77 -ieee -q -a
>> edhill at mitgcm.org
>> but the mpack utility fails:
>>> Warning: "../tools/mpack-1.6/mpack" failed -- please contact
>>> <edhill at mitgcm.org>
>> so that you probably didn't get any email from me. Is the -q option
>> forbidden in conjunction with -a?
>
>
> Hi Martin,
>
> I just tried the following:
>
> ./testreport -ieee
> ./testreport -q -ieee -a edhill at mitgcm.org
>
> on a RH 9 box and it worked fine. I'll be happy to try it with some
> other systems, but I think its something specific to OSX. The mpack
> utility has worked with no problems on every Unix/Linux variant that
> I've run it on. But there may be something special about your box --
> or
> it may be some firewall issue.
>
> Also, I'm surprised that you have to manually set the "optfile". Have
> you tried the auto-detect feature? And, if it fails, have you tried
> setting the following:
>
> (t)csh: setenv MITGCM_OF "path/to/opt_file"
> bash/sh: export MITGCM_OF="path/to/opt_file"
>
> environment variable? I'd really like to get the default optfile
> choice
> mechanism sorted out as its a useful feature.
>
> 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
> <signature.asc>_______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list