Ignore:
Timestamp:
11/25/15 20:33:43 (9 years ago)
Author:
roche
Message:

Petites adaptations diverses du code pour compilation en gfortran. Ajout d un Makefile flexible a option pour choisir ifort ou gfortran.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/Fichiers-parametres/Makefile.tof-lsce3130.inc

    r14 r22  
    2020# lit le nom du fichier param pour lancer sur r2d2 par une commande :   echo jobparam | LBQ.... 
    2121 
    22 JOB = 'job'  
     22JOB = 'job' 
    2323 
    2424 
     
    3131#MKL_LIB   = -L$(DIRLOCAL)/intel/mkl9/lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread 
    3232#MKL_LIB  = -L$(DIRLOCAL)/intel/mkl10/lib/32  -lmkl -lguide -lpthread #  -lmklapack 
    33 MKL_LIB = -L$MKLROOT/lib/em64t -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread 
    34 export $MKL_LIB 
     33 
     34ifeq ($(mkl_c), 1) 
     35    MKL_LIB = -L$MKLROOT/lib/em64t -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread 
     36    export $MKL_LIB 
     37endif 
    3538 
    3639IFORT= ifort 
     
    4750F_NETCDF  = $(IFORT) $(ARITHM) -c  -I$(NCDF_INC) # -traceback  -CB   #-g #-pg -ipo # -g 
    4851FT        = $(IFORT) $(ARITHM) -c  -I$(NCDF_INC) # -traceback  -CB  #-g #-pg -ipo # -g 
     52F_90      = -w90 
    4953 
    5054 
Note: See TracChangeset for help on using the changeset viewer.