Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore exeuction of run_prefix on remote machine #171

Closed
arabnejad opened this issue Mar 10, 2020 · 0 comments · Fixed by #176
Closed

ignore exeuction of run_prefix on remote machine #171

arabnejad opened this issue Mar 10, 2020 · 0 comments · Fixed by #176
Assignees

Comments

@arabnejad
Copy link
Collaborator

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

@arabnejad arabnejad added this to the VECMA M21 Release milestone Mar 10, 2020
@arabnejad arabnejad self-assigned this Mar 10, 2020
@arabnejad arabnejad linked a pull request Mar 10, 2020 that will close this issue
@arabnejad arabnejad linked a pull request Mar 12, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant