Skip to content

ignore exeuction of run_prefix on remote machine #171

@arabnejad

Description

@arabnejad

in the current version, for each submitted job on the remote machine,
these statements

with cd(job_results_dir[threading.get_ident()]['job_results']):
        with prefix(env.run_prefix):
                run(...)

are not needed to be executed on the remote machine, for example, if run_prefix contains loading modules, you will get error output like

'module load' works only on Wn(worker nodes)!
To use module load please create job/interactive job.

however, in the case of localhost executing, those are mandatory
I think adding a simple check to ignore the execution of these commands would be helpful to decrease the output log

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions