[petsc-users] installing petsc via spack on ac922 (a summit like system)

Mark Adams mfadams at lbl.gov
Tue Mar 10 06:31:30 CDT 2020


Hi Cameron,

This can go on the list and we always want the configure.log file.

I build on Summit, but have not used the XL compilers. I've built 3.7.7
with GNU and PGI. (XGC usually wants PGI)



On Mon, Mar 9, 2020 at 11:27 PM Cameron Smith <smithc11 at rpi.edu> wrote:

> Hello,
>
> I'm installing petsc 3.7.7 on a summit like system with the following
> spack spec:
>
> petsc at 3.7.7 ~hdf5 ~hypre ~superlu-dist
>
> with the XL 16.1.1 compiler and Spectrum MPI 10.3 .  This install
> produces a `/path/to/petsc/install/lib/petsc/conf/petscvariables` file
> that contains '-lxlomp_ser' in the 'PETSC_EXTERNAL_LIB_BASIC' and
> 'PETSC_WITH_EXTERNAL_LIB' variables.
>
> The application I'm building, XGC, has a makefile based build system
> that includes '/path/to/petsc/install/lib/petsc/conf/variables' which in
> turn includes '/lib/petsc/conf/petscvariables'.
>
>  From what I can tell, xlomp_ser is a serial implementation of the
> openmp library.  When XGC links this library it satisfies the openmp
> symbols XGC wants and at run time results in openmp API calls like
> 'omp_get_max_threads()' returning 1 regardless of the OMP_NUM_THREADS
> setting.
>
> Do you know how I can build petsc, with or without spack, and avoid this
> library being listed in 'lib/petsc/conf/petscvariables'?
>
> If this should go to a petsc mailing list or git repo issues page I can
> send it there.
>
> Thank-you,
> Cameron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200310/748bf3e5/attachment-0001.html>


More information about the petsc-users mailing list