[petsc-users] error on Spock

Mark Adams mfadams at lbl.gov
Tue Jul 13 20:50:14 CDT 2021


I got it to build by adding some stuff that I thought I got rid of (and
working):

    '--CPPFLAGS=-I${ROCM_PATH}/include',
    '--CC_LINKER_FLAGS=-L${ROCM_PATH}/lib -lamdhip64 -lhsa-runtime64',
    '--CXXPPFLAGS=-I${ROCM_PATH}/include',
    '--CXX_LINKER_FLAGS=-L${ROCM_PATH}/lib -lamdhip64 -lhsa-runtime64',
    '--COPTFLAGS=-g -O',
    '--CXXOPTFLAGS=-g -O',
    '--FOPTFLAGS=-g -O',
    '--HIPPPFLAGS=-I${MPICH_DIR}/include',
#    '--with-precision=double',

On Tue, Jul 13, 2021 at 9:37 PM Mark Adams <mfadams at lbl.gov> wrote:

> Configure is not finding mpicc:
>
> Using C compile: cc -o .o -c -fPIC -Wall -Wwrite-strings
> -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector
> -Qunused-arguments -fvisibility=hidden -g -O3
> mpicc -show: Unavailable
> C compiler version: Cray clang version 11.0.4
>  (bc9473a12d1f2f43cde01f962a11240263bd8908)
> Using C++ compile: CC -o .o -c -Wall -Wwrite-strings -Wno-strict-aliasing
> -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O3   -fPIC
>  -I/gpfs/alpine/csc314/scratch/adams/petsc/include
> -I/gpfs/alpine/csc314/scratch/adams/petsc/arch-spock-opt-cray/include
> -I/sw/spock/spack-envs/views/rocm-4.1.0/include
> mpicxx -show: Unavailable
> C++ compiler version: Cray clang version 11.0.4
>  (bc9473a12d1f2f43cde01f962a11240263bd8908)
>
>
> On Tue, Jul 13, 2021 at 9:30 PM Mark Adams <mfadams at lbl.gov> wrote:
>
>>
>>
>> On Tue, Jul 13, 2021 at 8:59 PM Junchao Zhang <junchao.zhang at gmail.com>
>> wrote:
>>
>>> Try petsc/main?
>>>
>>
>> This was main.
>>
>> I started with your Kokkos fix branch and saw this and tried with main
>> and w/o Kokkos.
>>
>>
>>> --Junchao Zhang
>>>
>>>
>>> On Tue, Jul 13, 2021 at 4:48 PM Mark Adams <mfadams at lbl.gov> wrote:
>>>
>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210713/687fb27a/attachment.html>


More information about the petsc-users mailing list