[petsc-users] [SPAM] Re: Installation failure

Rubem Mondaini rmondaini at csrc.ac.cn
Tue Jul 28 00:25:08 CDT 2020


Dear Barry,

thank you very much for the reply. I removed the options 
"--with-mpi-include" and "--with-mpi-lib", but I still get the same 
error. I attach the configure.log file.

I can confirm that I can compile and run other codes with my compilers, 
however.

Many thanks!

Rubem

On 7/28/20 10:32 AM, Barry Smith wrote:
>     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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 308361 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200728/06bc6aa2/attachment-0001.bin>


More information about the petsc-users mailing list