[petsc-users] Installation of prerequisite libraries

Shashwat Sharma shash_91 at hotmail.com
Fri Jun 8 13:50:18 CDT 2018


Alright, thanks for the quick response.


On Fri, Jun 8, 2018 at 2:47 PM Smith, Barry F. <bsmith at mcs.anl.gov<mailto:bsmith at mcs.anl.gov>> wrote:

  Sorry. No PETSc can't install bison and flex and we won't add that capability

bison and flex are so standard that any standard distribution should either contain them or have an easy way to install them.

  Perhaps you are working on a machine without bison and flex and you do not have sudo access. I suggest you email/talk to the sys admin for this machine and ask them to install these packages.

    Barry


> On Jun 8, 2018, at 1:42 PM, Shashwat Sharma <shash_91 at hotmail.com<mailto:shash_91 at hotmail.com>> wrote:
>
> Hello,
>
> I'm using a Petsc installation along with the external package superLU_dist. As per the instructions on the online documentation, I am letting Petsc take care of the download and installation at the configure stage.
>
> SuperLU requires that I also download and install parMeTiS and PTScotch, which I can readily do the same way. However, those packages in turn require certain other packages to have been preinstalled, namely GNU bison and flex.
>
> The issue is that I have to make sure bison and flex are pre-installed globally (with sudo rights) before I can properly configure Petsc. However, I would like to remove this dependency on sudo rights and be able to point Petsc to a local installation of bison and flex (or even better, have Petsc download and install them). Is this possible? I didn't see these packages listed on https://www.mcs.anl.gov/petsc/miscellaneous/external.html, so I'm not sure if Petsc can automatically download them.
>
> Is there a way to point Petsc to a local installation of bison and flex?
>
> Thanks!
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180608/c5bdd3aa/attachment.html>


More information about the petsc-users mailing list