[petsc-users] Error running make on MUMPS
Fande Kong
fdkong.jd at gmail.com
Thu Nov 11 15:15:27 CST 2021
On Thu, Nov 11, 2021 at 1:59 PM Matthew Knepley <knepley at gmail.com> wrote:
> On Thu, Nov 11, 2021 at 3:44 PM Fande Kong <fdkong.jd at gmail.com> wrote:
>
>> Thanks Matt,
>>
>> I understand completely, the actual error should be
>>
>> "
>> ln -s libHYPRE_parcsr_ls-2.20.0.so libHYPRE_parcsr_ls.so gmake[1]:
>> Leaving directory
>> `/beegfs1/home/anovak/cardinal/contrib/moose/petsc/arch-moose/externalpackages/git.hypre/src/parcsr_ls'
>> Error running make; make install on HYPRE: Could not execute
>> "['/usr/bin/gmake install']":
>> "
>>
>> The one you saw was that hypre automatically took the second try for
>> parcsr_ls after the first failed gmake install. Because the first try
>> already did "ln -s libHYPRE_parcsr_ls-2.20.0.so libHYPRE_parcsr_ls.so",
>> and then second try would see that ‘libHYPRE_parcsr_ls.so" already existed.
>>
>
> Are you completely sure? This just looks like a cascading make error,
> namely that one shell thing failed (ln) and then the make reports an error.
>
Oh, sorry. It was a typo. I intended to say "If I understand correctly, the
actual should be balabala .."
Thanks for the explanation! I was confused by the double outputs. I got it
now.
Thanks, again
Fande
>
> Thanks,
>
> Matt
>
>
>> Thanks,
>> Fande
>>
>> On Thu, Nov 11, 2021 at 1:29 PM Matthew Knepley <knepley at gmail.com>
>> wrote:
>>
>>> On Thu, Nov 11, 2021 at 3:25 PM Fande Kong <fdkong.jd at gmail.com> wrote:
>>>
>>>> Thanks, Satish
>>>>
>>>> "--with-make-np=1" did help us on MUMPS, but we had new trouble with
>>>> hypre now.
>>>>
>>>> It is hard to understand why "gmake install" even failed.
>>>>
>>>
>>> Because HYPRE thinks it is better to use 'ln' than the 'install' script
>>> that handles things like the target existing:
>>>
>>> gmake[1]: Leaving directory
>>> `/beegfs1/home/anovak/cardinal/contrib/moose/petsc/arch-moose/externalpackages/git.hypre/src/parcsr_ls'
>>> ln: failed to create symbolic link ‘libHYPRE_parcsr_ls.so’: File exists
>>> gmake[1]: *** [libHYPRE_parcsr_ls.so] Error 1
>>> gmake: *** [all] Error 1
>>>
>>> I think everything needs to be cleaned out for Hypre to reinstall.
>>>
>>> Thanks,
>>>
>>> Matt
>>>
>>>
>>>> Please see the attachment for the log file.
>>>>
>>>> Thanks,
>>>>
>>>> Fande
>>>>
>>>> On Wed, Nov 10, 2021 at 12:16 PM Satish Balay <balay at mcs.anl.gov>
>>>> wrote:
>>>>
>>>>> You are using petsc-3.15.1 - and likely the mumps build change between
>>>>> then and current 3.16.
>>>>>
>>>>> Can you use latest PETSc release?
>>>>>
>>>>> If not - Suggest removing --download-mumps=
>>>>> https://bitbucket.org/petsc/pkg-mumps.git
>>>>> --download-mumps-commit=v5.4.1-p1 options [and PETSC_ARCH] and going back
>>>>> to your old
>>>>> build.
>>>>>
>>>>> If it fails [as before] - retry with: --with-make-np=1
>>>>>
>>>>> Satish
>>>>>
>>>>> On Wed, 10 Nov 2021, Novak, April via petsc-users wrote:
>>>>>
>>>>> > Hi Barry,
>>>>> >
>>>>> > Thank you for your assistance - I’ve attached the latest
>>>>> configure.log. I still encounter issues building, though some of the MUMPS
>>>>> errors do seem to have been fixed with the --download-mumps-commit option.
>>>>> Do you have a recommendation for addressing these other errors?
>>>>> >
>>>>> > Thanks,
>>>>> >
>>>>> > -April
>>>>> >
>>>>> > From: Fande Kong <fdkong.jd at gmail.com>
>>>>> > Date: Wednesday, November 10, 2021 at 9:44 AM
>>>>> > To: Barry Smith <bsmith at petsc.dev>
>>>>> > Cc: PETSc users list <petsc-users at mcs.anl.gov>, Novak, April <
>>>>> anovak at anl.gov>
>>>>> > Subject: Re: [petsc-users] Error running make on MUMPS
>>>>> > Thanks, Barry,
>>>>> >
>>>>> > We will try this, and report back
>>>>> >
>>>>> >
>>>>> > Fande
>>>>> >
>>>>> > On Tue, Nov 9, 2021 at 5:41 PM Barry Smith <bsmith at petsc.dev<mailto:
>>>>> bsmith at petsc.dev>> wrote:
>>>>> >
>>>>> > This version of MUMPS has a bug in its build system; it does not
>>>>> have all the dependencies on Fortran modules properly listed so Fortran
>>>>> files can get compiled too early causing "random" failures during some
>>>>> builds, especially on machines with lots of cores for compiling.
>>>>> >
>>>>> > I think you should be able to use --download-mumps=
>>>>> https://bitbucket.org/petsc/pkg-mumps.git
>>>>> --download-mumps-commit=v5.4.1-p1 to get a patched version.
>>>>> >
>>>>> > Barry
>>>>> >
>>>>> >
>>>>> >
>>>>> > On Nov 9, 2021, at 6:10 PM, Fande Kong <fdkong.jd at gmail.com<mailto:
>>>>> fdkong.jd at gmail.com>> wrote:
>>>>> >
>>>>> > Hi All,
>>>>> >
>>>>> > We encountered a configuration error when running the PETSc
>>>>> configuration on a HPC system. Went through the log file, but could not
>>>>> find much. The log file was attached.
>>>>> >
>>>>> > Any thoughts?
>>>>> >
>>>>> > Thanks for your help, as always.
>>>>> >
>>>>> > Fande
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > <configure.log>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>
>>> --
>>> What most experimenters take for granted before they begin their
>>> experiments is infinitely more interesting than any results to which their
>>> experiments lead.
>>> -- Norbert Wiener
>>>
>>> https://www.cse.buffalo.edu/~knepley/
>>> <http://www.cse.buffalo.edu/~knepley/>
>>>
>>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
> https://www.cse.buffalo.edu/~knepley/
> <http://www.cse.buffalo.edu/~knepley/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211111/23c27ce8/attachment.html>
More information about the petsc-users
mailing list