Great - what can I do with srun to accomplish the same goal (which I 
think will launch n processes on the node)?

        Thanks,
        ~Mike C. 

-----Original Message-----
From: Moe Jette [mailto:[email protected]] 
Sent: Tuesday, February 05, 2013 4:58 PM
To: slurm-dev; Michael Colonno
Subject: Re: [slurm-dev] config for commercial SMP code

The batch script only runs once on the job's first allocated node. Just run

sbatch -n4 /script/to/run


Quoting Michael Colonno <[email protected]>:

>             SLURM gurus ~
>
>
>
>             I have what I hope is a simple sbatch configuration issue. 
> I have a commercial tool (i.e. one for which I don’t have source code) 
> that I am configuring to run through SLURM. The tool support 
> specifying the number of cores to be used on a system. I need SLURM to 
> track and manage the number of cores in use but I need to launch just 
> one process on the executing node and feed in the number of cores 
> allocated to the tool’s command line syntax (already done this 
> parsing). I’ve tried many combinations of sbatch flags to make this 
> happen but I always get the error :
>
>
>
>             sbatch: error: Batch job submission failed: Requested node 
> configuration is not available
>
>
>
>             My submission syntax (e.g.):
>
>
>
>             sbatch -n4 --tasks-per-node=1 --nodes=1 /script/to/run
>
>
>
>             My node descriptions in slurm.conf are basic. What’s the 
> correct syntax to, in pseudo-code: “allocate n cores but launch just 
> one process on the executing node”.
>
>
>
>             Thanks,
>
>             ~Mike C.
>
>
>
>
>
>


Reply via email to