/[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.6 - (show annotations) (download)
Wed Sep 7 14:55:32 2005 UTC (18 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint57s_post, checkpoint58b_post, checkpoint57y_post, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint62s, checkpoint58a_post, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint57z_post, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58t_post, checkpoint58m_post, checkpoint57t_post, checkpoint63g, checkpoint57v_post, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint58w_post, checkpoint57y_pre, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58e_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint58r_post, checkpoint58n_post, checkpoint65o, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpint57u_post, checkpoint58k_post, checkpoint62b, checkpoint58v_post, checkpoint64y, checkpoint64x, checkpoint58l_post, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint61f, checkpoint58g_post, checkpoint58x_post, checkpoint61n, checkpoint59j, checkpoint58h_post, checkpoint58j_post, checkpoint61q, checkpoint57w_post, checkpoint61e, checkpoint58i_post, checkpoint57x_post, checkpoint58c_post, checkpoint58u_post, checkpoint58s_post, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y, HEAD
Changes since 1.5: +1 -1 lines
Extend FFLAGS for Altix

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 # Altix
37 #---------
38 #CPPFLAGS = -DIS_DOUBLE
39 #FC = ifort
40 #FFLAGS = -mp -132 -r8 -i4 -w95 -W0 -WB -CB -fpe0 -traceback -convert big_endian -assume byterecl
41
42 # 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
54 # SUN double precision.
55 #---------
56 #FFLAGS = -u -r8 -e -g
57 #CPPFLAGS = -I. -DIS_DOUBLE -DINTEGER_BYTE=4 -DONLINE
58
59 # Cray.
60 #---------
61 #FC = f90
62 #FFLAGS = -I. -e0 -N132 -O scalar3,vector3,task3
63 #CPPFLAGS = -Wp"-DREAL_BYTE=8 -DINTEGER_BYTE=8"
64
65 # File removal.
66 RM = rm -f
67
68 F77FILES = $(SRC:.F=.f)
69 OBJ = $(SRC:.F=.o)
70
71 .SUFFIXES: .o .f .F
72
73 all: $(ECCOOPTLIB)
74
75 $(ECCOOPTLIB): $(OBJ) $(F77FILES)
76 $(FC) -c $(FFLAGS) $(F77FILES)
77 $(AR) $(ARFLAGS) $@ $?
78
79 depend:
80 makedepend -o .f $(SRC)
81
82 # The normal chain of rules is ( .F - .f - .o )
83 .F.f:
84 $(CPP) $(CPPFLAGS) > $@
85 .f.o:
86 $(FC) $(FFLAGS) -c $<
87
88 # Cleaning options.
89 clean:
90 $(RM) *.o *.f
91 # DO NOT DELETE
92
93 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