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.
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.