On 22 Apr 2020, at 12:03, Rishank Diwan <rishank2610@gmail.commailto:rishank2610@gmail.com> wrote:
Hello Ian,
I am getting "gcc -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread -L/usr//lib -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi" as result for "mpicc -show" and "/usr/bin/mpicc" for "which mpicc" which exactly the same as you mentioned.
Hmm. Please can you delete the config:
rm -rf configs/sim
and rebuild,
sim build --thornlist=<thornlist> >build.log 2>&1
and send us build.log (e.g. via https://pastebin.com, as it will be quite large).
A log of the exact commands you ran would be good as well. Maybe the MPI thorn is getting confused about which MPI to use and trying to build its own.
-- Ian Hinder Research Software Engineer University of Manchester, UK