-
Notifications
You must be signed in to change notification settings - Fork 23
How to compile AtChem2
R. Sommariva edited this page Jul 16, 2019
·
12 revisions
AtChem2 is compiled with the script build.sh
, located in the tools/
directory. Depending on the version of AtChem2, the build.sh
script takes 3 or 4 positional arguments (i.e., the arguments must be provided in a precise order).
build.sh
has 3 positional arguments:
- path to the chemical mechanism file (
.fac
) - path to the model configuration directory - default:
model/configuration/
- path to the MCM data files directory - default:
mcm/
./tools/build.sh ./model/mechanism.fac ./model/configuration/ ./mcm/
build.sh
has 4 positional arguments:
- path to the chemical mechanism file (
.fac
) - path to the auto-generated Fortran files directory - default:
src/gen/
- path to the model configuration directory - default:
model/configuration/
- path to the MCM data files directory - default:
mcm/
./tools/build.sh ./model/mechanism.fac ./src/gen/ ./model/configuration/ ./mcm/
build.sh
has 3 positional arguments:
- path to the chemical mechanism file (
.fac
) - path to the Fortran source files directory - default:
src/
- path to the model configuration directory - default:
modelConfiguration/
./tools/build.sh ./mechanism.fac ./src/ ./modelConfiguration/