You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Intercept batch node for interactive session

bsub -Is -q psnehprioq /bin/tcsh

Regular job submission to batch

bsub -q psfehq -o log-r169.log psana -c psana-config.cfg exp=cxif5315:run=169
bsub -q psfehq -o log-r169.log python psana-python.py

See list of batch jobs and batch system status

bjobs
bjobs -u dubrovin

bhosts psnehfarm
bhosts psfehfarm

bqueues psnehhiprioq 

list of queues: psnehhiprioq psfehiprioq psnehprioq psfehprioq psanaq psnehq psfehq 

Re-direct output in file

All POSIX operating systems have 3 streams: stdin, stdout, and stderr.

stdout is the primary output, which is redirected with >, >>, or |.

command >   file.txt
command >>  file.txt  # to append
command >&  file.txt # re-direct stdout and stderr
command 1>& file.txt # 1-stdout
command 2>& file.txt # 2-stderr
command 2> /dev/null # silence error

 

 

 

 

 

 

  • No labels