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
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)
......
......@@ -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.......................................
......
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