Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121933862
Makefile_macosx
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 14, 22:52
Size
2 KB
Mime Type
text/x-makefile
Expires
Wed, Jul 16, 22:52 (2 d)
Engine
blob
Format
Raw Data
Handle
27415330
Attached To
R2795 mitgcm_lac_leman_abirani
Makefile_macosx
View Options
#***********************************************************************
# Makefile for the ECCO off-line large scale optimization.
#
# started: Patrick Heimbach heimbach@mit.edu 19-Jun-2000
#
# prebuilt Fortran77 reference implementation BLAS libraries at
# http://www.netlib.org/blas/archives/
#
# Further high-performance BLAS libraries by Kazushige Goto at
# http://www.cs.utexas.edu/users/kgoto/
#
#***********************************************************************
# The optimization routines.
SRC = lsopt_top.F \
lsupdxx.F \
lsline.F \
hessupd.F \
cubic.F \
dgscale.F \
instore.F \
dostore.F \
outstore.F \
lswri.F
# Location of cpp preprocessor
# default is (Linux)
CPP = cat $< | /usr/local/bin/cpp -P -traditional
# on SUNOS
# CPP = cat $< | /usr/ccs/lib/cpp
ARFLAGS = rv
ECCOOPTLIB = liblsopt_ecco.a
RANLIB = ranlib
# Altix
#---------
#CPPFLAGS = -DIS_DOUBLE
#FC = ifort
#FFLAGS = -mp -132 -r8 -i4 -w95 -W0 -WB -CB -fpe0 -traceback -convert big_endian -assume byterecl
# O3K
#---------
#CPPFLAGS = -DIS_DOUBLE
#FC = f77
#FFLAGS = -extend_source -bytereclen -mips4 -r8 -static
# Linux
#---------
CPPFLAGS = -DIS_DOUBLE
FC = gfortran
FFLAGS = -fconvert=big-endian
# SUN double precision.
#---------
#FFLAGS = -u -r8 -e -g
#CPPFLAGS = -I. -DIS_DOUBLE -DINTEGER_BYTE=4 -DONLINE
# Cray.
#---------
#FC = f90
#FFLAGS = -I. -e0 -N132 -O scalar3,vector3,task3
#CPPFLAGS = -Wp"-DREAL_BYTE=8 -DINTEGER_BYTE=8"
# File removal.
RM = rm -f
F77FILES = $(SRC:.F=.for)
OBJ = $(SRC:.F=.o)
.SUFFIXES: .o .for .F
all: $(ECCOOPTLIB)
$(ECCOOPTLIB): $(OBJ) $(F77FILES)
$(FC) -c $(FFLAGS) $(F77FILES)
$(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
depend:
makedepend -o .for $(SRC)
# The normal chain of rules is ( .F - .for - .o )
.F.for:
$(CPP) $(CPPFLAGS) > $@
.for.o:
$(FC) $(FFLAGS) -c $<
# Cleaning options.
clean:
$(RM) *.o *.for
# DO NOT DELETE
lsupdxx.for: blas1.h
lsline.for: blas1.h
hessupd.for: blas1.h
dgscale.for: blas1.h
Event Timeline
Log In to Comment