Makefile 443 B

12345678910111213
  1. FC=mpif90
  2. FLAGS= -O2 -fp-model precise -march=core-avx2 -r8
  3. NETCDF_INC_DIR = $(addsuffix /,${EBROOTNETCDFMINFORTRAN})include
  4. NETCDF_LIB_DIR = $(addsuffix /,${EBROOTNETCDFMINFORTRAN})lib
  5. NETCDF_LIBS = $(addprefix -l,netcdff netcdf)
  6. all:
  7. mkdir -p bin
  8. $(FC) src/mpp_domain_decomposition.f90 -o bin/mpp_domain_decomposition.exe $(FLAGS) -I$(NETCDF_INC_DIR) -L$(NETCDF_LIB_DIR) $(NETCDF_LIBS)
  9. clean:
  10. rm -f bin/mpp_domain_decomposition.exe