Changeset 1846 for trunk/MESOSCALE


Ignore:
Timestamp:
Dec 8, 2017, 1:57:14 PM (7 years ago)
Author:
mlefevre
Message:

MESOSCALE. -C option causes problem on some environment, got rid of in the makefiles and in configure.wrf (via makemeso)

Location:
trunk/MESOSCALE/LMD_MM_MARS
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/LES/LMD_LES_MARS_install

    r1766 r1846  
    9292mkdir -p mars_lmd/libf/phymars
    9393
     94
     95
     96# M Lefevre: option -C makes things bad in some OS
     97cd external
     98sed 's/-C//g' esmf_time_f90/Makefile > zolbxs ; mv zolbxs esmf_time_f90/Makefile
     99sed 's/-C//g' ioapi_share/makefile > zolbxs ; mv zolbxs ioapi_share/makefile
     100sed 's/-C//g' io_esmf/makefile > zolbxs ; mv zolbxs io_esmf/makefile
     101sed 's/-C//g' io_grib1/Makefile > zolbxs ; mv zolbxs io_grib1/Makefile
     102sed 's/-C//g' io_grib2/Makefile > zolbxs ; mv zolbxs io_grib2/Makefile
     103sed 's/-C//g' io_grib_share/Makefile > zolbxs ; mv zolbxs io_grib_share/Makefile
     104sed 's/-C//g' io_int/makefile > zolbxs ; mv zolbxs io_int/makefile
     105sed 's/-C//g' io_mcel/makefile > zolbxs ; mv zolbxs io_mcel/makefile
     106sed 's/-C//g' io_netcdf/makefile > zolbxs ; mv zolbxs io_netcdf/makefile
     107sed 's/-C//g' io_phdf5/Makefile > zolbxs ; mv zolbxs io_phdf5/Makefile
     108sed 's/-C//g' io_pnetcdf/makefile > zolbxs ; mv zolbxs io_pnetcdf/makefile
     109sed 's/-C//g' RSL_LITE/makefile > zolbxs ; mv zolbxs RSL_LITE/makefile
     110cd ..
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/external/esmf_time_f90/Makefile

    r11 r1846  
    3535        $(RM) Test1_ESMF.b Test1_ESMF.f
    3636        cp Test1.F90 Test1_ESMF.b
    37         $(CPP) -C -P -I. Test1_ESMF.b > Test1_ESMF.f
     37        $(CPP) -P -I. Test1_ESMF.b > Test1_ESMF.f
    3838
    3939Test1_ESMF.exe : libesmf_time.a Test1_ESMF.o
     
    4343        $(RM) Test1_WRFU.b Test1_WRFU.f
    4444        sed -e "s/ESMF_Mod/module_utility/g" -e "s/ESMF_/WRFU_/g" Test1.F90 > Test1_WRFU.b
    45         $(CPP) -C -P -I. Test1_WRFU.b > Test1_WRFU.f
     45        $(CPP) -P -I. Test1_WRFU.b > Test1_WRFU.f
    4646
    4747Test1_WRFU.exe : libesmf_time.a Test1_WRFU.o
     
    5151        $(RM) $@
    5252        $(SED_FTN) $*.F90 > $*.b
    53         $(CPP) -C -P -I. $*.b > $*.f
     53        $(CPP) -P -I. $*.b > $*.f
    5454        $(RM) $*.b
    5555        $(FC) -c $*.f
     
    5858        $(RM) $@
    5959        $(SED_FTN) $*.F90 > $*.b
    60         $(CPP) -C -P -I. $*.b > $*.f
     60        $(CPP) -P -I. $*.b > $*.f
    6161        $(RM) $*.b
    6262
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/external/io_esmf/makefile

    r11 r1846  
    2525
    2626.F90.o :
    27         $(CPP) -I../ioapi_share -C -P -DESMF_COUPLING $*.F90 > $*.f
     27        $(CPP) -I../ioapi_share -P -DESMF_COUPLING $*.F90 > $*.f
    2828        $(FC) -c -g -I../ioapi_share $*.f
    2929
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/external/io_mcel/makefile

    r11 r1846  
    66FFLAGS  =  $(OPTS) -w -g
    77LIBS    =
    8 CPP     = /lib/cpp -C -P $(TRADFLAG)
     8CPP     = /lib/cpp -P $(TRADFLAG)
    99M4      = m4 -Uinclude -Uindex -Ulen
    1010AR      = ar
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/external/io_netcdf/makefile

    r11 r1846  
    66FFLAGS  =  $(FCFLAGS) -I$(NETCDFPATH)/include -I../ioapi_share
    77LIBS    = -L$(NETCDFPATH)/lib -lnetcdf
    8 CPP1    = $(CPP) -C -P $(TRADFLAG)
     8CPP1    = $(CPP) -P $(TRADFLAG)
    99M4      = m4 -Uinclude -Uindex -Ulen
    1010AR      = ar
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/external/io_phdf5/Makefile

    r11 r1846  
    88LIBSHDF = $(FORTRANLIB) $(PHDF5PATH)/lib/libhdf5.a
    99LIB     =-lm -lz
    10 CPP     = /lib/cpp -C -P $(TRADFLAG)
     10CPP     = /lib/cpp -P $(TRADFLAG)
    1111M4      = m4 -Uinclude -Uindex -Ulen
    1212AR      = ar
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/external/io_pnetcdf/makefile

    r11 r1846  
    66FFLAGS  =  $(FCFLAGS) -I$(NETCDFPATH)/include -I../ioapi_share
    77LIBS    = -L$(NETCDFPATH)/lib -lnetcdf
    8 CPP1    = $(CPP) -C -P $(TRADFLAG)
     8CPP1    = $(CPP) -P $(TRADFLAG)
    99M4      = m4 -Uinclude -Uindex -Ulen
    1010AR      = ar
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r1752 r1846  
    603603  then
    604604     donotcompilephys=1
    605   fi   
     605  fi
     606
     607  # some compiler and environment mess things up when using -C
     608  sed s+"-C"+""+g configure.wrf > yeah ; mv -f yeah configure.wrf   
    606609
    607610#exit
Note: See TracChangeset for help on using the changeset viewer.