sxterm is a script LLNL created to simplify the request for a job that launches
an xterm window. While one can replicate everything sxterm does with sbatch +
job script, it has become so popular with our users, I included it in the
official Slurm commands listed in the manual you cite.
Don Lipari
Here is the usage:
sxterm: General-purpose SLURM xterm script.
Usage:
sxterm <nnodes> <ntasks> <nminutes> [<sbatch arg>]...
Examples:
Get 1 node with 8 tasks for 30 minutes in pdebug for workload myuse:
sxterm 1 8 30 -p pdebug --wckey=myuse
Get 8 nodes with 128 tasks for 4 hours after 1pm today using mybank:
sxterm 8 128 240 --begin 1PM -U mybank
On Blue Gene, <ntasks> takes an SMP-mode value; mpirun -mode -np as needed:
sxterm 128 128 120 -p pdebug
One command option, -g[eometry] widthxheight+-x+-y, may precede <nnodes>:
sxterm -g 160x25+0-44 2 16 60 -C 16GB --no-kill
On 4/21/17, 7:15 AM, "Shenglong Wang" <[email protected]> wrote:
srun --x11 xterm &
works on NYU HPC clusters.
Shenglong
> On Apr 21, 2017, at 10:09 AM, Allan Streib <[email protected]> wrote:
>
>
> LLNL mentionas a command "sxterm" in their slurm user manual[1].
>
> Xterm Jobs
>
> An xterm job is a job that launches an xterm window when the job
> runs. The sxterm command is used to submit an xterm job to Slurm.
> When the job is runs, an xterm window appears on the desktop of the
> user who invoked sxterm. At that point, the user can launch their
> application(s) from the xterm window across the computing resources
> which have been allocated to the job.
>
>
> I assume this is a local addition; amyone know if it's freely available?
> I could not find much in google or github searches.
>
> Allan
>
> [1] https://hpc.llnl.gov/banks-jobs/running-jobs/slurm-user-manual