lanl / Pavilion

HPC testing harness
BSD 3-Clause "New" or "Revised" License
16 stars 12 forks source link

Expose machine and os paramerters to run scripts #16

Closed cadejager closed 8 years ago

cadejager commented 8 years ago

Some codes require knowing what KNL mode is being used at compile/build time. It would be nice if the msub/aprun "machine" and "os" parameters where made available to such scripts, say through an environment variable the way PV_NODES passes node values, etc. It is simple enough to pass this information along to the build scripts as a command-line parameter but then we have to duplicate information in the YAML files.

cadejager commented 8 years ago

This issue has been resolved by commit 33d74b40c6290ffdbf6345c91da8b3d54cd563b6