Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default, sinteract will allocate a 1 CPU core on compute-devel partition for 30 minutes.

...

Terminating the interactive session

To terminate the interactive session, use exit command

For example,

Code Block
hpcuser@x3002c0s9b0n0:~> sinteract

No account specified. Please select account to charge from:

  [1] lt200190
  [2] lt200191
  [3] lt200192

  [q] Quit

Please type a selection: 3
Running interactive job using lt200192 account
srun: job 917891 queued and waiting for resources
srun: job 917891 has been allocated resources
hpcuser@x1001c3s7b1n0:~> hostname -A
x1001c3s7b1n0.hostmgmt2001.lanta.nstda.or.th lanta-c-159
hpcuser@x1001c3s7b1n0:~> exit
exit
hpcuser@x3002c0s9b0n0:~> 

Before initiating the interactive session, the machine code isx3002c0s9b0n0 (starting with x300). In the interactive session, the machine code is x1001c3s7b1n0 (starting with x100). After exiting, the machine code is back to x3002c0s9b0n0.

...

Enabling X11 forwarding

To enable X11 forwarding in the interactive session, specify -X option.

...

Code Block
sinteract -p gpu -c 64 -G 4 -t 04:00:00

...

Checking whether you are in an interactive session

To check whether you are in an interactive session and which machine are you running on, use hostname -A command.

code name

Description

login[xx]

Frontend or Login node

lanta-c-[xxx]

compute node

lanta-m-[xxx]

memory node

lanta-g-[xxx]

GPU node

For example,

Code Block
hpcuser@x3002c0s9b0n0:~> sinteract

No account specified. Please select account to charge from:

  [1] lt200190
  [2] lt200191
  [3] lt200192

  [q] Quit

Please type a selection: 3
Running interactive job using lt200192 account
srun: job 917891 queued and waiting for resources
srun: job 917891 has been allocated resources
hpcuser@x1001c3s7b1n0:~> hostname -A
x1001c3s7b1n0.hostmgmt2001.lanta.nstda.or.th lanta-c-159
hpcuser@x1001c3s7b1n0:~> exit
exit
hpcuser@x3002c0s9b0n0:~> hostname -A
login02 login02 x3002c0s9b0n0.loginNET.lanta.nstda.or.th