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

In conus404_ba_hourly README.md, what is the relationship between cpu settings in various files? #8

Open
mirizarry-ortiz opened this issue Nov 21, 2024 · 0 comments

Comments

@mirizarry-ortiz
Copy link

*What is the relationship between these lines in the config file:
cores_per_job: 2
processes: 2
memory_per_job: 48
max_jobs: 12

and the 128 in this command: srun --pty -p cpu -A mappnat --ntasks=1 --cpus-per-task=128 --exclusive -t 08:00:00 -u bash -i?

Should the cpus-per-task=128 in the srun command match the product of (MAX_JOBS defined in submit_c404-ba_hourly_workflow.sh) times ( max_jobs defined in the config file plus 1). Based on the example files in this repo, the product would be 10 * (12 + 1) = 130 which is higher than the cpus-per-task=128. Does cores_per_job (here 2) play any role in the cpus-per-task calculation?

Is 8 hours sufficient for the interactive job? What happens if the interactive job kicks me out at the 8 hours and the processing has not finished? Will it continue in the background or crash?

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