Only to inform that if you want to install the Preprocessor code with intel, consider to modify the Makefile, as follows:
F90 = ifort #$(FC) #LIBS = -L$(NETCDF_DIR)/lib -lnetcdf LIBS = -L$(NETCDF_DIR)/lib -lnetcdff -lnetcdf INCLUDE_MODULES = -I$(NETCDF_DIR)/include FFLAGS = -O3 -Bstatic
Please, verify if $NETCDF and $NETCDF_DIR exists. I understand that we need to install netcdf-c and netcdf-fortran. After that, I compiled 4 submodules of ‘prepmega4cmaq’ typing the following commands:
./make_util prepmegan4cmaq_lai.x ./make_util prepmegan4cmaq_grwform.x ./make_util prepmegan4cmaq_ecotype.x ./make_util prepmegan4cmaq_cantype.x
I successfully created each prepmegan4cmaq files. However, I was wondering if I did correctly the MEGAN preprocessors.