mache.spack.extract_spack_from_config_machines

mache.spack.extract_spack_from_config_machines(machine, compiler, mpilib, shell, output)[source]

Extract machine configuration from XML and write it to a shell script.

Parameters:
  • machine (str) – Machine name.

  • compiler (str) – Compiler name.

  • mpilib (str) – MPI library name.

  • shell (str) – Shell script type (‘sh’ or ‘csh’).

  • output (str) – Output file to write the shell script.