rminnichmerge57758a716 years agoHistory
24 lines · 487 B · Text
RawDownload
#!/bin/bash for i in /bgsys/argonne-utils/profiles/$USER/{CNK,INK,CNS,uloader,ramdisk}do	out=`objdump -x $i`	case "$out" in	*"File format not recognized"*)		echo $i: invalid executable format 1>2		exit -1;;	esacdone qsub -A BGPPlan9Meas -d -K $USER -v -t 30 -n $1 --kernel $USER --mode script /home/$USER/bin/sidestep.shsleep 4while truedo	job=`qstat | grep $USER | grep running | awk '{ print $1 }'`	if [[ -n $job ]]	then 		break	fi	sleep 10doneecho Node Available

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t