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

Cameron Smith smithc11 at rpi.edu
Tue Mar 10 07:07:16 CDT 2020


Thank you Mark.

The configure.log is attached.

Please let me know if any other info is needed.

-Cameron

On 3/10/20 7:31 AM, Mark Adams wrote:
> 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 
> <mailto: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 --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 1992943 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200310/9c8eb698/attachment-0001.bin>


More information about the petsc-users mailing list