On Tue, 27 Aug 2019, Fande Kong via petsc-users wrote:

> Hi All,
> 
> I was trying to compile PETSc with "--download-superlu_dist" using an intel
> compiler. I have explored with different options, but did not get PETSc
> built successfully so far. Any help would be appreciated.
> 
> The log file is attached.

I attempted one and that worked.

Can you try the same on  your machine and see if it still gives errors?

Satish

-----

-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
===============================================================================
             Configuring PETSc to compile on your system                       
===============================================================================
=============================================================================== 
                               ***** 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 www.valgrind.org                                                
 Or install valgrind-devel or equivalent using your package manager.            
                          Then rerun ./configure                                
                                             
=============================================================================== 
                         
=============================================================================== 
                               Trying to download 
git://https://bitbucket.org/petsc/pkg-sowing.git 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 
https://cmake.org/files/v3.9/cmake-3.9.6.tar.gz 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://https://bitbucket.org/petsc/pkg-metis.git for METIS                       
=============================================================================== 
                         
=============================================================================== 
                               Configuring METIS with cmake, this may take 
several minutes                                        
=============================================================================== 
                         
=============================================================================== 
                               Compiling and installing METIS; this may take 
several minutes                                      
=============================================================================== 
                         
=============================================================================== 
                               Trying to download 
git://https://bitbucket.org/petsc/pkg-parmetis.git for PARMETIS                 
=============================================================================== 
                         
=============================================================================== 
                               Configuring PARMETIS with cmake, this may take 
several minutes                                     
=============================================================================== 
                         
=============================================================================== 
                               Compiling and installing PARMETIS; this may take 
several minutes                                   
=============================================================================== 
                         
=============================================================================== 
                               Trying to download 
git://https://github.com/xiaoyeli/superlu_dist for SUPERLU_DIST                 
=============================================================================== 
                         
=============================================================================== 
                               Configuring SUPERLU_DIST with cmake, this may 
take several minutes                                 
=============================================================================== 
                         
=============================================================================== 
                               Compiling and installing SUPERLU_DIST; this may 
take several minutes                               
=============================================================================== 
                         Compilers:                                             
                                                  
  C Compiler:         mpiicc  -fPIC -wd1572 -g -O3 
  C++ Compiler:       mpiicpc  -wd1572 -g -O3  -fPIC  -std=c++11 
  Fortran Compiler:   mpiifort  -fPIC -g -O3  
Linkers:
  Shared linker:   mpiicc  -shared  -fPIC -wd1572 -g -O3
  Dynamic linker:   mpiicc  -shared  -fPIC -wd1572 -g -O3
make:
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
MPI:
cmake:
X:
  Library:  -lX11
pthread:
metis:
  Includes: -I/home/balay/petsc/arch-linux2-c-opt/include
  Library:  -Wl,-rpath,/home/balay/petsc/arch-linux2-c-opt/lib 
-L/home/balay/petsc/arch-linux2-c-opt/lib -lmetis
parmetis:
  Includes: -I/home/balay/petsc/arch-linux2-c-opt/include
  Library:  -Wl,-rpath,/home/balay/petsc/arch-linux2-c-opt/lib 
-L/home/balay/petsc/arch-linux2-c-opt/lib -lparmetis
SuperLU_DIST:
  Includes: -I/home/balay/petsc/arch-linux2-c-opt/include
  Library:  -Wl,-rpath,/home/balay/petsc/arch-linux2-c-opt/lib 
-L/home/balay/petsc/arch-linux2-c-opt/lib -lsuperlu_dist
  Arch:     
mkl_sparse:
mkl_sparse_optimize:
sowing:
PETSc:
  PETSC_ARCH: arch-linux2-c-opt
  PETSC_DIR: /home/balay/petsc
  Scalar type: real
  Precision: double
  Clanguage: C
  Integer size: 32
  shared libraries: enabled
  Memory alignment: 16
xxx=========================================================================xxx
 Configure stage complete. Now build PETSc libraries with (gnumake build):
   make PETSC_DIR=/home/balay/petsc PETSC_ARCH=arch-linux2-c-opt all
xxx=========================================================================xxx
-bash-4.2$ uname -a
Linux isdp001.cels.anl.gov 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
-bash-4.2$ 

Reply via email to