Skip to content

Commit

Permalink
Add small wrapper around mpi2prv, to generate Paraver files from tr…
Browse files Browse the repository at this point in the history
…aces (#19)
  • Loading branch information
giordano authored May 7, 2024
1 parent ffa5e56 commit 5951fcd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/mpi2prv.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env julia

# Use this script like
# ./mpi2prv.jl <MPIT files> <PRV OUTPUT FILE>
#
# Example:
# ./mpi2prv.jl set-0/*.mpit output.prv
#
# NOTE: you must run this in an environment where `Extrae_jll` is installed. If you want to
# run this in a specific environment, either set the environment variable `JULIA_PROJECT`
# (https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_PROJECT):
# JULIA_PROJECT=<PROJECT> ./mpi2prv.jl <MPIT files> <PRV OUTPUT FILE>
# or run the script with
# julia --project=<PROJECT> mpi2prv.jl <MPIT files> <PRV OUTPUT FILE>

using Extrae_jll: mpi2prv

run(`$(mpi2prv()) $(ARGS)`)

0 comments on commit 5951fcd

Please sign in to comment.