Custom Query (964 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 964)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Owner Reporter Resolution Summary
#21 arango arango Fixed Corrected few bugs
Description

Corrected a small bug in gls_corstep.F the computation of surface turbulent kinetic energy flux. Also corrected use of get_idata instead of "get_once" in initial.F, ad_initial.F, tl_initial.F, and rp_initial.F.

Added documentation in the makefile for the user to specify the full path in macro MY_HEADER_DIR. This is done to allow compiling scripts and modification of provided test header files in other directories.

#22 arango m.hadfield Fixed Allow non-standard location for Perl interpreter throughout
Description

The sfmakedepend script file starts with:

#!/usr/bin/perl -w

This fails on one of my systems, where perl is not installed in /usr/bin. One solution is to use the form in cpp_clean, ie:

#!/usr/bin/env perl

(This was adopted some time ago at my suggestion, I think.)

There is a minor problem with this: it prevents the use of switches like "-w", owing to limitations in the Unix interpreter. There are various ways of working around this, but they are all far too complicated for me to understand:

http://perldoc.perl.org/perlrun.html

However I don't think the "-w" switch (enable warnings) is needed in production code like this. Sfmakedepend works fine without it.

So, my suggestion is that "#!/usr/bin/perl" be replaced with "#!/usr/bin/env perl" in all scripts and that any command-line options be omitted. The only files I can find affected by this are:

ROMS/Bin/sfmakedepend ROMS/Bin/substitute

#23 arango m.hadfield Fixed Miscellaneous fixes to Functionals files
Description

ana_diag.h: Remove declarations for u & v when SOLVE3D is undefined.

ana_grid.h: Replace "#elif defined CANYON_A
defined CANYON_B" with "#elif defined CANYON"

Files attached.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.