/[MITgcm]/MITgcm/optim/Makefile.bak
ViewVC logotype

Contents of /MITgcm/optim/Makefile.bak

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


Revision 1.2 - (show annotations) (download)
Fri Nov 15 04:03:24 2002 UTC (21 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint53f_post, checkpoint47j_post, checkpoint54a_pre, checkpoint53b_pre, checkpoint48d_pre, checkpoint51j_post, branch-exfmods-tag, checkpoint47e_post, checkpoint47i_post, checkpoint52l_pre, checkpoint52e_pre, hrcube4, hrcube5, checkpoint52j_post, checkpoint47f_post, checkpoint54b_post, checkpoint47c_post, checkpoint50e_post, checkpoint52e_post, checkpoint50c_post, checkpoint51n_pre, checkpoint47d_post, checkpoint47a_post, checkpoint52d_pre, checkpoint53c_post, checkpoint53d_post, checkpoint47h_post, checkpoint48e_post, checkpoint48d_post, checkpoint50c_pre, branchpoint-genmake2, checkpoint52j_pre, checkpoint54a_post, branch-netcdf, checkpoint50d_pre, checkpoint48f_post, checkpoint51r_post, checkpoint52b_pre, checkpoint52n_post, checkpoint51o_pre, checkpoint51i_post, checkpoint54d_post, checkpoint48c_post, checkpoint54e_post, checkpoint51e_post, checkpoint51b_post, checkpoint51l_pre, checkpoint52m_post, checkpoint51c_post, checkpoint53a_post, checkpoint47d_pre, checkpoint47, checkpoint48, checkpoint49, checkpoint47b_post, checkpoint51l_post, checkpoint48i_post, checkpoint51o_post, checkpoint51f_pre, checkpoint48h_post, checkpoint51q_post, checkpoint52l_post, checkpoint52k_post, checkpoint54, checkpoint53b_post, checkpoint51, checkpoint50, checkpoint53, checkpoint52, checkpoint50d_post, checkpoint52d_post, checkpoint51b_pre, checkpoint52a_post, checkpoint47g_post, checkpoint52b_post, checkpoint53g_post, checkpoint52f_post, checkpoint52c_post, checkpoint48a_post, checkpoint51h_pre, checkpoint50g_post, checkpoint50b_pre, checkpoint51g_post, ecco_c52_e35, checkpoint51f_post, checkpoint48b_post, checkpoint50b_post, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, checkpoint52a_pre, checkpoint51d_post, checkpoint48c_pre, checkpoint51m_post, checkpoint51t_post, checkpoint53d_pre, checkpoint54c_post, checkpoint50h_post, checkpoint52i_post, checkpoint51a_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51p_post, checkpoint51n_post, checkpoint48g_post, checkpoint51i_pre, checkpoint52i_pre, checkpoint51u_post, checkpoint52h_pre, checkpoint52f_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint51s_post
Branch point for: netcdf-sm0, branch-genmake2, branch-exfmods-curt, branch-nonh, tg2-branch, checkpoint51n_branch
Changes since 1.1: +86 -0 lines
o Incorporating QNVS line search routines into MITgcm
  (this is separate code, not compiled with MITgcm,
  and therefore not under pkg)
  - lsopt/
  - optim/

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 # changed:
8 #
9 #***********************************************************************
10
11 # The optimization routines.
12 SRC = optim_main.F \
13 optim_sub.F \
14 optim_numbmod.F \
15 optim_initmod.F \
16 optim_readdata.F \
17 optim_writedata.F \
18 optim_write_control.F \
19 simul.F
20
21 OBJ = optim_main.o \
22 optim_sub.o \
23 optim_numbmod.o \
24 optim_initmod.o \
25 optim_readdata.o \
26 optim_writedata.o \
27 optim_write_control.o \
28 simul.o
29
30 EXEDIR = ../exe/
31
32 # Location of library for optimization.
33 CPP = cat $< | /usr/ccs/lib/cpp
34 INCLUDEDIRS = -I. \
35 -I../eesupp/inc/ \
36 -I../model/inc/ \
37 -I../diags/inc/ \
38 -I../pkg/ecco/ \
39 -I../pkg/ctrl/
40
41 LIBDIRS = -L. \
42 -L../lsopt/ \
43 -L/opt/SUNWspro/SC4.2/lib/v7
44
45 LIBS = -llsopt_ecco \
46 -lblas1
47
48 # OPTMODE is either equal to OFFLINE or ONLINE
49 OPTMODE = OFFLINE
50 EXECUTABLE = $(EXEDIR)optim
51
52 # The cpp flags.
53 CPPFLAGS = -DREAL_BYTE=8 \
54 -DMAX_INDEPEND=29804 \
55 -D_RL='double precision' \
56 -D$(OPTMODE)
57
58 # FORTRAN compiler and its flags.
59 FC = f77
60 FFLAGS =
61
62 # File removal.
63 RM = rm -f
64
65 .SUFFIXES: .o .f .F
66
67 all: $(EXECUTABLE)
68 $(EXECUTABLE): $(OBJ)
69 $(FC) -o $@ $(FFLAGS) $(OBJ) $(LIBDIRS) $(LIBS)
70 depend:
71 makedepend -o .f $(INCLUDEDIRS) $(SRC)
72
73 # The normal chain of rules is ( .F - .f - .o )
74 .F.f:
75 $(CPP) $(CPPFLAGS) $(INCLUDEDIRS) > $@
76 .f.o:
77 $(FC) $(FFLAGS) -c $<
78
79 # Cleaning options.
80 clean:
81 $(RM) optim.x $(OBJ)
82
83 scratch:
84 $(RM) OPWARMD OPWARMI optim.x $(OBJ)
85
86 # DO NOT DELETE

  ViewVC Help
Powered by ViewVC 1.1.22