Help with installing AMET

I’m having problems when I try to configure amet, the Flags contained in the downloaded file, have an error. I use the gcc compiler. How can I solve this?

gfortran: error: source: No such file or directory
gfortran: error: all: No such file or directory
gfortran: error: unrecognized command line option ‘-mp1’
gfortran: error: unrecognized command line option ‘-fp-model’
gfortran: error: unrecognized command line option ‘-ftz’
gfortran: error: unrecognized command line option ‘-simd’
gfortran: error: unrecognized command line option ‘-align’
gfortran: error: unrecognized command line option ‘-vec-guard-write’
make: *** [module_file.o] Error 1

Can you please tell us what step in the quickstart or tutorial instructions you are obtaining this error? If you are at this step: https://github.com/USEPA/AMET/blob/master/docs/AMET_QuickStart_Guide_v14.md#install-amet-source-code-and-tier-3-software
You will need to confirm that you have installed the tier 2 libraries: I/O API and netCDF. For additional instructions on how to install those libraries, you can refer back to the CMAQ installation instructions: https://github.com/USEPA/CMAQ/blob/master/DOCS/Users_Guide/Tutorials/CMAQ_UG_tutorial_build_library_gcc.md

This sounds as though your build is trying to use the flags for Intel ifort. I think the problem is that you need to tell the build-system that the compiler is gcc.