Changeset 3043


Ignore:
Timestamp:
Oct 25, 2017, 2:01:57 PM (7 years ago)
Author:
Ehouarn Millour
Message:

Some fixes to enable compiling with the pgf compiler and updated arch files for pgf on Ciclad.
EM

Location:
LMDZ6/trunk
Files:
1 added
6 edited
3 moved

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/arch/arch-pgf_CICLAD.fcm

    r3040 r3043  
    1 %COMPILER            /usr/lib64/openmpi/1.2.8-pgf/bin/mpif90
    2 %LINK                /usr/lib64/openmpi/1.2.8-pgf/bin/mpif90
     1%COMPILER            $MPI_BIN/mpif90
     2%LINK                $MPI_BIN/mpif90
    33%AR                  ar
    44%MAKE                gmake
    55%FPP_FLAGS           -P -traditional
    66%FPP_DEF             NC_DOUBLE BLAS SGEMV=DGEMV SGEMM=DGEMM
    7 %BASE_FFLAGS         -i4 -r8
     7%BASE_FFLAGS         -i4 -r8 -Mdalign
    88%PROD_FFLAGS         -O2 -Munroll -Mnoframe -Mautoinline -Mcache_align
    9 %DEV_FFLAGS          -Mbounds
    10 %DEBUG_FFLAGS        -g -traceback -Mbounds -Mchkfpstk -Mchkstk -Ktrap=denorm,divz,ovf,unf
     9%DEV_FFLAGS          -O2 -traceback -Mbounds
     10%DEBUG_FFLAGS        -O2 -g -traceback -Mbounds -Mchkfpstk -Mchkstk -Ktrap=denorm,divz,ovf,unf
    1111%MPI_FFLAGS
    1212%OMP_FFLAGS          -mp
    13 %BASE_LD             -lblas
    14 %MPI_LD              -L/usr/lib64/openmpi/1.2.8-pgf/lib
     13%BASE_LD             -L${PGI_HOME}/lib -lblas -Wl,-rpath=$NETCDF_HOME/lib
     14%MPI_LD              -L${MPI_LIB}
    1515%OMP_LD              -mp
  • LMDZ6/trunk/arch/arch-pgf_CICLAD.path

    r3040 r3043  
    1 NETCDF_LIBDIR="-L/opt/netcdf/pgf/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/opt/netcdf/pgf/include
     1NETCDF_LIBDIR="-L${NETCDF_HOME}/lib -lnetcdf -lnetcdff"
     2NETCDF_INCDIR=-I${NETCDF_HOME}/include
    33IOIPSL_INCDIR=$LMDGCM/../../lib
    44IOIPSL_LIBDIR=$LMDGCM/../../lib
     
    99INCA_LIBDIR=$LMDGCM/../INCA/config/lib
    1010INCA_INCDIR=$LMDGCM/../INCA/config/lib
     11XIOS_INCDIR=$LMDGCM/../XIOS/inc
     12XIOS_LIBDIR=$LMDGCM/../XIOS/lib
  • LMDZ6/trunk/libf/phylmd/cv3_enthalpmix.F90

    r2902 r3043  
    5050  REAL                                      :: cpn
    5151  REAL                                      :: x, y, p0, p0m1, zdelta, zcor
    52   REAL                                      :: dpmin=1.
     52  REAL, SAVE                                :: dpmin=1.
    5353!$OMP THREADPRIVATE(dpmin)
    5454  REAL, DIMENSION(len)                      :: plim2p  ! = min(plim2(:),plim1(:)-dpmin)
  • LMDZ6/trunk/libf/phylmd/cv3_estatmix.F90

    r2902 r3043  
    5353  REAL                                      :: cpn
    5454  REAL                                      :: x, y, p0, zdelta, zcor
    55   REAL                                      :: dpmin=1.
     55  REAL, SAVE                                :: dpmin=1.
    5656!$OMP THREADPRIVATE(dpmin)
    5757  REAL, DIMENSION(len)                      :: plim2p  ! = min(plim2(:),plim1(:)-dpmin)
  • LMDZ6/trunk/libf/phylmd/infotrac_phy.F90

    r2690 r3043  
    4343  INTEGER, ALLOCATABLE, DIMENSION(:,:), SAVE    :: iqfils
    4444  INTEGER, ALLOCATABLE, DIMENSION(:), SAVE    :: iqpere
    45 !$OMP THREADPRIVATE(nqfils,nqdesc,nqdesc_tot,iqfils,iqpers)
     45!$OMP THREADPRIVATE(nqfils,nqdesc,nqdesc_tot,iqfils,iqpere)
    4646
    4747! conv_flg(it)=0 : convection desactivated for tracer number it
  • LMDZ6/trunk/libf/phylmd/phytrac_mod.F90

    r2784 r3043  
    4949!$OMP THREADPRIVATE(d_tr_trsp,d_tr_sscav,d_tr_sat,d_tr_uscav,qPr,qDi)
    5050!$OMP THREADPRIVATE(d_tr_insc,d_tr_bcscav,d_tr_evapls,d_tr_ls,qPrls)
    51 !$OMP THREADPRIVATE(d_tr,d_tr_cl,d_tr_dry,flux_tr_dry,d_tr_dec,d_tr_cv)
     51!$OMP THREADPRIVATE(d_tr_cl,d_tr_dry,flux_tr_dry,d_tr_dec,d_tr_cv)
    5252
    5353
  • LMDZ6/trunk/libf/phylmd/regr_pr_comb_coefoz_m.F90

    r2788 r3043  
    128128    !$omp end master
    129129
    130     call regr_pr_time_av(ncid, (/"a2       ", "a4       ", "a6       ", &
    131          "P_net_Mob", "r_Mob    ", "temp_Mob ", "R_Het    "/), REAL(julien-1), &
     130    call regr_pr_time_av(ncid, (/"a2           ", "a4           ", "a6           ", &
     131         "P_net_Mob    ", "r_Mob        ", "temp_Mob     ", "R_Het        "/), REAL(julien-1), &
    132132         press_in_edg, paprs, coefoz)
    133133    a2 = coefoz(:, :, 1)
  • LMDZ6/trunk/libf/phylmd/rrtm/susw15.F90

    r2010 r3043  
    5858
    5959IMPLICIT NONE
    60 REAL(KIND=JPRB)   :: ZPDH2O=0.8_JPRB
    61 REAL(KIND=JPRB)   :: ZPDUMG=0.75_JPRB
    62 REAL(KIND=JPRB)   :: ZPRH2O=30000._JPRB
    63 REAL(KIND=JPRB)   :: ZPRUMG=30000._JPRB
     60REAL(KIND=JPRB),SAVE   :: ZPDH2O=0.8_JPRB
     61REAL(KIND=JPRB),SAVE   :: ZPDUMG=0.75_JPRB
     62REAL(KIND=JPRB),SAVE   :: ZPRH2O=30000._JPRB
     63REAL(KIND=JPRB),SAVE   :: ZPRUMG=30000._JPRB
    6464
    6565!$OMP THREADPRIVATE(zpdh2o,zpdumg,zprh2o,zprumg)
Note: See TracChangeset for help on using the changeset viewer.