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

More flexible input parameters for job create #11

Open
unkcpz opened this issue Jan 13, 2023 · 0 comments
Open

More flexible input parameters for job create #11

unkcpz opened this issue Jan 13, 2023 · 0 comments

Comments

@unkcpz
Copy link
Collaborator

unkcpz commented Jan 13, 2023

The the job script is create with six parameters defined at

def create_job_script(
job_name, image, email, partition, ntasks_per_node, executable_cmd
) -> str:
"""The content of the job script"""
template = environment.get_template("cscs_job_script.j2")
content = template.render(
job_name=job_name,
email=email,
ntasks_per_node=ntasks_per_node,
partition=partition,
image=image,
executable_cmd=executable_cmd,
)
return content

Not all of them is required and confused for user if they have no much experience with slurm, such as partition. We should make the model of job script creating more flexible so users don't need to specify all those parameters and allowed to set from default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant