Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate what other environment variables are needed for postprocessing #106

Open
ilectra opened this issue Mar 8, 2023 · 4 comments

Comments

@ilectra
Copy link
Collaborator

ilectra commented Mar 8, 2023

... in addition to the fields in the perflogs - things like compilers and their versions, MPI implementations, the benchmark app version, etc.

  • Could any of them be fished out of the perflog fields?
  • Should we just ask users to add whatever they need logged as an environment variable?
@giordano
Copy link
Member

giordano commented Mar 8, 2023

I think compiler version and MPI implementation should be fished out from the Spack environment (#110), and probably use Spack programmatic API to get specific information about compiler, MPI, etc....

@giordano
Copy link
Member

giordano commented Mar 8, 2023

For example

% spack -e . spec sombrero
Input spec
--------------------------------
sombrero

Concretized
--------------------------------
sombrero@2021-08-16%[email protected] build_system=makefile arch=linux-arch-haswell
    ^[email protected]%[email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-arch-haswell
% spack -e . python
Spack version 0.20.0.dev0
Python 3.10.9, Linux x86_64
>>> from spack.spec import Spec
>>> spec = Spec("sombrero").concretized()
>>> spec.compiler
[email protected]
>>> spec["mpi"]
[email protected]%[email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-arch-haswell

@ilectra
Copy link
Collaborator Author

ilectra commented Mar 8, 2023

So maybe add functionality to the high-level script (#104) to search for some standard things like those inside the spack speck file, if it cannot find them as fields in the perflog? The input to that script is looking more and more like it should be a config file instead of command-line options....

@ilectra
Copy link
Collaborator Author

ilectra commented Feb 5, 2024

This is partly being taken care of by #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants