[petsc-dev] openmpi downloaded tarball broken ?

Jed Brown jed at jedbrown.org
Sun Jan 3 11:24:03 CST 2021


$ sha256sum openmpi-4.1.0.tar.*
73866fb77090819b6a8c85cb8539638d37d6877455825b74e289d647a39fd5b5  openmpi-4.1.0.tar.bz2
228467c3dd15339d9b26cf26a291af3ee7c770699c5e8a1b3ad786f9ae78140a  openmpi-4.1.0.tar.gz

Barry Smith <bsmith at petsc.dev> writes:

>   Any change sites might strip out "dangerous" shell scripts 
>
>    I reproduced the same problem several times with different versions of OpenMPI on the UTK xSDK machine.
>
>
>> On Jan 3, 2021, at 9:36 AM, Jed Brown <jed at jedbrown.org> wrote:
>> 
>> I don't understand.
>> 
>> $ wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.0.tar.bz2
>> --2021-01-03 08:35:08--  https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.0.tar.bz2
>> Resolving download.open-mpi.org (download.open-mpi.org)... 143.204.26.61, 143.204.26.76, 143.204.26.58, ...
>> Connecting to download.open-mpi.org (download.open-mpi.org)|143.204.26.61|:443... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 10022171 (9.6M) [binary/octet-stream]
>> Saving to: ‘openmpi-4.1.0.tar.bz2’
>> 
>> openmpi-4.1.0.tar.bz2    100%[==================================>]   9.56M  46.6MB/s    in 0.2s
>> 
>> 2021-01-03 08:35:08 (46.6 MB/s) - ‘openmpi-4.1.0.tar.bz2’ saved [10022171/10022171]
>> 
>> $ tar xf openmpi-4.1.0.tar.bz2
>> $ file openmpi-4.1.0/configure
>> openmpi-4.1.0/configure: POSIX shell script, ASCII text executable, with very long lines
>> 
>> Barry Smith <bsmith at petsc.dev> writes:
>> 
>>>  4.1 is also missing ./configure but documentation clearly states you install openMPI with ./configure ! 
>>> 
>>>> On Jan 3, 2021, at 8:31 AM, Barry Smith <bsmith at petsc.dev> wrote:
>>>> 
>>>> 
>>>> $ wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3.tar.gz <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 <https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3.tar.gz>
>>>> Resolving download.open-mpi.org <http://download.open-mpi.org/> (download.open-mpi.org <http://download.open-mpi.org/>)... 13.249.117.107, 13.249.117.91, 13.249.117.41, ...
>>>> Connecting to download.open-mpi.org <http://download.open-mpi.org/> (download.open-mpi.org <http://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 <http://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
>>>> *******************************************************************************
>>>> 
>>>> 


More information about the petsc-dev mailing list