22
33from jinja2 import Template
44
5- from mache .machine_info import MachineInfo , discover_machine
5+ from mache .machine_info import discover_machine
66from mache .spack .config_machines import extract_spack_from_config_machines
77
88
@@ -13,7 +13,6 @@ def get_spack_script(
1313 mpi ,
1414 shell ,
1515 machine = None ,
16- config_file = None ,
1716 include_e3sm_lapack = False ,
1817 include_e3sm_hdf5_netcdf = False ,
1918 load_spack_env = True ,
@@ -43,9 +42,6 @@ def get_spack_script(
4342 The name of an E3SM supported machine. If none is given, the machine
4443 will be detected automatically via the host name.
4544
46- config_file : str, optional
47- The name of a config file to load config options from.
48-
4945 include_e3sm_lapack : bool, optional
5046 Whether to include the same lapack (typically from MKL) as used in E3SM
5147
@@ -71,12 +67,6 @@ def get_spack_script(
7167 if machine is None :
7268 raise ValueError ('Unable to discover machine form host name' )
7369
74- machine_info = MachineInfo (machine )
75-
76- config = machine_info .config
77- if config_file is not None :
78- config .read (config_file )
79-
8070 load_script_template = ''
8171
8272 if load_spack_env :
0 commit comments