Skip to content
Snippets Groups Projects
Commit b0aba516 authored by Douglas Guptill's avatar Douglas Guptill
Browse files

tweaks

parent 7eb0b482
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,8 @@ write_global_output.o vrm.o ...@@ -77,7 +77,8 @@ write_global_output.o vrm.o
all: $(BIN) all: $(BIN)
$(BIN): subdirs $(OBJECTS) $(BIN): subdirs $(OBJECTS)
$(F90) $(FFLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(BIN) \ $(F90) $(FFLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(BIN) \
>$(BIN).link 2>&1 1>$(BIN).link.stdout \
2>$(BIN).link.stderr
echo "--" echo "--"
echo "compiler output...." echo "compiler output...."
more $(COMPILE_OUT) more $(COMPILE_OUT)
......
...@@ -15,6 +15,7 @@ BITS=-q32 ...@@ -15,6 +15,7 @@ BITS=-q32
OPTIONS = -bmaxdata:0x80000000 -bhalt:0 -bnoquiet OPTIONS = -bmaxdata:0x80000000 -bhalt:0 -bnoquiet
PGPLOT = /home/beaumnt1/software/pgplot-5.2.2 PGPLOT = /home/beaumnt1/software/pgplot-5.2.2
WSMP_LIB = -L$(WSMP_DIR) -lpwsmp WSMP_LIB = -L$(WSMP_DIR) -lpwsmp
FLG64=
# for 64 bit compile.................................. # for 64 bit compile..................................
# #
...@@ -23,6 +24,7 @@ BITS=-q64 ...@@ -23,6 +24,7 @@ BITS=-q64
OPTIONS = -b 64 -bmaxdata:0x80000000 -bhalt:0 -bnoquiet OPTIONS = -b 64 -bmaxdata:0x80000000 -bhalt:0 -bnoquiet
PGPLOT = /home/beaumnt1/software/pgplot-5.2.2-q64 PGPLOT = /home/beaumnt1/software/pgplot-5.2.2-q64
WSMP_LIB = -L$(WSMP_DIR) -lpwsmp64 WSMP_LIB = -L$(WSMP_DIR) -lpwsmp64
FLG64=-b64
# Define FORTRAN compiler flags....................... # Define FORTRAN compiler flags.......................
...@@ -40,8 +42,9 @@ WSMP_LIB = -L$(WSMP_DIR) -lpwsmp64 ...@@ -40,8 +42,9 @@ WSMP_LIB = -L$(WSMP_DIR) -lpwsmp64
# -qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable # -qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable
# take -qextchk out for the final compile # take -qextchk out for the final compile
FFLAGS = -g -O2 -qstrict -Q $(BITS) -qarch=auto -qtune=auto -qmaxmem=-1 \ FFLAGS = -g -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \
-qcheck -qwarn64 \ -qmaxmem=-1 \
-qcheck -qwarn64 -qextname \
-qfloat=nomaf:nofold:norsqrt:strictnmaf \ -qfloat=nomaf:nofold:norsqrt:strictnmaf \
-qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable \ -qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable \
-qsigtrap \ -qsigtrap \
...@@ -51,10 +54,10 @@ FFLAGS = -g -O2 -qstrict -Q $(BITS) -qarch=auto -qtune=auto -qmaxmem=-1 \ ...@@ -51,10 +54,10 @@ FFLAGS = -g -O2 -qstrict -Q $(BITS) -qarch=auto -qtune=auto -qmaxmem=-1 \
# Define C compiler flags............................. # Define C compiler flags.............................
# #
# take -qextchk out for the final compile # 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 \ -qcheck -qwarn64 \
-qfloat=nomaf:nofold:norsqrt \ -qfloat=nomaf:nofold:norsqrt \
-qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable \ -qflttrap=overflow:underflow:zerodivide:invalid:enable \
-qhalt=e -qextchk -qhalt=e -qextchk
# compile rules....................................... # compile rules.......................................
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment