diff --git a/Makefile b/Makefile index addf60ab6052c8cfd5011bb93e54200371a5e08e..0766e78076a9e31998c2c60feca78ae0f51ad30d 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 5a28ff1479bea536258ff64729f25dd60ff95917..dad0ed4b82104e771d040f03c648bdc6daef85b3 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.......................................