6/10/2023 0 Comments Aermod installation for macIn order to compile the source code of previous version 15181 under Linux and OS X with the free GNU Fortran compiler gfortran it is necessary to make some fixes to the source code, otherwise there is a segmentation fault error that prevents a successful compilation.Īlso, it is necessary to set the -frecursive compilation flag to avoid another runtime error showing this in other cases: At line 5910 of file aermod.fįortran runtime error: Recursive call to nonrecursive procedureĪ working makefile for gfortran under Linux is this one: In order to compile the source code under Linux and macOS with the free GNU Fortran compiler gfortran you can use this commnad: gfortran -o aermod.x -fbounds-check -fcheck=all -Wall -frecursive -O3 modules.f aermod.f setup.f coset.f soset.f reset.f meset.f ouset.f inpsum.f metext.f iblval.f siggrid.f tempgrid.f windgrid.f calc1.f calc2.f prise.f prime.f sigmas.f pitarea.f output.f evset.f evcalc.f evoutput.f The source code is available on the US-EPA web site. US-EPA distributes the Fortran source code and an executable to be used with Microsoft Windows. AERMOD 16216r is the preferred air quality dispersion model of US-EPA and it is used all over the world as reference model for regulatory purposes.
0 Comments
Leave a Reply. |