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

Annotation of /MITgcm/lsopt/Makefile

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


Revision 1.4 - (hide annotations) (download)
Wed May 5 19:50:46 2004 UTC (20 years 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 heimbach 1.2
2 heimbach 1.3 #***********************************************************************
3     # Makefile for the ECCO off-line large scale optimization.
4 heimbach 1.2 #
5 heimbach 1.3 # started: Patrick Heimbach heimbach@mit.edu 19-Jun-2000
6 heimbach 1.2 #
7 heimbach 1.3 # prebuilt Fortran77 reference implementation BLAS libraries at
8     # http://www.netlib.org/blas/archives/
9 heimbach 1.2 #
10 heimbach 1.4 # Further high-performance BLAS libraries by Kazushige Goto at
11     # http://www.cs.utexas.edu/users/kgoto/
12     #
13 heimbach 1.3 #***********************************************************************
14 heimbach 1.2
15 heimbach 1.3 # 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 heimbach 1.2
48     # SUN double precision.
49 heimbach 1.3 #---------
50     #FFLAGS = -u -r8 -e -g
51     #CPPFLAGS = -I. -DIS_DOUBLE -DINTEGER_BYTE=4 -DONLINE
52 heimbach 1.2
53     # Cray.
54 heimbach 1.3 #---------
55 heimbach 1.2 #FC = f90
56     #FFLAGS = -I. -e0 -N132 -O scalar3,vector3,task3
57     #CPPFLAGS = -Wp"-DREAL_BYTE=8 -DINTEGER_BYTE=8"
58    
59 heimbach 1.3 # File removal.
60     RM = rm -f
61 heimbach 1.2
62 heimbach 1.3 F77FILES = $(SRC:.F=.f)
63     OBJ = $(SRC:.F=.o)
64 heimbach 1.2
65 heimbach 1.3 .SUFFIXES: .o .f .F
66 heimbach 1.2
67 heimbach 1.3 all: $(ECCOOPTLIB)
68 heimbach 1.2
69 heimbach 1.3 $(ECCOOPTLIB): $(OBJ) $(F77FILES)
70     $(FC) -c $(FFLAGS) $(F77FILES)
71 heimbach 1.2 $(AR) $(ARFLAGS) $@ $?
72    
73 heimbach 1.3 depend:
74     makedepend -o .f $(SRC)
75 heimbach 1.2
76 heimbach 1.3 # The normal chain of rules is ( .F - .f - .o )
77     .F.f:
78     $(CPP) $(CPPFLAGS) > $@
79     .f.o:
80     $(FC) $(FFLAGS) -c $<
81 heimbach 1.2
82 heimbach 1.3 # Cleaning options.
83 heimbach 1.2 clean:
84 heimbach 1.3 $(RM) *.o *.f
85     # DO NOT DELETE
86 heimbach 1.2
87 heimbach 1.3 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