Hi all,

I do not understand some commands related slurm.

in a bash sell script, I put

 

#!/bin/bash

salloc -p remote_host_name -N 1 --gres=gpu:1

ssh -X `echo $SLURM_NODELIST`

 

But this was not work. "salloc" did not work well.

 

so I put them in my .bashrc file such as

 

alias rsalloc="salloc -p romeo -N 1 --gres=gpu:1"

alias srsh="ssh -X `echo $SLURM_NODELIST`"

alias rshow="rsalloc && srsh"

 

 

Then, as a aliased command "rsalloc" and "srsh" works fine but "rshow" did
not work.

 

What is wrong?

 

Bokyoon

 

 



 

Reply via email to