$ wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3.tar.gz
--2021-01-03 09:24:24--
https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3.tar.gz
Resolving download.open-mpi.org (download.open-mpi.org)... 13.249.117.107,
13.249.117.91, 13.249.117.41, ...
Connecting to download.open-mpi.org
(download.open-mpi.org)|13.249.117.107|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17418534 (17M) [binary/octet-stream]
Saving to: ‘openmpi-4.0.3.tar.gz’
100%[=======================================================================>]
17,418,534 49.1MB/s in 0.3s
2021-01-03 09:24:26 (49.1 MB/s) - ‘openmpi-4.0.3.tar.gz’ saved
[17418534/17418534]
~ arch-fix-cuda-ccbin-wrong-arguments
$ cd petsc
~/petsc (barry/2020-12-31/fix-cuda-ccbin-wrong-arguments>)
arch-fix-cuda-ccbin-wrong-arguments
$ ./configure --download-openmpi=../openmpi-4.0.3.tar.gz --with-cc=gcc
--with-cxx=g++ --with-fc=gfortran --with-cuda --download-slepc
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
=============================================================================================
***** WARNING: F77 (set to
/nfs/apps/spacks/2020-10-22/opt/spack/linux-centos7-x86_64/gcc-7.3.0/gcc-7.3.0-l
use ./configure F77=$F77 if you really want to use that value ******
=============================================================================================
=============================================================================================
***** WARNING: You have a version of GNU make older
than 4.0. It will work, but may not
support all the parallel testing options. You can install the
latest GNU make with your package manager, such as brew or
macports, or use the --download-make
option to get the latest GNU make *****
=============================================================================================
=============================================================================================
It appears you do not have valgrind installed on your
system. We HIGHLY recommend
you install it from www.valgrind.org
Or install valgrind-devel or equivalent using your package
manager. Then rerun ./configure
=============================================================================================
=============================================================================================
Running libtoolize on OPENMPI; this may take several
minutes
=============================================================================================
=============================================================================================
Running autoreconf on OPENMPI; this may take several
minutes
=============================================================================================
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
details):
-------------------------------------------------------------------------------
Error running libtoolize or autoreconf on OPENMPI: Could not execute
"[['/usr/bin/autoreconf', '--force', '--install']]":
autoreconf: 'configure.ac' or 'configure.in' is required
*******************************************************************************