We generally recommend getting a basic build going for such use case - and then migrate it to latest version as old versions have more issues [as you might be encountering now]
Also - you haven't responded to my follow-up regarding the issue you are encountering. If you are having build issues - you might want to recheck the installation instructions (for petsc-3.4) - and send us relevant logs. Satish On Tue, 26 Sep 2023, Ivan Luthfi wrote: > the reason I install the old version is because i try to run an old code > file that was compiled with the same version > > On Tue, Sep 26, 2023 at 4:20 AM Satish Balay <ba...@mcs.anl.gov> wrote: > > > > > What are you looking at? Send 'ls' from PETSC_DIR/PETSC_ARCH/lib > > > > Perhaps its a shared library build - and you have libpetsc.so? > > > > BTW: the current release is 3.19 - and you are attempting to build a super > > old version 3.4. > > > > We recommend using the latest version to avoid build and other > > compatibility issues. > > > > Satish > > > > On Tue, 26 Sep 2023, Ivan Luthfi wrote: > > > > > Dear developers, > > > I cannot find libpetsc.a in my library. > > > Do you have any suggestion how can I figure this out. > > > > > > > >