Skip to content

Commit

Permalink
remove not needed info
Browse files Browse the repository at this point in the history
  • Loading branch information
TApplencourt committed Feb 5, 2025
1 parent 8401fb7 commit c3ea934
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -988,26 +988,14 @@ if __FILE__ == $PROGRAM_NAME
warn(<<~EOF
WARNING: It looks like you are trying to trace an MPI application.
The recommended way is to use:
`#{launcher} iprof cmd`
`#{launcher} iprof cmd`
not
`iprof mpiexec cmd`
`iprof mpiexec cmd`
Using `iprof #{launcher} cmd` will only profile a *single* hostname
and may also profile the MPI launcher (e.g., PALS).
EOF
)


if OPTIONS[:'backend-names'].include?('ze') && !env_fetch_first('LTTNG_UST_ZE_DDI_TABLE_FORWARD')
warn(<<~EOF
ERROR: To profile PALS with the `ze` backend, you must either:
1. `export LTTNG_UST_ZE_DDI_TABLE_FORWARD=1`
2. Or disable the Level Zero backend by removing it from `--backends`.
EOF
)
exit(1)
end
end

# Setup Logger
Expand Down

0 comments on commit c3ea934

Please sign in to comment.