[petsc-users] New error on Summit

Mark Adams mfadams at lbl.gov
Thu Sep 23 09:16:10 CDT 2021


This is fixed now. I did not have a gcc module loaded so it was picking up
some default.

On Thu, Sep 23, 2021 at 8:56 AM Mark Adams <mfadams at lbl.gov> wrote:

> This was working before but now I get this (strange) error:
>
>   Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_429f1/fast &&
> /usr/bin/gmake  -f CMakeFiles/cmTC_429f1.dir/build.make
> CMakeFiles/cmTC_429f1.dir/build
>     gmake[1]: Entering directory
> '/gpfs/alpine/csc314/scratch/adams/petsc/arch-summit-opt-gnu-kokkos-cuda/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeTmp'
>     Building CXX object CMakeFiles/cmTC_429f1.dir/testCXXCompiler.cxx.o
>
> /gpfs/alpine/csc314/scratch/adams/petsc/arch-summit-opt-gnu-kokkos-cuda/externalpackages/git.kokkos/bin/nvcc_wrapper
>   -fPIC -g -DLANDAU_DIM=2 -DLANDAU_MAX_SPECIES=10 -DLANDAU_MAX_Q=4 -O -+
> -qPIC  -std=gnu++14 -o CMakeFiles/cmTC_429f1.dir/testCXXCompiler.cxx.o -c
> /gpfs/alpine/csc314/scratch/adams/petsc/arch-summit-opt-gnu-kokkos-cuda/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
>     nvcc_wrapper has been given GNU extension standard flag -std=gnu++14 -
> reverting flag to -std=c++14
>     nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35',
> 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a
> future release (Use -Wno-deprecated-gpu-targets to suppress warning).
>     g++: error: unrecognized command line option �~@~X-qPIC�~@~Y; did you
> mean �~@~X-fPIC�~@~Y?
>     gmake[1]: *** [CMakeFiles/cmTC_429f1.dir/build.make:78:
> CMakeFiles/cmTC_429f1.dir/testCXXCompiler.cxx.o] Error 1
>     gmake[1]: Leaving directory
> '/gpfs/alpine/csc314/scratch/adams/petsc/arch-summit-opt-gnu-kokkos-cuda/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeTmp'
>     gmake: *** [Makefile:127: cmTC_429f1/fast] Error 2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210923/7474b340/attachment.html>


More information about the petsc-users mailing list