Dear Henrik,
On 9 Mar 2017, at 20:41, Buesing, Henrik <HBuesing@eonerc.rwth-aachen.de> wrote:
There are environment variables available in my system ($MPICC, $MPICXX, $MPIFC) pointing to the appropriate MPI Wrappers (mpicc, mpicxx, mpif90).
It is not sufficient to have an $MPICC environment variable. You need to have 'mpicc' in the path, which is what i would recommend you doing.
mpicc is in my $PATH. I will do it again and send the log.
Ok. Here comes the log (see [1]). As you can see while installing PyOP2 he uses gcc instead of mpicxx to compile sparsity.cpp. I compiled this file manually with mpicxx with no problems. So how can I tell him to use mpicxx when installing PyOP2.
Thank you! Henrik
Looking at this failure, I suspect that you have explicitly set the "CC" environment variable to gcc? The PyOP2 setup.py has this code: if 'CC' not in env: env['CC'] = "mpicc" Which is not very robust like this. Does it work if you do: $ unset CC $ firedrake-install ... Thanks, Lawrence