/[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.5 - (hide annotations) (download)
Thu Sep 9 15:51:26 2004 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57g_pre, checkpoint57b_post, checkpoint57g_post, checkpoint56b_post, checkpoint57d_post, checkpoint57i_post, checkpoint55, checkpoint57, checkpoint56, checkpoint57n_post, checkpoint54f_post, checkpoint55i_post, checkpoint57l_post, checkpoint55c_post, checkpoint57f_post, checkpoint57a_post, checkpoint57h_pre, checkpoint57h_post, checkpoint55g_post, checkpoint57c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint57c_pre, checkpoint55j_post, checkpoint55h_post, checkpoint57e_post, checkpoint55b_post, checkpoint55f_post, checkpoint57p_post, checkpoint57q_post, eckpoint57e_pre, checkpoint56a_post, checkpoint57h_done, checkpoint57j_post, checkpoint57f_pre, checkpoint56c_post, checkpoint57a_pre, checkpoint55a_post, checkpoint57o_post, checkpoint57k_post, checkpoint55e_post
Changes since 1.4: +6 -0 lines
Small modifs and fixes
(mostly change to real*4 for large-scale ECCO runs)

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 heimbach 1.5 # Altix
37     #---------
38     #CPPFLAGS = -DIS_DOUBLE
39     #FC = ifort
40     #FFLAGS = -mp -132 -r8 -i4 -w95 -W0 -WB -CB -fpe0 -traceback
41    
42 heimbach 1.3 # O3K
43     #---------
44     #CPPFLAGS = -DIS_DOUBLE
45     #FC = f77
46     #FFLAGS = -extend_source -bytereclen -mips4 -r8 -static
47    
48     # Linux
49     #---------
50     CPPFLAGS = -DIS_DOUBLE
51     FC = f77
52     FFLAGS =
53 heimbach 1.2
54     # SUN double precision.
55 heimbach 1.3 #---------
56     #FFLAGS = -u -r8 -e -g
57     #CPPFLAGS = -I. -DIS_DOUBLE -DINTEGER_BYTE=4 -DONLINE
58 heimbach 1.2
59     # Cray.
60 heimbach 1.3 #---------
61 heimbach 1.2 #FC = f90
62     #FFLAGS = -I. -e0 -N132 -O scalar3,vector3,task3
63     #CPPFLAGS = -Wp"-DREAL_BYTE=8 -DINTEGER_BYTE=8"
64    
65 heimbach 1.3 # File removal.
66     RM = rm -f
67 heimbach 1.2
68 heimbach 1.3 F77FILES = $(SRC:.F=.f)
69     OBJ = $(SRC:.F=.o)
70 heimbach 1.2
71 heimbach 1.3 .SUFFIXES: .o .f .F
72 heimbach 1.2
73 heimbach 1.3 all: $(ECCOOPTLIB)
74 heimbach 1.2
75 heimbach 1.3 $(ECCOOPTLIB): $(OBJ) $(F77FILES)
76     $(FC) -c $(FFLAGS) $(F77FILES)
77 heimbach 1.2 $(AR) $(ARFLAGS) $@ $?
78    
79 heimbach 1.3 depend:
80     makedepend -o .f $(SRC)
81 heimbach 1.2
82 heimbach 1.3 # The normal chain of rules is ( .F - .f - .o )
83     .F.f:
84     $(CPP) $(CPPFLAGS) > $@
85     .f.o:
86     $(FC) $(FFLAGS) -c $<
87 heimbach 1.2
88 heimbach 1.3 # Cleaning options.
89 heimbach 1.2 clean:
90 heimbach 1.3 $(RM) *.o *.f
91     # DO NOT DELETE
92 heimbach 1.2
93 heimbach 1.3 lsupdxx.f: blas1.h
94     lsline.f: blas1.h
95     hessupd.f: blas1.h
96     dgscale.f: blas1.h

  ViewVC Help
Powered by ViewVC 1.1.22