From b0aba516e893f160c50d061c31460e3c3db00d6f Mon Sep 17 00:00:00 2001 From: Douglas Guptill <douglas.guptill@dal.ca> Date: Sun, 31 May 2009 18:23:09 +0000 Subject: [PATCH] tweaks --- Makefile | 3 ++- Makefile.p690 | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index addf60ab..0766e780 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,8 @@ write_global_output.o vrm.o all: $(BIN) $(BIN): subdirs $(OBJECTS) $(F90) $(FFLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(BIN) \ - >$(BIN).link 2>&1 +1>$(BIN).link.stdout \ +2>$(BIN).link.stderr echo "--" echo "compiler output...." more $(COMPILE_OUT) diff --git a/Makefile.p690 b/Makefile.p690 index 5a28ff14..dad0ed4b 100644 --- a/Makefile.p690 +++ b/Makefile.p690 @@ -15,6 +15,7 @@ BITS=-q32 OPTIONS = -bmaxdata:0x80000000 -bhalt:0 -bnoquiet PGPLOT = /home/beaumnt1/software/pgplot-5.2.2 WSMP_LIB = -L$(WSMP_DIR) -lpwsmp +FLG64= # for 64 bit compile.................................. # @@ -23,6 +24,7 @@ BITS=-q64 OPTIONS = -b 64 -bmaxdata:0x80000000 -bhalt:0 -bnoquiet PGPLOT = /home/beaumnt1/software/pgplot-5.2.2-q64 WSMP_LIB = -L$(WSMP_DIR) -lpwsmp64 +FLG64=-b64 # Define FORTRAN compiler flags....................... @@ -40,8 +42,9 @@ WSMP_LIB = -L$(WSMP_DIR) -lpwsmp64 # -qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable # take -qextchk out for the final compile -FFLAGS = -g -O2 -qstrict -Q $(BITS) -qarch=auto -qtune=auto -qmaxmem=-1 \ --qcheck -qwarn64 \ +FFLAGS = -g -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \ +-qmaxmem=-1 \ +-qcheck -qwarn64 -qextname \ -qfloat=nomaf:nofold:norsqrt:strictnmaf \ -qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable \ -qsigtrap \ @@ -51,10 +54,10 @@ FFLAGS = -g -O2 -qstrict -Q $(BITS) -qarch=auto -qtune=auto -qmaxmem=-1 \ # Define C compiler flags............................. # # take -qextchk out for the final compile -CFLAGS = -g -O2 -qstrict -Q $(BITS) -qarch=auto -qtune=auto \ +CFLAGS = -g -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \ -qcheck -qwarn64 \ -qfloat=nomaf:nofold:norsqrt \ --qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable \ +-qflttrap=overflow:underflow:zerodivide:invalid:enable \ -qhalt=e -qextchk # compile rules....................................... -- GitLab