make.zenobe 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Library and include
  2. INC_NETCDFF = -I${EBROOTNETCDFMINFORTRAN}/include
  3. INC_NETCDF = -I${EBROOTNETCDF}/include
  4. LIB_NETCDF = -L${EBROOTNETCDF}/lib64 -lnetcdf
  5. LIB_NETCDFF = -L${EBROOTNETCDFMINFORTRAN}/lib -lnetcdff
  6. INC_LAPACK = -I${EBROOTSCALAPACK}/include
  7. LIB_LAPACK = -L${EBROOTSCALAPACK}/lib -lscalapack
  8. LIB_BLAS = -L${EBROOTOPENBLAS}/lib -lopenblas
  9. INC_BLAS = -I${EBROOTOPENBLAS}/include
  10. INC_FFT = -I${EBROOTFFTW}/include
  11. LIB_FFT = -L${EBROOTFFTW}/lib -lfftw3 -lfftw3_mpi
  12. INCS = $(INC_NETCDF) $(INC_FFT) $(INC_NETCDFF) $(INC_LAPACK) $(INC_BLAS)
  13. LIBS = $(LIB_NETCDF) $(LIB_NETCDFF) $(LIB_FFT) $(LIB_LAPACK) $(LIB_BLAS)
  14. CF90 = mpif90
  15. CPPFLAGS = -D_G95_ -DQMPI
  16. CF77 = $(CF90)
  17. LD = $(CF90)
  18. CPP = cpp -traditional-cpp
  19. CC = mpicc
  20. CPPARCH =
  21. CPPFLAGS +=
  22. SIZEO = -fdefault-real-8
  23. OPTO = -O3
  24. DEBUG_FLAGS = #-g -traceback -W1 -warn unused -warn uncalled -debug extended -debug-parameters -ftrapuv -fpe0
  25. FFLAGS = $(SIZEO) $(OPTO) $(DEBUG_FLAGS) $(INCS)
  26. CFLAGS = -Df2cFortran $(OPTO) $(INCS)
  27. LINKFLAGS = $(SIZEO) $(OPTO) $(DEBUG_FLAGS) $(LIBS)
  28. # language-specific flags
  29. #
  30. F77FLG =
  31. F90FLG =