Custom Query (986 matches)
Results (22 - 24 of 986)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#20 | Fixed | Application header file | ||
Description |
Need to allow full path be to included in cppdefs.h so users can modify distributed test cases by copying header files to the directory specified in makefile macro MY_HEADER_DIR. |
|||
#21 | 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 | 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 |