[petsc-users] --download-fblaslapack libraries cannot be used

Fande Kong fdkong.jd at gmail.com
Sat Mar 14 13:53:00 CDT 2020


It looks like it still has the same issue. Please see the log file attached.

 PETSc did not pick up "-lmpifort" correctly, and PETSc seemed to just
ignore this flag.

Thanks,

Fande,



On Sat, Mar 14, 2020 at 11:57 AM Satish Balay <balay at mcs.anl.gov> wrote:

> to work around - you can try:
>
> LIBS="-lmpifort -lgfortran"
>
> Satish
>
> On Sat, 14 Mar 2020, Satish Balay via petsc-users wrote:
>
> > Its the same location as before. For some reason configure is not saving
> the relevant logs.
> >
> > I don't understand saveLog() restoreLog() stuff. Matt, can you check on
> this?
> >
> > Satish
> >
> > On Sat, 14 Mar 2020, Fande Kong wrote:
> >
> > > The configuration crashed earlier than before with your changes.
> > >
> > > Please see the attached log file when using your branch. The trouble
> lines
> > > should be:
> > >
> > >  "    asub=self.mangleFortranFunction("asub")
> > >     cbody = "extern void "+asub+"(void);\nint main(int argc,char
> > > **args)\n{\n  "+asub+"();\n  return 0;\n}\n";
> > > "
> > >
> > > Thanks,
> > >
> > > Fande,
> > >
> > > On Thu, Mar 12, 2020 at 7:06 PM Satish Balay <balay at mcs.anl.gov>
> wrote:
> > >
> > > > I can't figure out what the stack in the attached configure.log.
> [likely
> > > > some stuff isn't getting logged in it]
> > > >
> > > > Can you retry with branch 'balay/fix-checkFortranLibraries/maint'?
> > > >
> > > > Satish
> > > >
> > > > On Thu, 12 Mar 2020, Fande Kong wrote:
> > > >
> > > > > Thanks, Satish,
> > > > >
> > > > > But still have the problem. Please see the attached log file.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Fande.
> > > > >
> > > > > On Thu, Mar 12, 2020 at 3:42 PM Satish Balay <balay at mcs.anl.gov>
> wrote:
> > > > >
> > > > > > Can you retry with the attached patch?
> > > > > >
> > > > > > BTW: Its best to use the latest patched version - i.e
> > > > petsc-3.12.4.tar.gz
> > > > > >
> > > > > > Satish
> > > > > >
> > > > > > On Thu, 12 Mar 2020, Fande Kong wrote:
> > > > > >
> > > > > > > This fixed the fblaslapack issue. Now have another issue about
> mumps.
> > > > > > >
> > > > > > > Please see the log file attached.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Fande,
> > > > > > >
> > > > > > > On Thu, Mar 12, 2020 at 1:38 PM Satish Balay <
> balay at mcs.anl.gov>
> > > > wrote:
> > > > > > >
> > > > > > > > For some reason - the fortran compiler libraries check
> worked fine
> > > > > > without
> > > > > > > > -lgfortran.
> > > > > > > >
> > > > > > > > But now - flbaslapack check is failing without it.
> > > > > > > >
> > > > > > > > To work arround - you can use option LIBS=-lgfortran
> > > > > > > >
> > > > > > > > Satish
> > > > > > > >
> > > > > > > > On Thu, 12 Mar 2020, Fande Kong wrote:
> > > > > > > >
> > > > > > > > > Hi All,
> > > > > > > > >
> > > > > > > > > I had an issue when configuring petsc on a linux machine.
> I have
> > > > the
> > > > > > > > > following error message:
> > > > > > > > >
> > > > > > > > >      Compiling FBLASLAPACK; this may take several minutes
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> ===============================================================================
> > > > > > > > >
> > > > > > > > >    TESTING: checkLib from
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:120)
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> *******************************************************************************
> > > > > > > > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see
> > > > > > configure.log for
> > > > > > > > > details):
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> -------------------------------------------------------------------------------
> > > > > > > > > --download-fblaslapack libraries cannot be used
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> *******************************************************************************
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > The configuration log was attached.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > > Fande,
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200314/781a18dc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 3331141 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200314/781a18dc/attachment-0001.obj>


More information about the petsc-users mailing list