/[MITgcm]/MITgcm/lsopt/Makefile_macosx
ViewVC logotype

Annotation of /MITgcm/lsopt/Makefile_macosx

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


Revision 1.1 - (hide annotations) (download)
Thu Nov 11 00:38:43 2010 UTC (13 years, 6 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62o, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
- Makefile to compile MITgcm/lsopt on a Mac running OSX.

1 gforget 1.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 $< | /usr/local/bin/cpp -P -traditional
30     # on SUNOS
31     # CPP = cat $< | /usr/ccs/lib/cpp
32    
33     ARFLAGS = rv
34     ECCOOPTLIB = liblsopt_ecco.a
35    
36     RANLIB = ranlib
37     # Altix
38     #---------
39     #CPPFLAGS = -DIS_DOUBLE
40     #FC = ifort
41     #FFLAGS = -mp -132 -r8 -i4 -w95 -W0 -WB -CB -fpe0 -traceback -convert big_endian -assume byterecl
42    
43     # O3K
44     #---------
45     #CPPFLAGS = -DIS_DOUBLE
46     #FC = f77
47     #FFLAGS = -extend_source -bytereclen -mips4 -r8 -static
48    
49     # Linux
50     #---------
51     CPPFLAGS = -DIS_DOUBLE
52     FC = gfortran
53     FFLAGS = -fconvert=big-endian
54    
55     # SUN double precision.
56     #---------
57     #FFLAGS = -u -r8 -e -g
58     #CPPFLAGS = -I. -DIS_DOUBLE -DINTEGER_BYTE=4 -DONLINE
59    
60     # Cray.
61     #---------
62     #FC = f90
63     #FFLAGS = -I. -e0 -N132 -O scalar3,vector3,task3
64     #CPPFLAGS = -Wp"-DREAL_BYTE=8 -DINTEGER_BYTE=8"
65    
66     # File removal.
67     RM = rm -f
68    
69     F77FILES = $(SRC:.F=.for)
70     OBJ = $(SRC:.F=.o)
71    
72     .SUFFIXES: .o .for .F
73    
74     all: $(ECCOOPTLIB)
75    
76     $(ECCOOPTLIB): $(OBJ) $(F77FILES)
77     $(FC) -c $(FFLAGS) $(F77FILES)
78     $(AR) $(ARFLAGS) $@ $?
79     $(RANLIB) $@
80    
81     depend:
82     makedepend -o .for $(SRC)
83    
84     # The normal chain of rules is ( .F - .for - .o )
85     .F.for:
86     $(CPP) $(CPPFLAGS) > $@
87     .for.o:
88     $(FC) $(FFLAGS) -c $<
89    
90     # Cleaning options.
91     clean:
92     $(RM) *.o *.for
93     # DO NOT DELETE
94    
95     lsupdxx.for: blas1.h
96     lsline.for: blas1.h
97     hessupd.for: blas1.h
98     dgscale.for: blas1.h

  ViewVC Help
Powered by ViewVC 1.1.22