Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DOUAR WSMP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HUGG
DOUAR WSMP
Commits
605952d5
Commit
605952d5
authored
15 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
Backed up original Makefile.inc.mahone
parent
3a013aab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile.inc.mahone.orig
+91
-0
91 additions, 0 deletions
src/Makefile.inc.mahone.orig
with
91 additions
and
0 deletions
src/Makefile.inc.mahone.orig
0 → 100644
+
91
−
0
View file @
605952d5
# Define our compilers.................................
#
# The default - OpenMPI 1.2.7
F90
=
mpif90
F77
=
mpif77
CC
=
mpicc
# wsmp wants mpich, so we try this
# F90 = /usr/local/mpich.pgi.64/bin/mpif90
# F77 = /usr/local/mpich.pgi.64/bin/mpif77
# CC = /usr/local/mpich.pgi.64/bin/mpicc
# Libraries................
#
# PGPLOT=/home/dguptill/software/pgplot-5.2.2
# -L$(PGPLOT) -lpgplot \
# -L/usr/X11R6/lib64 -lX11 \
LIBS
=
\
-LOCTREE
-lOctree
$(
BITS
)
\
-LNN
-lnn_f
$(
BITS
)
\
-LNN
-lnn_c
$(
BITS
)
\
-LCASCADE
-lcascade
$(
BITS
)
\
-LRESAMPLE
-lresample
$(
BITS
)
\
$(
WSMP_LIB
)
\
-lpthread
-lacml
# The Makefiles look at compile output with this
PAGER
=
less
# wsmp lives here.
#
WSMP_DIR
=
/home/dguptill/software/wsmp/wsmp-Linux/lib/X86_64/PGI
# Miscellaneous things
#
AR
=
ar
OPTIONS
=
WSMP_LIB
=
-L
$(
WSMP_DIR
)
-lpwsmp64
# Define FORTRAN compiler flags.......................
#
# Initial guess at flags:
# Using these, douar works much as it does on grace.
FFLAGS
=
-fastsse
-pc
64
-Kieee
-tp
amd64
# These might be better
FFLAGS
=
-gopt
-O2
-fastsse
-Kieee
# Some debugging options; trying for a failure like on the p690
# We get a consistent crash where make_cut calls itself.
# "Error: floating point exception, integer divide by zero"
FFLAGS
=
-gopt
-O0
-Kieee
-Ktrap
=
inv,divz,ovf
-mcmodel
=
medium
\
-Mnofprelaxed
-Mbounds
-Mchkstk
-Mnofpapprox
\
-Mchkptr
-Mnoonetrip
-Mrecursive
# trying these; we get less information from the debugger.
# FFLAGS=-O2 -fastsse -gopt -Kieee -Ktrap=inv,divz,ovf -mcmodel=medium -Mbounds
#-traceback
# Define C compiler flags.............................
#
# Initial guess at flags:
# Using these, douar works much as it does on grace.
CFLAGS
=
-fastsse
-pc
64
-Kieee
-tp
amd64
# These might be better
CFLAGS
=
-fastsse
-Kieee
# Some debugging options; trying for a failure like on the p690
CFLAGS
=
-gopt
-O0
-Kieee
-Ktrap
=
inv,divz,ovf
-mcmodel
=
medium
\
-Mnofprelaxed
-Mbounds
-Mchkstk
-Mnofpapprox
\
-Mzerotrip
# CFLAGS=-O2 -fastsse -gopt -Kieee -Ktrap=inv,divz,ovf -mcmodel=medium -Mbounds
# compile rules.......................................
#
COMPILE_OUT
=
$(
NAME
)
.compile
.SUFFIXES
:
.SUFFIXES
:
.o .c .f .f90
.f90.o
:
@
echo
"--"
>>
$(
COMPILE_OUT
)
2>&1
@
echo
"
$(
F90
)
$(
FFLAGS
)
-c
$<
"
>>
$(
COMPILE_OUT
)
2>&1
$(
F90
)
$(
FFLAGS
)
-c
$<
>>
$(
COMPILE_OUT
)
2>&1
.f.o
:
@
echo
"--"
>>
$(
COMPILE_OUT
)
2>&1
@
echo
"
$(
F90
)
$(
FFLAGS
)
-c
$<
"
>>
$(
COMPILE_OUT
)
2>&1
$(
F90
)
$(
FFLAGS
)
-c
$<
>>
$(
COMPILE_OUT
)
2>&1
.c.o
:
@
echo
"--"
>>
$(
COMPILE_OUT
)
2>&1
@
echo
"
$(
CC
)
$(
CFLAGS
)
-c
$<
"
>>
$(
COMPILE_OUT
)
2>&1
$(
CC
)
$(
CFLAGS
)
-c
$<
>>
$(
COMPILE_OUT
)
2>&1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment