Custom Query (964 matches)
Results (40 - 42 of 964)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#52 | Fixed | Makefile enhancements | ||
Description |
Following on from the problems with netcdf.mod & typesize.mod reported in #50 and the proposed solutions, I have come up with a simpler and (I think) better scheme for creating the scratch directory and populating it with the files it needs initially. Since the changes go beyond the scope ot ticket #50, I'm making this a separate ticket. Modified versions of makefile and Compilers/UNICOS-sn-f90.mk are attached. Changes are:
I think the result is quite a bit cleaner than what it replaces. |
|||
#56 | Fixed | Gfortran -DUSE_DEBUG bug | ||
Description |
With SVN version 79, there is a compile error when USE_DEBUG is defined when building with Compilers/CYGWIN-gfortran.mk. The problem is that FFLAGS is so long it exceeds 132 characters, the default in GFORTRAN when -ffree-form is specified. I fixed the problem by adding the compile flag "-ffree-line-length-none" to this rule in CYGWIN-gfortran.mk for mod_strings: Before: $(SCRATCH_DIR)/mod_strings.o: FFLAGS += -ffree-form After: $(SCRATCH_DIR)/mod_strings.o: FFLAGS += -ffree-form -ffree-line-length-none Should this additional flag be added for the compilation of mod_ncparam as well? I imagine the other gfortran .mk files should be modified as well, not just the gfortran one. Thanks, Rich |
|||
#60 | Done | Support for linking to netCDF 4 libraries | ||
Description |
As we know, ROMS will eventually move to using netCDF 4, allowing various enhancements like parallel I/O and compression. In the meantime, I have been experimenting with using netCDF 4 libraries as a direct substitute for netCDF 3 libraries. It turns out that the only change required in ROMS is to add some linker flags to link to the underlying HDF5 and Zlib libraries. For the current versions of netCDF 4 and HDF5 the flags required are:
I suggest the following changes to support this:
Files are attached. In future I expect USE_NETCDF4 will also be used to set preprocessor flags to support netCDF 4 features in the code. |