Passing in a ct.executor.SlurmExecutor definition into a @ct.lattice decorator's executor kwarg does not work properly. I am getting the dreaded "username is a required parameter in the Slurm plugin" error message even though the username is clearly shown in the UI. Unlike in #70, this is not a sublattice but rather a very simple workflow. It's clear that the covalent.conf file is being read whenever the executor is passed to the Lattice object. Passing it to the Electron object works as expected.
The UI will show "username is a required parameter in the Slurm plugin" even though the username is provided. In this case, I am starting from a default Covalent configuration file, which has no username by default.
Note: Using @ct.electron(executor=executor) instead of @ct.lattice(executor=executor) works fine.
Environment
main
What is happening?
Passing in a
ct.executor.SlurmExecutor
definition into a@ct.lattice
decorator'sexecutor
kwarg does not work properly. I am getting the dreaded "username is a required parameter in the Slurm plugin" error message even though the username is clearly shown in the UI. Unlike in #70, this is not a sublattice but rather a very simple workflow. It's clear that thecovalent.conf
file is being read whenever the executor is passed to theLattice
object. Passing it to theElectron
object works as expected.How can we reproduce the issue?
Let's take the example from the docs:
The UI will show "username is a required parameter in the Slurm plugin" even though the username is provided. In this case, I am starting from a default Covalent configuration file, which has no username by default.
Note: Using
@ct.electron(executor=executor)
instead of@ct.lattice(executor=executor)
works fine.What should happen?
The username should be detected.
Any suggestions?