Skip to content

Commit

Permalink
only master (#253)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Applencourt <[email protected]>
  • Loading branch information
TApplencourt and Thomas Applencourt authored Jul 10, 2024
1 parent f86fd30 commit 568db3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,7 @@ if __FILE__ == $PROGRAM_NAME
parser.on('--trace-output PATH', 'Define where the ctf trace will be saved',
'Default path is something like: $THAPI_HOME/thapi-traces/thapi--%Y-%m-%d--%Hh%Mm%Ss',
'$THAPI_HOME defaults to $HOME') do |p|
raise(OptionParser::ParseError, "#{p} already exists") if File.exist?(p)

raise(OptionParser::ParseError, "#{p} already exists") if mpi_master? && File.exist?(p)
p
end

Expand Down

0 comments on commit 568db3a

Please sign in to comment.