12345678910111213 |
- FC=mpif90
- FLAGS= -r8 -O3 -march=core-avx2 -ip -fp-model precise -extend-source 132
- NETCDF_INC_DIR = $(addsuffix /,/)$(EBROOTNETCDF)/include $(EBROOTNETCDFMINFORTRAN)/include
- NETCDF_LIB_DIR = $(addsuffix /,/)$(EBROOTNETCDF)/lib64 $(EBROOTNETCDFMINFORTRAN)/lib
- NETCDF_LIBS = $(addprefix -l,netcdff netcdf)
- all:
- mkdir -p bin
- $(FC) src/mpp_domain_decomposition.f90 -o bin/mpp_domain_decomposition.exe $(FLAGS) -I$(NETCDF_INC_DIR) -L$(NETCDF_LIB_DIR) $(NETCDF_LIBS)
- clean:
- rm -f bin/mpp_domain_decomposition.exe
|