STAT icon indicating copy to clipboard operation
STAT copied to clipboard

Building STAT gui on summit

Open roblatham00 opened this issue 3 years ago • 2 comments

STAT user guide suggests using spack

on ORNL summit, I have found that stat-core-merger only works with python2.7, which poses challenges:

% spack spec stat+gui%[email protected] '^[email protected]' cxxflags=--std=c++14
Input spec
--------------------------------
stat%[email protected]+gui
    ^[email protected] cxxflags="--std=c++14"

Concretized
--------------------------------
==> Error: stat%[email protected]+gui ^[email protected] cxxflags="--std=c++14" is unsatisfiable, errors are:
  no version satisfies the given constraints

roblatham00 avatar Feb 18 '22 16:02 roblatham00

To be honest, the stat-core-merger isn't very well supported and is not the primary use case for STAT. STAT is more commonly used to attach to running hung jobs.

Certainly to build STAT via spack, you will need to use python 3.X. I think some effort would need to be done to make stat-core-merger work with python 3.X. I know that this in inconvenient, but you could build STAT with spack with python 3.X to get the main STAT functionality (attach to running jobs and the GUI). You could then build a separate STAT from source with python 2.x (and without the GUI) to try to get stat-core-merger working. For the python 2.x build you can configure against the dependencies that were built with spack (i.e., mrnet, dynist, launchmon, graphlib, etc.) and just specify --with-python=/path/to/your/python2.7

lee218llnl avatar Feb 18 '22 17:02 lee218llnl

I'm sorry to hear that about stat-core-merger. I was looking for a way to collect backtraces and it did exactly what I wanted.

roblatham00 avatar Feb 18 '22 17:02 roblatham00