Hi,
I'm trying to install Extrae with MPI support using Intel oneAPI MPI. The configure script from Extrae goes looking for mpi.h in <package root>/include, but the mpi.h is in <package root>/mpi/2021.2/include/.
What is the best way to fix this?
Tom
Some useful parts from config.log:
It was created by Extrae configure 3.8.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /tmp/vanderaa/spack-stage/spack-stage-extrae-3.8.3-4q4aju27itnqu4icpe3im6fayq2y5ael/spack-src/configure --prefix=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/extrae-3.8.3-4q4aju27itnqu4icpe3im6fayq2y5ael --with-mpi=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/intel-oneapi-mpi-2021.2.0-aezidhdangcl57a6qtyrwwgriuznkzid --with-unwind=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/libunwind-1.5.0-rxe3b5psjycj3at5pkjry5au2eazjr3e --with-boost=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/boost-1.76.0-zay2qw3j55dskrteyvvmza4gjejfsx56 --with-dwarf=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/libdwarf-20180129-kcechho2tkj4zzdvtpr2xuh3awpyolij --with-elf=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/elfutils-0.182-ej45mifb5uftzdme6oav2lmcmesd7mtq --with-xml-prefix=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/libxml2-2.9.10-vjewqyzij2a3r654jnjcmlmgrgx7lxkw --with-binutils=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/binutils-2.33.1-ydhc3ojgq7pvshsb6a7hpheydg7p5tuc --with-papi=/home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/papi-6.0.0.1-olna46nybarhnq53g2cefzydw4z4xdxc --without-dyninst LDFLAGS=-lintl
....
configure:10171: checking for MPI installation
configure:10181: result: /home/vanderaa/sysadmin/spack/opt/spack/linux-ubuntu20.04-westmere/gcc-9.3.0/intel-oneapi-mpi-2021.2.0-aezidhdangcl57a6qtyrwwgriuznkzid
configure:10198: checking for MPI includes directory
configure:10215: result: not found
configure:10219: error: Unable to find header directory for package mpi. Check option --with-mpi-headers.