Skip to content

-m minimal -b mpi:3 crashing #467

@colleeneb

Description

@colleeneb

In a run setting -m minimal -b mpi:3 we get a crash:

>  mpirun -n 1 -ppn 1 -- iprof -m minimal -b mpi:3 -- gpu_tile_compact.sh ./flops
Single Precision Peak Flops: 21305.7 GFlop/s
Double Precision Peak Flops: 10694.6 GFlop/s
THAPI: Trace location: /home/bertoni/thapi-traces/thapi_aggreg--2026-02-16T17:58:03+00:00
W, [2026-02-16T17:58:03.606541 #204348]  WARN -- : No source found in ["/home/bertoni/thapi-traces/thapi_aggreg--2026-02-16T17:58:03+00:00"]

with --no-analysis it does not crash:

>  mpirun -n 1 -ppn 1 -- iprof --no-analysis -m minimal -b mpi:3 -- gpu_tile_compact.sh ./flops
Single Precision Peak Flops: 21311 GFlop/s
Double Precision Peak Flops: 10694.6 GFlop/s
THAPI: Trace location: /home/bertoni/thapi-traces/thapi--2026-02-16T17:58:38+00:00

This can be reproduced with the following:

> module load thapi # on sunspot, so version looks like `git.426c8097e536fe40a8148bb83787ea695c91c57a=0.0.12-git.113`
> cat flops.cpp
#include <mpi.h>

int main(int argc, char **argv) {

  MPI_Init(NULL, NULL);
  MPI_Finalize();
}
> mpicxx -fiopenmp -fopenmp-targets=spir64 flops.cpp -o flops
> mpirun -n 1 -ppn 1 -- iprof -m minimal -b mpi:3 -- gpu_tile_compact.sh ./flops
THAPI: Trace location: /home/bertoni/thapi-traces/thapi_aggreg--2026-02-16T18:01:31+00:00
W, [2026-02-16T18:01:31.448234 #205202]  WARN -- : No source found in ["/home/bertoni/thapi-traces/thapi_aggreg--2026-02-16T18:01:31+00:00"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions