Custom Query (964 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (814 - 816 of 964)

Ticket Owner Reporter Resolution Summary
#41 arango m.hadfield Fixed Minor changes to platform-specific make files
Description

Attached are modified versions of 3 files:

Compilers/CYGWIN-gfortran.mk Compilers/Linux-gfortran.mk Compilers/Linux-ifort.mk

Changes are

CYGWIN-gfortran.mk: add OpenMP-related settings, as Cygwin Gfortran now supports OpenMP; remove warnings flags for USE_DEBUG, as the length of my_fflags in mod_strings.F is too long in some situations, causing a syntax error, and no-one ever pays attention to warnings anyway.

Linux-gfortran.mk: removing warning flags as above

Linux-ifort.mk: add -traceback flag when USE_DEBUG is set.

#52 arango m.hadfield 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:

  • File names for netCDF F90 module files are specified via variables NETCDF_MODFILE and TYPESIZES_MODFILE. Default values (netcdf.mod & typesizes.mod) are specified in makefile; these are overridden if necessary in the machine-dependent make file (eg. NETCDF.mod & TYPESIZES.mod for the T3E).
  • The netCDF module files are now prerequisites for $(SCRATCH_DIR)/MakeDepend, meaning they will be created at the start of the build process. Rules have been added to make them by copying the originals from $(NETCDF_INCDIR).
  • Targets $(SCRATCH_DIR)/MakeDepend, $(SCRATCH_DIR)/$(NETCDF_MODFILE), $(SCRATCH_DIR)/$(TYPESIZES_MODFILE) include $(SCRATCH_DIR) as an order-only prerequisite. Order-only prerequisites are indicated by the pipe ("|") symbol and explained in http://www.gnu.org/software/make/manual/make.html#Prerequisite-Types. If $(SCRATCH_DIR) is made an ordinary prerequisite, then files like $(SCRATCH_DIR)/MakeDepend get re-made every time the directory changes, which is definitely undesirable.

I think the result is quite a bit cleaner than what it replaces.

#56 arango rsignell 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

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.