<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
If I run</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
$ ./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<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I get</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================                              </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
WARNING! Found environment variable: MPI_DIR=/opt/apps/mpi/gcc/openmpi/4.1.0-numa-ucx-1.9.0--gcc-4.8.5               </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Ignoring it! Use "./configure <span style="color: rgb(12, 136, 42);">MPI_DIR=$MPI_DIR</span>" if you really want to use this value                           </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So, I try:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
$  ./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
<span style="color: rgb(12, 136, 42);">MPI_DIR=$MPI_DIR</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
*********************************************************************************************
<div>                        ERROR in COMMAND LINE ARGUMENT to ./configure                        </div>
<div>---------------------------------------------------------------------------------------------</div>
<span>The option MPI_DIR should probably be MPI-DIR</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Then,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>$ ./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</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================                              </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
WARNING! Found environment variable: MPI_DIR=/opt/apps/mpi/gcc/openmpi/4.1.0-numa-ucx-1.9.0--gcc-4.8.5               </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Ignoring it! Use "./configure MPI_DIR=$MPI_DIR" if you really want to use this value                           =============================================================================================<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
My guess is that this is a bug (there is a '-' where it should be a '_').</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If I'm mistaken, could I be advised how to correct?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Ben</div>
<div id="Signature">
<div>
<div></div>
<div class="BodyFragment"></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText">--------------------------------------------------------<br>
Dr Ben Pietras <ben.pietras@manchester.ac.uk> <br>
Research Infrastructure, IT Services<br>
University of Manchester, UK<br>
ext. 63266<br>
http://ri.itservices.manchester.ac.uk<br>
--------------------------------------------------------<br>
</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>