Reputation: 497
To use allocated resources by slurm interactively and in the background, I use salloc -n 12 -t 20:00:00&
. The problem is that this command does not redirect me to the compute node and if I run a program it uses resources of the login node. Could you please help me to find the right command?
salloc -n 12 -t 20:00:00 a.out </dev/null&
but it fails :
salloc: error: _fork_command: Unable to find command "a.out"
Any help is highly appreciated.
Upvotes: 1
Views: 732
Reputation: 497
you only need to execute salloc -n 12 -t 20:00:00&
. Then use ssh to connect to the allocated node (for example, ssh node013
).
Upvotes: 1