-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
What would you like to report?
This issue was raised from this discussion: #2491
The code to reproduce this issue:
from jobflow_remote import submit_flow
from jobflow import Flow
from ase.build import bulk
from quacc.recipes.espresso.core import relax_job
from quacc import change_settings
from quacc import job, redecorate
atoms = bulk('Cu')
espresso_parallel_cmd = ("srun --cpu_bind=cores", "-npool 2")
relax_job_ = redecorate(relax_job, job(settings_swap={"ESPRESSO_PARALLEL_CMD": espresso_parallel_cmd}))
job = relax_job_(atoms, relax_run=False)
flow = Flow(jobs=[job])
resources = {"nodes": 1, "partition": "general", "qos": "test" , "nodes": "1", "ntasks_per_node": "8"}
response = submit_flow(flow, worker='example_worker', resources=resources)
print(response)
The "-npool 2" in espresso_parallel_cmd was not passed to the remote HPC successfully. This issue could be caused by that jobflow also has a same decorator @job as quacc.
Metadata
Metadata
Assignees
Labels
No labels