--with-mpi should just be /usr/local, not the full path to mpicc. We use this directory to search for and find not just mpicc but also mpifort and mpicxx.
On Catalina, you’ll need a few more options thanks to very new compilers being the default. Also include:
--with-fort-flags="-fallow-argument-mismatch" --with-c-flags="-Wno-error-implicit-function-declaration"
Ethan
--
-------------------------------------------------------------------------
Ethan Coon
Research Scientist
Oak Ridge National Laboratory
https://www.ornl.gov/staff-profile/ethan-t-coon
-------------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ats-users+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-users/d360bfbc-cd2a-4bf9-a2e6-85cb9eb0aa32n%40googlegroups.com.
Cansu is right, thanks for stepping in with that – “/usr” looks right.
Can you completely remove your TPLS build directory, it looks like (from the “configure will be re-run”) that it isn’t a clean build, so I suspect things are getting confused by your previous attempts.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/476ed3c5-3639-4796-8acf-2a0ddbfdebffn%40googlegroups.com.
Are you building ATS master with Amanzi version 1.0? That is what it sounds like to me. Coordinator.cc from ATS version 1.0 should not refer to VisualizationDomainSet (that file is new as of a few days ago, long after version 1.0).
When you call bootstrap, are you passing an --ats_branch=master option? You should either use no ats_branch option at all (this would be preferred), or --ats_branch=ats-1.0.
Note you can check which branch you are on manually with:
cd $AMANZI_SRC_DIR
git branch
cd src/physics/ats
git branch
both should report version 1.0 (or master if that is what you want), but not a mix of the two.
I have to admit, I’m not entirely sure how bootstrap and git submodules are currently interacting, so this may be a bootstrap bug/logic error on our part.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/594409a5-187e-4aab-9006-f82594103387n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/6253c5ad-422c-4bd6-a950-47fb0e6f7849n%40googlegroups.com.
Keys::starts_with() is in master Amanzi Keys.hh, but not in 1.0 Amanzi Keys.hh.
Somehow you have a mix of branches and previously installed code. I’d suggest you start from scratch. Leave TPLs if they seem to have built correctly, but remove all of your AMANZI_SRC_DIR, AMANZI_BUILD_DIR, and AMANZI_DIR, re-clone Amanzi, and rerun bootstrap. Make sure you clone the branch of Amanzi you want to use, and don’t clone ATS. Let bootstrap do that for you, and make sure you don’t pass any arguments of the form “—branch_ats=…”. This should result in the ATS being cloned to be the right one by default.
./bootstrap.sh --mpi=/usr --branch=amanzi-1.0 --tpl-config-file=/path/to/your/AMANZI_TPLS_DIR/cmake/share/amanzi-config.cmake (+ any –debug, --disable-structured, --enable/disable-geochemistry, or other options you need)
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/6253c5ad-422c-4bd6-a950-47fb0e6f7849n%40googlegroups.com.