Changeset 40 for branches


Ignore:
Timestamp:
01/21/16 21:58:51 (8 years ago)
Author:
roche
Message:

Little tweaks for getting libgrisli without main program. Backported gfortran makefile changes into ifort makefile.

Location:
branches/iLoveclim/SOURCES
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/iLoveclim/SOURCES/Makefile

    r31 r40  
    1010 
    1111# Choice for compiler (ifort = 1, gfortran = 0) 
    12 ifort ?= 1 
     12ifort ?= 0 
    1313 
    1414# Choice for librairies (mkl_c = 1 = MKL,  = 0 = BLAS) 
    1515# NOTA: mkl_c = 1 with ifort = 0 ignores the MKL and uses BLAS anyhow 
    16 mkl_c ?= 1 
     16mkl_c ?= 0 
    1717 
    1818ifeq ($(ifort),1) 
  • branches/iLoveclim/SOURCES/Makefile.grisli-gfortran.inc

    r36 r40  
    4545        climat-forcage-insolation_mod.o climat_GrIce2sea_years_mod.o \ 
    4646        climat-perturb_mod-0.4.o \ 
    47         ablation_mod.o no_ablation_mod.o\ 
     47        ablation_mod.o no_ablation_mod.o \ 
    4848        climat_coupl_atm_mod.o 
    4949 
     
    147147        vtoutput-0.2.o  courbures.o 
    148148 
    149 #       vtoutput-0.2.o steps_time_loop.o courbures.o  
     149#       vtoutput-0.2.o steps_time_loop.o courbures.o 
    150150 
    151151 
     
    216216        lect-anteis_mod.o \ 
    217217        bmelt-ant-regions_mod.o \ 
     218        bmelt-ant-regions-oce_mod.o \ 
    218219        fake-routines-ant_mod.o module_choix-antar40-0.4.o \ 
    219220        track_ant40_mod.o 
     
    517518 
    518519bmelt-ant-regions_mod.o : Ant40_files/bmelt-ant-regions_mod.f90 
    519         $(FT)  Ant40_files/bmelt-ant-regions_mod.f90 
     520        $(FT) Ant40_files/bmelt-ant-regions_mod.f90 
     521 
     522bmelt-ant-regions-oce_mod.o : Ant40_files/bmelt-ant-regions-oce_mod.f90 
     523        $(FT) Ant40_files/bmelt-ant-regions-oce_mod.f90 
    520524 
    521525bmelt-nor-regions_mod.o : Heminord_files/bmelt-nor-regions_mod.f90 
     
    10611065main3D-0.4-40km.o : main3D-0.4-40km.f90 #module3d.mod iso_declar.mod 
    10621066        $(F_NETCDF) main3D-0.4-40km.f90 
     1067 
     1068main_dummy.o : main_dummy.f90 
     1069        $(F_NETCDF) main_dummy.f90 
    10631070 
    10641071masque-0.2.o : masque-0.2.F#module3d.mod 
     
    16301637        $(diagnoshelf) \ 
    16311638        $(Liste_Netcdf) \ 
    1632         $(routines_communes) steps_time_loop.o \ 
     1639        $(routines_communes) main_dummy.o steps_time_loop.o \ 
    16331640        $(routine_elliptiques) \ 
    16341641        $(Liste_BLAS) 
     
    16431650        $(diagnoshelf) \ 
    16441651        $(Liste_Netcdf) \ 
    1645         $(routines_communes) steps_time_loop.o \ 
     1652        $(routines_communes) main_dummy.o steps_time_loop.o \ 
    16461653        $(routine_elliptiques) $(NCDF_LIB) $(Liste_BLAS) 
    16471654 
  • branches/iLoveclim/SOURCES/Makefile.grisli.inc

    r39 r40  
    146146        vtoutput-0.2.o  courbures.o 
    147147 
    148 #       vtoutput-0.2.o steps_time_loop.o courbures.o  
     148#       vtoutput-0.2.o steps_time_loop.o courbures.o 
    149149 
    150150 
     
    10641064main3D-0.4-40km.o : main3D-0.4-40km.f90 #module3d.mod iso_declar.mod 
    10651065        $(F_NETCDF) main3D-0.4-40km.f90 
     1066 
     1067main_dummy.o : main_dummy.f90 
     1068        $(F_NETCDF) main_dummy.f90 
    10661069 
    10671070masque-0.2.o : masque-0.2.F#module3d.mod 
     
    14651468 
    14661469endif 
    1467  
    14681470# routines netcdf 
    14691471 
     
    16361638        $(diagnoshelf) \ 
    16371639        $(Liste_Netcdf) \ 
    1638         $(routines_communes) steps_time_loop.o \ 
     1640        $(routines_communes) main_dummy.o steps_time_loop.o \ 
    16391641        $(routine_elliptiques) \ 
    16401642        $(Liste_BLAS) 
     
    16491651        $(diagnoshelf) \ 
    16501652        $(Liste_Netcdf) \ 
    1651         $(routines_communes) steps_time_loop.o \ 
     1653        $(routines_communes) main_dummy.o steps_time_loop.o \ 
    16521654        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB) $(Liste_BLAS) 
    16531655 
     
    18181820 
    18191821clean   : 
    1820         rm -f *.o *.mod *~  */*~ BLAS/*.o 
     1822        rm -f *.o *.mod *~  */*~ BLAS/*.o LAPACK/*.o libgrisli.a 
    18211823 
    18221824 
  • branches/iLoveclim/SOURCES/main3D-0.4-40km.f90

    r36 r40  
    100100!< 
    101101 
    102 program main3D 
    103  
    104 ! dmr --- void, just added for compilation 
    105  
    106 end program main3D 
    107  
    108102 
    109103subroutine ISM_NORD(timCplGRISyr) 
Note: See TracChangeset for help on using the changeset viewer.