Skip to content

Commit

Permalink
Update lib/MPIPreferences/src/MPIPreferences.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Churavy <[email protected]>
  • Loading branch information
JBlaschke and vchuravy authored Jul 20, 2023
1 parent a73e399 commit 7c4b393
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/MPIPreferences/src/MPIPreferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,15 @@ function use_system_binary(;
preloads = []
preloads_env_switch = nothing
cclibs = []
if vendor == "cray"
if vendor === nothing
elseif vendor == "cray"
cray_pe = CrayParser.analyze_cray_cc()
library_names = [cray_pe.libmpi]
preloads = [cray_pe.libgtl]
preloads_env_switch = cray_pe.gtl_env_switch
cclibs = cray_pe.cclibs
else
error("Unknown vendor $vendor")
end

# Set `ZES_ENABLE_SYSMAN` to work around https://github.com/open-mpi/ompi/issues/10142
Expand Down

0 comments on commit 7c4b393

Please sign in to comment.