make.hex.pg.old 842 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. INC_NETCDF =
  2. LIB_NETCDF= -lnetcdf
  3. LIB_LAPACK = /home/nersc/pavelsa/local/lib/pg/lapack.a /home/nersc/pavelsa/local/lib/pg/tmglib.a /home/nersc/pavelsa/local/lib/pg/blas.a
  4. INCS = $(INC_NETCDF)
  5. LIBS = $(LIB_LAPACK) $(LIB_NETCDF)
  6. ifeq ($(MPI),YES)
  7. CF90 = ftn
  8. PARO = -Mmpi -Mprof
  9. CPPFLAGS = -DQMPI
  10. else
  11. CF90 = ftn
  12. PAR0 =
  13. endif
  14. CF77 = $(CF90)
  15. CC = $(CF90)
  16. LD = $(CF90)
  17. CPP = /usr/bin/cpp -traditional-cpp
  18. CPPARCH = -DIA32 -DFFTW -DNOMPIR8
  19. CPPFLAGS += -P $(CPPARCH) -DF90_NOFLUSH
  20. SIZEO = -r8
  21. OPTO =
  22. ARCHO=
  23. INLO =
  24. DIVO= -byteswapio
  25. DEBUG_FLAGS = -g -Minform=inform
  26. FFLAGS = $(SIZEO) $(OPTO) $(ARCHO) $(PARO) $(INLO) $(DIVO) $(DEBUG_FLAGS) $(INCS)
  27. CFLAGS = $(FFLAGS) -DpgiFortran
  28. LINKFLAGS = $(SIZEO) $(OPTO) $(ARCHO) $(PARO) $(INLO) $(DIVO) $(DEBUG_FLAGS)
  29. # language-specific flags
  30. #
  31. F77FLG = -Mfixed
  32. F90FLG = -Mfree