JuliaParallel / JuliaParallel/MPI.jl

MPIPreferences fails with vendor="cray"

Open
#849 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
439
Forks
127
Avg merge
19h 6m
Merged PRs (30d)
17

Description

Error message:
```julia
julia> using MPIPreferences; MPIPreferences.use_system_binary(mpiexec="srun", vendor="cray")
Error:
Compiling x86_64 targets is not supported on aarch64 hosts.

ERROR: failed process: Process(`cc --cray-print-opts=all`, ProcessExited(255)) [255]

Stacktrace:
[1] pipeline_error
@ ./process.jl:565 [inlined]
[2] read(cmd::Cmd)
@ Base ./process.jl:449
[3] read
@ ./process.jl:458 [inlined]
[4] readchomp
@ ./io.jl:974 [inlined]
[5] analyze_cray_cc()
@ MPIPreferences.CrayParser /capstor/scratch/cscs/omlins/julia_local/julia_depot/packages/MPIPreferences/PLH7x/src/parse_cray_cc.jl:67
[6] use_system_binary(; library_names::Vector{…}, extra_paths::Vector{…}, mpiexec::String, abi::Nothing, vendor::String, export_prefs::Bool, force::Bool)
@ MPIPreferences /capstor/scratch/cscs/omlins/julia_local/julia_depot/packages/MPIPreferences/PLH7x/src/MPIPreferences.jl:180
[7] top-level scope
@ REPL[1]:1
Some type information was truncated. Use `show(err)` to see complete types.

```
Loaded modules:
```bash
[todi][omlins@nid007359 codes]$ module list

Currently Loaded Modules:
1) craype-x86-rome 8) cudatoolkit/23.9_12.2
2) libfabric/1.15.2.0 9) gcc-native/12.3
3) craype-network-ofi 10) craype/2.7.30
4) xpmem/2.8.2-1.0_3.7__g84a27a5.shasta 11) cray-mpich/8.1.28
5) perftools-base/23.12.0 12) cray-libsci/23.12.5
6) cpe/23.12 13) PrgEnv-gnu/8.5.0
7) cray/23.12


```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.