You can specify those options directly in the file, rather than in the command line.
For the account (-A), this already exists as an option in AiiDA, you can do something like this when you submit:
[...]
'metadata': {
'options': {
'resources': {"num_machines": 1},
'max_wallclock_seconds': max_walltime,
'account': 'mr23'
}
[...]
For the -C option, I think we don't have an option yet, but you can use the custom_scheduler_commands, adding one more key to the `options` dictionary above:
'custom_scheduler_commands': '#SBATCH -C mc'
(the second string is the syntax of sbatch to specify the options in the file rather than in the command line - note that I didn't check it).
You can see all options here:
Another way to achieve the goal is to create a computer `daint-mc` for the multicore partition and, in the prepend-text of the computer, add `#SBATCH -C mc`.
[You can create a second computer `daint-gpu` for the GPU partition, if you have access to it (in any case, you'll have to use different codes, so having two computers is not a real issue).]
Best,
Giovanni