File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,14 +13,11 @@ echo "gridengine-master shared/gridengineconfig boolean true" | sudo debconf-set
1313sudo apt-get install gridengine-common gridengine-master
1414# Do this in a separate step to give master time to start
1515sudo 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
1816export CORES=$( grep -c ' ^processor' /proc/cpuinfo)
1917sed -i -r " s/template/$USER /" user_template
2018sudo qconf -Auser user_template
2119sudo qconf -au $USER arusers
2220sudo qconf -as localhost
23- sleep 5
2421export LOCALHOST_IN_SEL=$( qconf -sel | grep -c ' localhost' )
2522if [ $LOCALHOST_IN_SEL != " 1" ]; then sudo qconf -Ae host_template; else sudo qconf -Me host_template; fi
2623sed -i -r " s/UNDEFINED/$CORES /" queue_template
You can’t perform that action at this time.
0 commit comments