-
Notifications
You must be signed in to change notification settings - Fork 1
ELM‐alquimia‐pflotran (bgc) Libraries
Fengming Yuan edited this page Jul 2, 2025
·
1 revision
PLEASE see some details on instructions in https://github.com/ORNLngee
The following is a version of 2021, for successfully coupled with ELM.
git clone https://github.com/fmyuan/pflotran-elm-interface.git
cd pflotran-elm-infterface
git switch bsulman/pflotran-elm-interface
git clone https://github.com/fmyuan/alquimia-dev.git
cd alquimia-dev
git switch bsulman/pflotran_SOMdec_reactions
- the Source code directory:
cd ./src/pflotran
- build it by issuing command:
make PETSC_DIR=$PETSC_DIR pflotran
(where $PETSC_DIR is your PETSC_DIR directory, e.g. ```/ccsopen/proj/cli185/petsc-3.x-noopt``` for this version of PFLOTRAN on CADES-baseline machine in ORNL)
(2b) if coupling ELM with PFLOTRAN (bgc) via ALQUIMIA, need to build a library named as libpflotranchem.a.
make PETSC_DIR=$PETSC_DIR libpflotranchem.a
An example bash script to build ALQUIMIA libs can be found here
Updated @ 2025-07-02