Hi,
I am a new cryosparc user and I am trying to learn from the Introductory Tutorial.
I have imported the movies and attempted motion correction. When I run tho job it immediately fails and in the logs I see this message:
sbatch: error: You are a member of multiple accounts(projects) on defq. sbatch: error: You need to specify which one to use by adding the --account (-A) sbatch: error: option to your command line or job script. sbatch: error: Batch job submission failed: Invalid account or account/partition combination specified
Nonetheless, I only have one project and I have tried adding --account command in queue_sub_script.sh file and rerunning the job but it does not help because the program removes my edits and runs the first version.
I don’t really understand where the problem is occurring or how I can solve it. Could you please help me with this issue?
Nonetheless, I only have one project and I have tried adding --account command in queue_sub_script.sh file and rerunning the job but it does not help because the program removes my edits and runs the first version.
Are you running cryosparcm cluster connect in the folder with the template, after modifying it?
Thanks for responding.
No, after I modify the queue_sub_script.sh file, I just rerun the job in cryosparc in the browser. I hope I understood your question correctly.
I also tried cryosparc cluster connect with -A (my account) but it made no difference.
You’ll need to modify the template that generates the queue_sub_script.sh files, and re-add the lane in CryoSPARC by running cryosparcm cluster connect after you make the changes.
Do you manage the CryoSPARC instnace/did you add the original SLURM lane that you’re submitting the jobs to? If not, you will probably want to contact whoever does.
I don’t think I understand what you mean by the template that generates the .sh file.
Could you please guide me through it, I am very new to this. I did not mess with any SLURM lanes or anything. I was just running the job through the UI.
Also I am using Berzelius to run cryosparc if that is an important detail
Welcome to the forum @Sarah.
Is Berzelius a computing facility?
The sbatch error suggests that an intervention is needed by someone who would have installed and configured CryoSPARC on the computer. The related configuration documentation can be found in the guide.
Yes it is.
Thank you for your help. I solved the problem by adding the line #SBATCH -A my-project-name in the cluster_script.sh in the cryosparc directory as you mentioned.