Changeset 1244a7b in flex_extract.git


Ignore:
Timestamp:
Nov 27, 2018, 9:04:24 PM (6 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
f08c756
Parents:
d43706b
Message:

updated fortran program Makefiles

Location:
source/fortran
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • source/fortran/Makefile.CRAY

    r25b14be r1244a7b  
    1010.SUFFIXES: .o .c .c~ .f .f~ .F90 .f90 .f90~ .f95 .f95~ .F .F~ .y .y~ .l .l~ \
    1111           .s .s~ .sh .sh~ .h .h~ .C .C~ .a
    12 
    13 
    14 #GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib1.12.3//include
    15 #GRIB_API_LIB=-openmp -L/usr/local/gcc-4.9.3/grib1.12.3/lib -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper
    16 #EMOSLIB=-lemosR64
    1712
    1813OPT     =
     
    4136
    4237clean:
    43         rm *.o
     38        rm *.o *.mod ${EXE}
    4439
    4540phgrreal.o: phgrreal.f
     
    5247        $(F90C) -c -g -O3 ftrafo.f
    5348
    54 $(BINDIR)/CONVERT2:     phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
    55         $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
     49$(BINDIR)/${EXE}:       phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
     50        $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
    5651
    5752
  • source/fortran/Makefile.gfortran

    rc97d8ec r1244a7b  
    1313OPT     = -g
    1414DEBUG   = -g
    15 LIB     =  $(GRIB_API_LIB) $(EMOSLIB) 
    16 #$(ECCODES_LIB)
     15LIB     =  $(ECCODES_LIB) $(EMOSLIB)   
    1716
    1817FC=gfortran   -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore  -ffixed-line-length-132 -fopenmp  -fconvert=big-endian 
    1918F90C=gfortran   -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore  -ffixed-line-length-132 -fopenmp  -fconvert=big-endian
    2019
    21 FFLAGS =  $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR) 
    22 #-I$(ECCODES_INCLUDE_DIR)
    23 F90FLAGS =  $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR)
    24 #-I$(ECCODES_INCLUDE_DIR)
     20FFLAGS =  $(OPT) -I. -I$(ECCODES_INCLUDE_DIR)
     21
     22F90FLAGS =  $(OPT) -I. -I$(ECCODES_INCLUDE_DIR)
    2523
    2624LDFLAGS =  $(OPT)
     
    3937
    4038clean:
    41         rm *.o
     39        rm *.o *.mod ${EXE}
    4240
    4341phgrreal.o: phgrreal.f
  • source/fortran/Makefile.local.gfortran

    re585e1b r1244a7b  
    1212
    1313
    14 GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib_api-1.14.3//include
     14GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib_api-1.14.3/include
    1515GRIB_API_LIB= -L/usr/local/gcc-4.9.3/grib_api-1.14.3/lib -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper
    1616
     
    4646
    4747clean:
    48         rm *.o *.mod CONVERT2
     48        rm *.o *.mod ${EXE}
    4949
    5050phgrreal.o: phgrreal.f
     
    5757        $(F90C) -c -g -O3 -fopenmp ftrafo.f
    5858
    59 $(BINDIR)/CONVERT2:     phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
    60         $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
     59$(BINDIR)/${EXE}:       phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
     60        $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
    6161
    6262
  • source/fortran/Makefile.local.ifort

    r25b14be r1244a7b  
    1111           .s .s~ .sh .sh~ .h .h~ .C .C~ .a
    1212
     13#GRIB_API_INCLUDE_DIR=/home/srvx1/tmc/TestEnv/Libraries/grib_api-1.25.0_ifort/include
     14#GRIB_API_LIB=-L/home/srvx1/tmc/TestEnv/Libraries/grib_api-1.25.0_ifort/lib  -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper -qopenmp
    1315
     16
     17#GRIB_API_INCLUDE_DIR=/usr/local/ifort/grib1.12.3//include
     18#GRIB_API_LIBS=-openmp -L/usr/local/ifort/grib1.12.3/lib -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper
     19           
     20           
    1421GRIB_API_INCLUDE_DIR=/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/include
    15 GRIB_API_LIB= -L/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/lib -Bstatic  -leccodes_f90  -leccodes -Bdynamic  -lm  -ljasper 
     22GRIB_API_LIB= -L/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/lib -Bstatic  -leccodes_f90  -leccodes -Bdynamic  -lm  -ljasper
    1623
    1724OPT     = -g -O3 -mcmodel=medium -unroll -inline -heap-arrays 32
     
    1926LIB     =  $(GRIB_API_LIB) -lemosR64 -lgfortran
    2027
    21 FC=/opt/intel/bin/ifort -132  -traceback -r8
    22 F90C=/opt/intel/bin/ifort -132  -traceback -r8
     28FC=/opt/intel/composerxe/bin/ifort -132  -traceback -r8
     29F90C=/opt/intel/composerxe/bin/ifort -132  -traceback -r8
    2330
    2431FFLAGS =  $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR)
     
    4047
    4148clean:
    42         rm *.o
     49        rm *.o *.mod ${EXE}
    4350
    4451phgrreal.o: phgrreal.f
     
    5158        $(F90C) -c -g -O3 ftrafo.f
    5259
    53 $(BINDIR)/CONVERT2:     phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
    54         $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
     60$(BINDIR)/${EXE}:       phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
     61        $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
    5562
    5663
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG