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

Diff of /MITgcm/optim/Makefile

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

revision 1.1.2.1 by heimbach, Tue Feb 5 20:34:34 2002 UTC revision 1.1.2.2 by heimbach, Wed May 28 21:53:58 2003 UTC
# Line 29  OBJ            = optim_main.o                  \ Line 29  OBJ            = optim_main.o                  \
29    
30  EXEDIR     = ./  EXEDIR     = ./
31    
32  # Location of library for optimization.  # Location of cpp preprocessor
33    # default is (Linux)
34    CPP             = cat $< | /lib/cpp
35  # on SUNOS  # on SUNOS
36  # CPP           = cat $< | /usr/ccs/lib/cpp  # CPP           = cat $< | /usr/ccs/lib/cpp
37  # on linux  
 CPP             = cat $< | /lib/cpp  
38  INCLUDEDIRS     = -I.                           \  INCLUDEDIRS     = -I.                           \
39                    -I../bin/                     \                    -I../bin/                     \
40                    -I../eesupp/inc/              \  
41                    -I../model/inc/               \  # the following ones should not be used as they
42                    -I../diags/inc/               \  # may not contain the specific configuration headers.
43                    -I../pkg/ecco/                \  #                  -I../eesupp/inc/             \
44                    -I../pkg/ctrl/  #                  -I../model/inc/              \
45    #                  -I../diags/inc/              \
46    #                  -I../pkg/ecco/               \
47    #                  -I../pkg/ctrl/
48    
49  LIBDIRS         = -L.                           \  LIBDIRS         = -L.                           \
50                    -L../lsopt/                   \                    -L../lsopt/
                   -L/opt/SUNWspro/SC4.2/lib/v7  
51    
52  LIBS            = -llsopt_ecco                  \  LIBS            = -llsopt_ecco                  \
53                    -lblas1                    -lblas1
# Line 54  OPTMODE         = OFFLINE Line 57  OPTMODE         = OFFLINE
57  EXECUTABLE      = $(EXEDIR)optim.x  EXECUTABLE      = $(EXEDIR)optim.x
58    
59  # The cpp flags.  # The cpp flags.
60  CPPFLAGS        = -DREAL_BYTE=8                 \  CPPFLAGS        = -DREAL_BYTE=4                 \
61                    -DMAX_INDEPEND=29804          \                    -DMAX_INDEPEND=1000000                \
62                    -D_RL='double precision'      \                    -D_RL='double precision'      \
63                    -D$(OPTMODE)                    -D$(OPTMODE)
64    
65  # FORTRAN compiler and its flags.  # FORTRAN compiler and its flags.
66  FC              = f77  # default is (Linux)
67  FFLAGS          = -C  FC              = f77
68    FFLAGS          =
69    # AER cluster
70    #FC             = /opt/mpich/bin/mpif77
71    #FFLAGS         = -byteswapio -r8 -Mnodclchk -Mextend
72    
73  # File removal.  # File removal.
74  RM              = rm -f  RM              = rm -f
# Line 82  depend: Line 89  depend:
89    
90  # Cleaning options.  # Cleaning options.
91  clean:  clean:
92          $(RM) $(EXEDIR)optim.x $(OBJ)          $(RM) $(EXEDIR)optim.x *.o *.f
93    
94  scratch:  scratch:
95          $(RM) OPWARMD OPWARMI $(EXEDIR)optim.x $(OBJ)          $(RM) OPWARMD OPWARMI $(EXEDIR)optim.x $(OBJ)

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.22