User's guide
mache.spack
Developer's guide
extract_spack_from_config_machines()
Extract machine configuration from XML and write it to a shell script.
machine (str) – Machine name.
compiler (str) – Compiler name.
mpilib (str) – MPI library name.
shell (str) – Shell script type (‘sh’ or ‘csh’).
output (str, optional) – Output file to write the shell script.
script (str) – The generated shell script as a string.