[petsc-dev] PETSc 3.18.1 undefined reference

Satish Balay balay at mcs.anl.gov
Tue Nov 1 00:57:22 CDT 2022


Both my builds below [4.2.0, 4.3.0] are with --download-cgns - yet they have different symbols..

perhaps there are more differences between these 2 versions [than just Seq vs MPI builds]

Satish

---
      args.append('-DCGNS_ENABLE_PARALLEL:BOOL=ON')
      args.append('-DHDF5_NEED_MPI:BOOL=ON')


On Mon, 31 Oct 2022, Jed Brown wrote:

> Indeed, if you configure PETSc with CGNS, you must provide an MPI-enabled CGNS. I'm sad that they chose to package this way. Do you think PETSc should do something different other than documenting this?
> 
> "Antonio T. sagitter" <sagitter at fedoraproject.org> writes:
> 
> > 'cgp_close()' is in MPI CGNS only.
> >
> > Thank you
> >
> >  >Looks like cgp_close() is a cgns-4.3.0 feature.
> >  >
> >  >Satish
> >  >
> >  >---
> >  >
> >  >4.2.0:
> >  >nm -Ao libcgns.so |grep close |grep ' T '
> >  >libcgns.so:00000000000ae832 T ADFI_close_file
> >  >libcgns.so:0000000000061492 T cg_close
> >  >libcgns.so:000000000005ece4 T cgio_close_file
> >  >
> >  >4.3.0:
> >  >nm -Ao libcgns.so |grep close |grep ' T '
> >  >libcgns.so:00000000000b9df1 T ADFI_close_file
> >  >libcgns.so:000000000006c2ab T cg_close
> >  >libcgns.so:0000000000068ed8 T cgio_close_file
> >  >libcgns.so:00000000000cfd65 T cgp_close
> >
> >
> > -- 
> > ---
> > Antonio Trande
> > Fedora Project
> > mailto: sagitter at fedoraproject.org
> > GPG key: 0x40FDA7B70789A9CD
> > GPG key server: https://keyserver1.pgp.com/
> 



More information about the petsc-dev mailing list