|
||||
File indexing completed on 2018-03-02 18:36:18 UTC
view on githubraw file Latest commit 1a12e05e on 2010-11-11 00:38:43 UTC1a12e05e1a Gael*0001 0002 #*********************************************************************** 0003 # Makefile for the ECCO off-line large scale optimization. 0004 # 0005 # started: Patrick Heimbach heimbach@mit.edu 19-Jun-2000 0006 # 0007 # prebuilt Fortran77 reference implementation BLAS libraries at 0008 # http://www.netlib.org/blas/archives/ 0009 # 0010 # Further high-performance BLAS libraries by Kazushige Goto at 0011 # http://www.cs.utexas.edu/users/kgoto/ 0012 # 0013 #*********************************************************************** 0014 0015 # The optimization routines. 0016 SRC = lsopt_top.F \ 0017 lsupdxx.F \ 0018 lsline.F \ 0019 hessupd.F \ 0020 cubic.F \ 0021 dgscale.F \ 0022 instore.F \ 0023 dostore.F \ 0024 outstore.F \ 0025 lswri.F 0026 0027 # Location of cpp preprocessor 0028 # default is (Linux) 0029 CPP = cat $< | /usr/local/bin/cpp -P -traditional 0030 # on SUNOS 0031 # CPP = cat $< | /usr/ccs/lib/cpp 0032 0033 ARFLAGS = rv 0034 ECCOOPTLIB = liblsopt_ecco.a 0035 0036 RANLIB = ranlib 0037 # Altix 0038 #--------- 0039 #CPPFLAGS = -DIS_DOUBLE 0040 #FC = ifort 0041 #FFLAGS = -mp -132 -r8 -i4 -w95 -W0 -WB -CB -fpe0 -traceback -convert big_endian -assume byterecl 0042 0043 # O3K 0044 #--------- 0045 #CPPFLAGS = -DIS_DOUBLE 0046 #FC = f77 0047 #FFLAGS = -extend_source -bytereclen -mips4 -r8 -static 0048 0049 # Linux 0050 #--------- 0051 CPPFLAGS = -DIS_DOUBLE 0052 FC = gfortran 0053 FFLAGS = -fconvert=big-endian 0054 0055 # SUN double precision. 0056 #--------- 0057 #FFLAGS = -u -r8 -e -g 0058 #CPPFLAGS = -I. -DIS_DOUBLE -DINTEGER_BYTE=4 -DONLINE 0059 0060 # Cray. 0061 #--------- 0062 #FC = f90 0063 #FFLAGS = -I. -e0 -N132 -O scalar3,vector3,task3 0064 #CPPFLAGS = -Wp"-DREAL_BYTE=8 -DINTEGER_BYTE=8" 0065 0066 # File removal. 0067 RM = rm -f 0068 0069 F77FILES = $(SRC:.F=.for) 0070 OBJ = $(SRC:.F=.o) 0071 0072 .SUFFIXES: .o .for .F 0073 0074 all: $(ECCOOPTLIB) 0075 0076 $(ECCOOPTLIB): $(OBJ) $(F77FILES) 0077 $(FC) -c $(FFLAGS) $(F77FILES) 0078 $(AR) $(ARFLAGS) $@ $? 0079 $(RANLIB) $@ 0080 0081 depend: 0082 makedepend -o .for $(SRC) 0083 0084 # The normal chain of rules is ( .F - .for - .o ) 0085 .F.for: 0086 $(CPP) $(CPPFLAGS) > $@ 0087 .for.o: 0088 $(FC) $(FFLAGS) -c $< 0089 0090 # Cleaning options. 0091 clean: 0092 $(RM) *.o *.for 0093 # DO NOT DELETE 0094 0095 lsupdxx.for: blas1.h 0096 lsline.for: blas1.h 0097 hessupd.for: blas1.h 0098 dgscale.for: blas1.h
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated from https://github.com/MITgcm/MITgcm by the 2.2.1-MITgcm-0.1 LXR engine. The LXR team |