/[MITgcm]/MITgcm/lsopt/Makefile
ViewVC logotype

Contents of /MITgcm/lsopt/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Wed May 5 19:50:46 2004 UTC (19 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint54d_post, checkpoint54e_post, checkpoint54, checkpoint53, checkpoint53d_post, checkpoint54b_post, checkpoint54a_pre, checkpoint53c_post, checkpoint54a_post, checkpoint53a_post, checkpoint53g_post, checkpoint53f_post, checkpoint52n_post, checkpoint53b_pre, checkpoint53b_post, checkpoint53d_pre, checkpoint54c_post
Changes since 1.3: +3 -0 lines
comment on availability of High-Performance BLAS libraries added

1
2 #***********************************************************************
3 # Makefile for the ECCO off-line large scale optimization.
4 #
5 # started: Patrick Heimbach heimbach@mit.edu 19-Jun-2000
6 #
7 # prebuilt Fortran77 reference implementation BLAS libraries at
8 # http://www.netlib.org/blas/archives/
9 #
10 # Further high-performance BLAS libraries by Kazushige Goto at
11 # http://www.cs.utexas.edu/users/kgoto/
12 #
13 #***********************************************************************
14
15 # The optimization routines.
16 SRC = lsopt_top.F \
17 lsupdxx.F \
18 lsline.F \
19 hessupd.F \
20 cubic.F \
21 dgscale.F \
22 instore.F \
23 dostore.F \
24 outstore.F \
25 lswri.F
26
27 # Location of cpp preprocessor
28 # default is (Linux)
29 CPP = cat $< | /lib/cpp -P -traditional
30 # on SUNOS
31 # CPP = cat $< | /usr/ccs/lib/cpp
32
33 ARFLAGS = rv
34 ECCOOPTLIB = liblsopt_ecco.a
35
36 # O3K
37 #---------
38 #CPPFLAGS = -DIS_DOUBLE
39 #FC = f77
40 #FFLAGS = -extend_source -bytereclen -mips4 -r8 -static
41
42 # Linux
43 #---------
44 CPPFLAGS = -DIS_DOUBLE
45 FC = f77
46 FFLAGS =
47
48 # SUN double precision.
49 #---------
50 #FFLAGS = -u -r8 -e -g
51 #CPPFLAGS = -I. -DIS_DOUBLE -DINTEGER_BYTE=4 -DONLINE
52
53 # Cray.
54 #---------
55 #FC = f90
56 #FFLAGS = -I. -e0 -N132 -O scalar3,vector3,task3
57 #CPPFLAGS = -Wp"-DREAL_BYTE=8 -DINTEGER_BYTE=8"
58
59 # File removal.
60 RM = rm -f
61
62 F77FILES = $(SRC:.F=.f)
63 OBJ = $(SRC:.F=.o)
64
65 .SUFFIXES: .o .f .F
66
67 all: $(ECCOOPTLIB)
68
69 $(ECCOOPTLIB): $(OBJ) $(F77FILES)
70 $(FC) -c $(FFLAGS) $(F77FILES)
71 $(AR) $(ARFLAGS) $@ $?
72
73 depend:
74 makedepend -o .f $(SRC)
75
76 # The normal chain of rules is ( .F - .f - .o )
77 .F.f:
78 $(CPP) $(CPPFLAGS) > $@
79 .f.o:
80 $(FC) $(FFLAGS) -c $<
81
82 # Cleaning options.
83 clean:
84 $(RM) *.o *.f
85 # DO NOT DELETE
86
87 lsupdxx.f: blas1.h
88 lsline.f: blas1.h
89 hessupd.f: blas1.h
90 dgscale.f: blas1.h

  ViewVC Help
Powered by ViewVC 1.1.22