text: from parsl.config import Config
  from parsl.providers import SlurmProvider
  from parsl.launchers import SrunLauncher
  from parsl.executors import HighThroughputExecutor
  from parsl.addresses import address_by_interface
  from parsl.tests.utils import get_rundir
  
  # If you are a developer running tests, make sure to update parsl/tests/configs/user_opts.py
  # If you are a user copying-and-pasting this as an example, make sure to either
  #       1) create a local `user_opts.py`, or
  #       2) delete the user_opts import below and replace all appearances of `user_opts` with the literal value
  #          (i.e., user_opts['swan']['username'] -> 'your_username')
  from .user_opts import user_opts
  
  
  config = Config(
      executors=[
          HighThroughputExecutor(
              label='Cori_HTEX_multinode',
              # This is the network interface on the login node to
              # which compute nodes can communicate
              address=address_by_interface('bond0.144'),
              cores_per_worker=2,
              provider=SlurmProvider(
                  'regular',  # Partition / QOS
                  nodes_per_block=2,
                  init_blocks=1,
                  # string to prepend to #SBATCH blocks in the submit
                  # script to the scheduler eg: '#SBATCH --constraint=knl,quad,cache'
                  scheduler_options=user_opts['cori']['scheduler_options'],
  
                  # Command to be run before starting a worker, such as:
                  # 'module load Anaconda; source activate parsl_env'.
                  worker_init=user_opts['cori']['worker_init'],
  
                  # We request all hyperthreads on a node.
                  launcher=SrunLauncher(overrides='-c 272'),
                  walltime='00:10:00',
                  # Slurm scheduler on Cori can be slow at times,
                  # increase the command timeouts
                  cmd_timeout=120,
              ),
          )
      ],
      run_dir=get_rundir(),
  )
  