Skip to content

Commit 5c15720

Browse files
committed
Took out sleeps from install_sge.sh because splitting apt-get into two steps seems to solve those problems.
1 parent 8df6533 commit 5c15720

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

travis/install_sge.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ echo "gridengine-master shared/gridengineconfig boolean true" | sudo debconf-set
1313
sudo apt-get install gridengine-common gridengine-master
1414
# Do this in a separate step to give master time to start
1515
sudo apt-get install libdrmaa1.0 gridengine-client gridengine-exec
16-
echo "Waiting 10 seconds for grid engine to come up..."
17-
sleep 10 # Wait for the server to come up, just in case
1816
export CORES=$(grep -c '^processor' /proc/cpuinfo)
1917
sed -i -r "s/template/$USER/" user_template
2018
sudo qconf -Auser user_template
2119
sudo qconf -au $USER arusers
2220
sudo qconf -as localhost
23-
sleep 5
2421
export LOCALHOST_IN_SEL=$(qconf -sel | grep -c 'localhost')
2522
if [ $LOCALHOST_IN_SEL != "1" ]; then sudo qconf -Ae host_template; else sudo qconf -Me host_template; fi
2623
sed -i -r "s/UNDEFINED/$CORES/" queue_template

0 commit comments

Comments
 (0)