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

ready for another try

parent 01863ac8
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,9 @@ $(NAME): subdirs $(OBJECTS)
echo "--"
echo "compiler output...."
more $(COMPILE_OUT)
echo "--"
echo "linker output...."
more $(NAME).link
.PHONY: install
install:
......
......@@ -4,30 +4,55 @@ F90 = mpxlf90_r
F77 = mpxlf_r
CC = mpcc_r
# Define compiler flags
# Define FORTRAN compiler flags
#
# I would like to add -u here, but Wow! Just try it.
FFLAGS = -O3 -qstrict -Q -qarch=auto -qtune=auto \
-qfloat=nomaf:nofold
#*****check these*******
CFLAGS = -O3 -qstrict -Q -qarch=auto -qtune=auto \
-qfloat=nomaf:nofold
# FFLAGS = -O3 -qstrict -Q -qarch=auto -qtune=auto -qfloat=nomaf:nofold
# Trouble on the p690; time to get serious.
FFLAGS = -O2 -qstrict -Q -q64 -b64 -qarch=pwr4 -qtune=pwr4 \
-qfloat=nomaf:nofold:norsqrt:strictnmaf \
-qrealsize=8 \
-qflttrap=overflow:underflow:zerodivide:invalid:inexact:enable \
-qsigtrap \
-qhalt=e \
-qextchk
# Define other things
#
PGPLOT = /home/beaumnt1/software/pgplot-5.2.2
# Define C compiler flags
CFLAGS = -O2 -qstrict -Q -q64 -qarch=pwr4 -qtune=pwr4 \
-qfloat=nomaf:nofold:norsqrt \
-qflttrap=overflow:underflow:zerodivide:invalid:inexact:enable \
-qsigtrap \
-qhalt=e \
-qextchk
# define pgplot
# pgplot - 32bit
# PGPLOT = /home/beaumnt1/software/pgplot-5.2.2
# pgplot - 64bit
PGPLOT = /home/beaumnt1/software/pgplot-5.2.2-q64
# define X11
X11 = /usr/lpp/X11
WSMP = /home/beaumnt1/software/wsmp/lib/Power4
# define wsmp
WSMP_DIR = /home/beaumnt1/software/wsmp/lib/Power4
# wsmp - 32bit
# WSMP_LIB = -L$(WSMP_DIR) -lpwsmp
# wsmp - 64bit
WSMP_LIB = -L$(WSMP_DIR) -lpwsmp64
# libs removed on p690...
# -lacml
# -L$(WSMP) -lpwsmp \
LIBS = \
-LOCTREE -lOctree \
-LNN -lnn \
-LCASCADE -lcascade \
-LRESAMPLE -lresample \
$(WSMP_LIB) \
-L$(X11) -lX11 \
-L$(WSMP) -lpwsmp \
-L$(PGPLOT) -lpgplot \
-lpthread
......
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