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

trouble with exercise0 Part2 batch submission #4

Open
jcabaker opened this issue Apr 3, 2024 · 1 comment
Open

trouble with exercise0 Part2 batch submission #4

jcabaker opened this issue Apr 3, 2024 · 1 comment

Comments

@jcabaker
Copy link

jcabaker commented Apr 3, 2024

Hello, I'm pretty new to ARCHER2 and following this exercise in the HPC introduction course. I'm having trouble with the batch job submission. First, I navigated to /work/n02/n02/jcabaker

I copied the script into a file named helloWorldSerial.c and compiled it with:
cc helloWorldSerial.c -o hello-SER

This generates a file called 'hello-SER'.

Next, I updated the provided bash script to correct the job name (changed to hello-SER) but when I try to execute with the sbatch command I receive the following:

sbatch: error: Job rejected: Please specify a partition name.
sbatch: error: Batch job submission failed: Unspecified error

I tried 'n02' and n02-CRAFT for the account (CRAFT is my project with ARCHER2 resources), and n02 for the account and CRAFT for the partition. Please can you help me find where I'm going wrong as not sure what else to try. Thanks!

@jcabaker
Copy link
Author

jcabaker commented Apr 3, 2024

Ah, I realised I was putting the budget code inside the square brackets but needed to remove the square brackets. The Hitchhikers' Guide to ARCHER2 came to my rescue! https://www.archer2.ac.uk/training/courses/220302-hitchhikers-guide/

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