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
Closed

ignore exeuction of run_prefix on remote machine #171

arabnejad opened this issue Mar 10, 2020 · 0 comments
Assignees
Labels

Comments

@arabnejad
Copy link
Collaborator

@arabnejad arabnejad commented Mar 10, 2020

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 that will close this issue Mar 10, 2020
@arabnejad arabnejad linked a pull request that will close this issue Mar 12, 2020
@djgroen djgroen closed this in #176 Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.