[petsc-users] Installation failure

Barry Smith bsmith at petsc.dev
Mon Jul 27 21:32:28 CDT 2020


   Hmm, configure is a mess. 

   Since you  explicitly use MPI compilers  

    --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort  

    the 

    --with-mpi-include=/opt/intel/compilers_and_libraries_2016/linux/mpi/intel64/include --with-mpi-lib=/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/lib/libmpicxx.a

    are not needed and should not be provided (Satish I thought this would generate an error? Why doesn't it?)

    Please try without those arguments and send the configure.log if it fails.

     The error message isn't completely right. 

     Cannot run executables created with C. 

     This is because the call the call  to self.setCompilers.checkCompiler('C') doesn't have enough context to print a decent error message.

   Barry


> On Jul 27, 2020, at 2:06 AM, Rubem Mondaini <rmondaini at csrc.ac.cn> wrote:
> 
> Dears,
> 
> I have tried to install the PETSc library on my machine and I am failing. I have managed to install it on another one, which possess similar configurations for the compilers, and there things do seem to be very much fine.
> 
> I am attaching the corresponding configure.log. Is there something simple that I am missing?
> 
> Best,
> 
> 
> <configure.log>



More information about the petsc-users mailing list