<div dir="ltr">No, I hit exactly the same error using your script.<div><br></div><div>Thanks,</div><div><br></div><div>Fande,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 27, 2019 at 2:54 PM Balay, Satish <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Tue, 27 Aug 2019, Fande Kong via petsc-users wrote:<br>
<br>
> Hi All,<br>
> <br>
> I was trying to compile PETSc with "--download-superlu_dist" using an intel<br>
> compiler. I have explored with different options, but did not get PETSc<br>
> built successfully so far. Any help would be appreciated.<br>
> <br>
> The log file is attached.<br>
<br>
I attempted one and that worked.<br>
<br>
Can you try the same on your machine and see if it still gives errors?<br>
<br>
Satish<br>
<br>
-----<br>
<br>
-bash-4.2$ ./configure --with-cc=mpiicc --with-fc=mpiifort --with-cxx=mpiicpc --with-debugging=no -with-blas-lapack-dir=$MKLROOT --with-cxx-dialect=C++11 --download-superlu_dist=1 --download-metis --download-parmetis --download-cmake<br>
===============================================================================<br>
Configuring PETSc to compile on your system <br>
===============================================================================<br>
=============================================================================== ***** WARNING: Using default optimization C flags -g -O3 You might consider manually setting optimal optimization flags for your system with COPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples =============================================================================== =============================================================================== ***** WARNING: Using default C++ optimization flags -g -O3 You might consider manually setting optimal optimization flags for your system with CXXOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples =============================================================================== =============================================================================== ***** WARNING: Using default FORTRAN optimization flags -g -O3 You might consider manually setting optimal optimization flags for your system with FOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples =============================================================================== =============================================================================== It appears you do not have valgrind installed on your system. We HIGHLY recommend you install it from <a href="http://www.valgrind.org" rel="noreferrer" target="_blank">www.valgrind.org</a> Or install valgrind-devel or equivalent using your package manager. Then rerun ./configure =============================================================================== =============================================================================== Trying to download git://<a href="https://bitbucket.org/petsc/pkg-sowing.git" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git</a> for SOWING =============================================================================== =============================================================================== Running configure on SOWING; this may take several minutes =============================================================================== =============================================================================== Running make on SOWING; this may take several minutes =============================================================================== =============================================================================== Running make install on SOWING; this may take several minutes =============================================================================== =============================================================================== Trying to download <a href="https://cmake.org/files/v3.9/cmake-3.9.6.tar.gz" rel="noreferrer" target="_blank">https://cmake.org/files/v3.9/cmake-3.9.6.tar.gz</a> for CMAKE =============================================================================== =============================================================================== Running configure on CMAKE; this may take several minutes =============================================================================== =============================================================================== Running make on CMAKE; this may take several minutes =============================================================================== =============================================================================== Running make install on CMAKE; this may take several minutes =============================================================================== =============================================================================== Trying to download git://<a href="https://bitbucket.org/petsc/pkg-metis.git" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-metis.git</a> for METIS =============================================================================== =============================================================================== Configuring METIS with cmake, this may take several minutes =============================================================================== =============================================================================== Compiling and installing METIS; this may take several minutes =============================================================================== =============================================================================== Trying to download git://<a href="https://bitbucket.org/petsc/pkg-parmetis.git" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-parmetis.git</a> for PARMETIS =============================================================================== =============================================================================== Configuring PARMETIS with cmake, this may take several minutes =============================================================================== =============================================================================== Compiling and installing PARMETIS; this may take several minutes =============================================================================== =============================================================================== Trying to download git://<a href="https://github.com/xiaoyeli/superlu_dist" rel="noreferrer" target="_blank">https://github.com/xiaoyeli/superlu_dist</a> for SUPERLU_DIST =============================================================================== =============================================================================== Configuring SUPERLU_DIST with cmake, this may take several minutes =============================================================================== =============================================================================== Compiling and installing SUPERLU_DIST; this may take several minutes =============================================================================== Compilers: <br>
C Compiler: mpiicc -fPIC -wd1572 -g -O3 <br>
C++ Compiler: mpiicpc -wd1572 -g -O3 -fPIC -std=c++11 <br>
Fortran Compiler: mpiifort -fPIC -g -O3 <br>
Linkers:<br>
Shared linker: mpiicc -shared -fPIC -wd1572 -g -O3<br>
Dynamic linker: mpiicc -shared -fPIC -wd1572 -g -O3<br>
make:<br>
BLAS/LAPACK: -Wl,-rpath,/home/intel/19u3/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64 -L/home/intel/19u3/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_def -lpthread<br>
MPI:<br>
cmake:<br>
X:<br>
Library: -lX11<br>
pthread:<br>
metis:<br>
Includes: -I/home/balay/petsc/arch-linux2-c-opt/include<br>
Library: -Wl,-rpath,/home/balay/petsc/arch-linux2-c-opt/lib -L/home/balay/petsc/arch-linux2-c-opt/lib -lmetis<br>
parmetis:<br>
Includes: -I/home/balay/petsc/arch-linux2-c-opt/include<br>
Library: -Wl,-rpath,/home/balay/petsc/arch-linux2-c-opt/lib -L/home/balay/petsc/arch-linux2-c-opt/lib -lparmetis<br>
SuperLU_DIST:<br>
Includes: -I/home/balay/petsc/arch-linux2-c-opt/include<br>
Library: -Wl,-rpath,/home/balay/petsc/arch-linux2-c-opt/lib -L/home/balay/petsc/arch-linux2-c-opt/lib -lsuperlu_dist<br>
Arch: <br>
mkl_sparse:<br>
mkl_sparse_optimize:<br>
sowing:<br>
PETSc:<br>
PETSC_ARCH: arch-linux2-c-opt<br>
PETSC_DIR: /home/balay/petsc<br>
Scalar type: real<br>
Precision: double<br>
Clanguage: C<br>
Integer size: 32<br>
shared libraries: enabled<br>
Memory alignment: 16<br>
xxx=========================================================================xxx<br>
Configure stage complete. Now build PETSc libraries with (gnumake build):<br>
make PETSC_DIR=/home/balay/petsc PETSC_ARCH=arch-linux2-c-opt all<br>
xxx=========================================================================xxx<br>
-bash-4.2$ uname -a<br>
Linux <a href="http://isdp001.cels.anl.gov" rel="noreferrer" target="_blank">isdp001.cels.anl.gov</a> 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux<br>
-bash-4.2$ <br>
<br>
</blockquote></div>