[petsc-users] petsc 3.17 mpi configure issue

Ben Pietras ben.pietras at manchester.ac.uk
Thu Apr 14 08:31:22 CDT 2022


Hello,

If I run

$ ./configure --prefix=$PREFIX --with-mpi-dir=/opt/apps/mpi/gcc/openmpi/4.1.0-numa-ucx-1.9.0--gcc-4.8.5/ LDFLAGS=$LDFLAGS

I get

=============================================================================================
WARNING! Found environment variable: MPI_DIR=/opt/apps/mpi/gcc/openmpi/4.1.0-numa-ucx-1.9.0--gcc-4.8.5
Ignoring it! Use "./configure MPI_DIR=$MPI_DIR" if you really want to use this value
=============================================================================================

So, I try:

$  ./configure --prefix=$PREFIX --with-mpi-dir=/opt/apps/mpi/gcc/openmpi/4.1.0-numa-ucx-1.9.0--gcc-4.8.5/ LDFLAGS=$LDFLAGS MPI_DIR=$MPI_DIR

*********************************************************************************************
                        ERROR in COMMAND LINE ARGUMENT to ./configure
---------------------------------------------------------------------------------------------
The option MPI_DIR should probably be MPI-DIR

Then,

$ ./configure --prefix=$PREFIX --with-mpi-dir=/opt/apps/mpi/gcc/openmpi/4.1.0-numa-ucx-1.9.0--gcc-4.8.5/ LDFLAGS=$LDFLAGS MPI-DIR=$MPI_DIR
=============================================================================================
WARNING! Found environment variable: MPI_DIR=/opt/apps/mpi/gcc/openmpi/4.1.0-numa-ucx-1.9.0--gcc-4.8.5
Ignoring it! Use "./configure MPI_DIR=$MPI_DIR" if you really want to use this value                           =============================================================================================

My guess is that this is a bug (there is a '-' where it should be a '_').

If I'm mistaken, could I be advised how to correct?

Best,
Ben
--------------------------------------------------------
Dr Ben Pietras <ben.pietras at manchester.ac.uk>
Research Infrastructure, IT Services
University of Manchester, UK
ext. 63266
http://ri.itservices.manchester.ac.uk
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220414/49e3217c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 1107081 bytes
Desc: configure.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220414/49e3217c/attachment-0001.bin>


More information about the petsc-users mailing list