Changeset 2212


Ignore:
Timestamp:
02/24/14 16:10:50 (10 years ago)
Author:
mafoipsl
Message:

For IPSLCM6 add make_X64_ADA for OASIS3-MCT compilation on ada.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/SOURCES/OASIS3-MCT/make_X64_ADA

    r2211 r2212  
    11# 
    22# Include file for OASIS3 Makefile for a Linux system using  
    3 # Portland Group Fortran Compiler and MPICH 
     3# Intel Fortran Compiler 
    44# 
    55############################################################################### 
     
    1010# Paths for libraries, object files and binaries 
    1111# 
    12 # COUPLE        : path for oasis3-mct main directory 
     12# COUPLE        : path for oasis3-mct main directory. Filled with ins_make. 
    1313COUPLE          =  
    1414# 
     
    1717# 
    1818# MPI library 
    19 #For machines in training room, put MPIDIR      = /usr/local/pgi/linux86-64/9.0/mpi/mpich/ 
     19# not required on ada 
    2020#MPIDIR      = /opt/mpi/bullxmpi/1.1.16.5 
    2121#MPIBIN      = $(MPIDIR)/bin 
     
    2323#MPILIB      = -L$(MPIDIR)/lib 
    2424# 
    25 # NETCDF library 
    26 NETCDF_INCLUDE  = ${NETCDF_INC_DIR} 
    27 NETCDF_LIBRARY  = -L${NETCDF_LIB_DIR} -lnetcdff -lnetcdf  
     25# NETCDF library : 4.1.3 and HDF5 library : 1.8.9 forced 
     26NETCDF_INCLUDE  = /smplocal/pub/NetCDF/4.1.3/mpi/include 
     27NETCDF_LIBRARY  = -L/smplocal/pub/NetCDF/4.1.3/mpi/lib -lnetcdff -lnetcdf -lnetcdf_c++ -L/smplocal/pub/HDF5/1.8.9/par/lib -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -Bdynamic -lz 
    2828# 
    2929# Compiling and other commands 
    3030MAKE        = gmake 
    31 F90         = mpif90 
     31F90         = mpiifort 
    3232F           = $(F90) 
    3333f90         = $(F90) 
    3434f           = $(F90) 
    35 CC          = mpicc 
    36 LD          = mpif90 
     35CC          = mpiicc 
     36LD          = mpiifort 
    3737AR          = ar 
    3838ARFLAGS     = -ruv 
     
    4545# -g is necessary in F90FLAGS and LDFLAGS for pgf90 versions lower than 6.1 
    4646#  
    47 F90FLAGS_1  = -O2 -xAVX -I. 
    48 #F90FLAGS_1  = -O3 -xAVX -I. -fp-model precise 
     47F90FLAGS_1  = -O2 -I. 
    4948f90FLAGS_1  = $(F90FLAGS_1) 
    5049FFLAGS_1    = $(F90FLAGS_1) 
Note: See TracChangeset for help on using the changeset viewer.