

- #Aermod installation for mac for mac
- #Aermod installation for mac install
- #Aermod installation for mac code
- #Aermod installation for mac download
Navigate to input folder (test cases are located in /AERMOD/test) cd /PATH/TO/AERMOD/test/inputs ex. Please note that aermod only ingests input files named aermod.inp, so each time you want to run a different test, just rename the desired.inp file into aermod.inp, then run aermod. A sample input folder is provided in the test cases. The way to run aermod is to navigate to an input folder, then call the aermod executable. After a successful compilation, there should be an executable named aermod in the source folder. If you encounter errors, check the end of this doc, there are helps for common issuesģ iv. cd /Users/mfung/Documents/AERMOD/src Then type make If no error message pops up, you can proceed to the next step. In order to compile it, open terminal and navigate to the folder containing the source files by typing: cd /PATH/TO/AERMOD/src eg. If you have another version, type in the name of the compiler as if you would invoke it in terminal. First, open makefile with a text editor, Check the first line of code, FC should equal a fortran compiler installed.
#Aermod installation for mac code
The next step would be to compile the source code using the executable makefile. Open the folder AERMOD, inside AERMOD/src/ there should be multiple files ending with.f, the fortran source files. After git cloning, you should have a folder named AERMOD in the directory you pulled. If g95 compiler is installed, type the following: git clone If gfortran compiler is installed, type the following: git clone b AERMOD-gfortran iii. cd /Users/mfung/Documents would bring you to documents.
#Aermod installation for mac download
If you have another version that is not mentioned, download either g95 version, and make the changes specified in the next step.Ģ Please open terminal, navigate to the directory where you want the AERMOD files to be by typing: cd /PATH/TO/DIRECTORY ex. If you have both, there isn t really a difference between the two, choose one and go with it. I have put the source files + makefile in git, there are, however two versions, one for the g95 compiler, and the other for gfortran. Conversely, try to see if gfortran is installed, type: gfortran version Now that you know which compiler is installed, proceed to the next step. To check if you have a FORTRAN compiler, open terminal and type: g95 -version If it says command not found, g95 is likely not installed. Other machines use commercial ones such as Portland Group Fortran Compiler PGF, etc. The default WFRT Macs use G95, another common compiler is gfortran. Before pulling the files in git, let s first determine which FORTRAN compiler is running in your machine because we need to tell the makefile which compiler to use. Depending on your machine, however, you may need to change the options of the makefile, which could be done by opening the makefile with a text editor of your choice. Included in the git repository mentioned below are all the source files and a makefile.


In order to compile the program, one needs a makefile, an executable that runs the compilation specifying the source files used and the settings desired. The OSX & Linux version of AERMOD is provided in source fortran files, meaning compilation is required to produce an executable. Option 2 does not need git, requires some modification to source file. PREQUESITES: FORTRAN compiler (OSX/Linux) look at gfortran **this guide serves only as a supplement of docs, do read the docs, it will save you time &tears Content: Option 1 is the fastest way, requires git. AERMOD version 15181, credits to Enviroware for their blog post, which this guide is based on.
#Aermod installation for mac install
Fung Two options to install AERMOD UNIX like OS, (tested on OSX, Ubuntu).
#Aermod installation for mac for mac
1 Air Pollution Meteorology: AERMOD Installation for Mac & Linux- Quick Guide v1.2 Updated Feb 5th 2016 M.
