Skip to content

datatransferkit picking up wrong MPI compilers. [with intel compiler build] #253

@balay

Description

@balay

I'm my attempt to migrate xsdk CI from UTK - I'm seeing that the build just hangs

nice ./bin/spack install -j44 xsdk@1.0.0 %oneapi@2024.0.2 ^openmpi~rsh
<hang in ld>

Trying mpich instead of openmpi:

svcpetsc@petsc-gpu-02:/scratch/svcpetsc/spack.y$` nice ./bin/spack install -j44 xsdk@1.0.0 %oneapi@2024.0.2 ^mpich
<snip>
5 errors found in build log:
     125    -- MPI_EXEC='/usr/bin/mpiexec'
     126    -- The C compiler identification is IntelLLVM 2024.0.2
     127    -- Detecting C compiler ABI info
     128    -- Detecting C compiler ABI info - failed
     129    -- Check for working C compiler: /usr/bin/mpicc
     130    -- Check for working C compiler: /usr/bin/mpicc - broken
  >> 131    CMake Error at /scratch/svcpetsc/spack.y/opt/spack/linux-ubuntu22.04-x86_64/oneapi-2024.0.2/cmake-3.27.9-n7ajyo6zvjk7vrdv2lqfeuveqkitoh6q/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:67 (message):
     132      The C compiler
     133
     134        "/usr/bin/mpicc"
     135
     136      is not able to compile a simple test program.

Note: this build is supposed to use:

svcpetsc@petsc-gpu-02:/scratch/svcpetsc/spack.y$ ./bin/spack find -p mpich
-- linux-ubuntu22.04-x86_64 / oneapi@2024.0.2 -------------------
mpich@4.1.2  /scratch/svcpetsc/spack.y/opt/spack/linux-ubuntu22.04-x86_64/oneapi-2024.0.2/mpich-4.1.2-fjjspih6vzqigrwuzue2ppd6fwnuiyzg
==> 1 installed package
svcpetsc@petsc-gpu-02:/scratch/svcpetsc/spack.y$ 

spack-build-out.txt

So its picking up the wrong MPI/compilers from /usr/bin

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions