<div dir="ltr">This is fixed now. I did not have a gcc module loaded so it was picking up some default.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 23, 2021 at 8:56 AM Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">This was working before but now I get this (strange) error:<div><br></div><div>  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<br>    gmake[1]: Entering directory '/gpfs/alpine/csc314/scratch/adams/petsc/arch-summit-opt-gnu-kokkos-cuda/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeTmp'<br>    Building CXX object CMakeFiles/cmTC_429f1.dir/testCXXCompiler.cxx.o<br>    /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<br>    nvcc_wrapper has been given GNU extension standard flag -std=gnu++14 - reverting flag to -std=c++14<br>    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).<br>    g++: error: unrecognized command line option �~@~X-qPIC�~@~Y; did you mean �~@~X-fPIC�~@~Y?<br>    gmake[1]: *** [CMakeFiles/cmTC_429f1.dir/build.make:78: CMakeFiles/cmTC_429f1.dir/testCXXCompiler.cxx.o] Error 1<br>    gmake[1]: Leaving directory '/gpfs/alpine/csc314/scratch/adams/petsc/arch-summit-opt-gnu-kokkos-cuda/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeTmp'<br>    gmake: *** [Makefile:127: cmTC_429f1/fast] Error 2<br><br></div></div>
</blockquote></div>