38
edits
Spothineni (talk | contribs) No edit summary |
Spothineni (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
In order to setup XDS in cluster mode, forkcolspot and forkintegrate scripts need to be changed to access the gridengine environment and send jobs to different machines. Example scripts are below, need to be changed according to the environment. | In order to setup XDS in cluster mode, forkcolspot and forkintegrate scripts need to be changed to access the gridengine environment and send jobs to different machines. Example scripts are below, need to be changed according to the environment. | ||
< | <pre> | ||
#forkcolspot | |||
ntask=$1 #total number of jobs | ntask=$1 #total number of jobs | ||
Line 55: | Line 55: | ||
wait #wait for all background processes issued by this shell | wait #wait for all background processes issued by this shell | ||
rm -f mcolspot.tmp #this temporary file was generated by xds | rm -f mcolspot.tmp #this temporary file was generated by xds | ||
rm -rf fork*job* | rm -rf fork*job* | ||
</ | </pre> | ||
---- | ---- | ||
< | <pre> | ||
#forkcolspot_job | |||
#!/bin/csh | #!/bin/csh | ||
Line 68: | Line 68: | ||
set itask=$1 | set itask=$1 | ||
echo $itask | mcolspot_par | echo $itask | mcolspot_par | ||
</ | </pre> | ||
---- | ---- | ||
< | <pre> | ||
#forkintegate | |||
fframe=$1 #id number of the first image | fframe=$1 #id number of the first image | ||
Line 142: | Line 142: | ||
wait #wait for all background processes issued by this shell | wait #wait for all background processes issued by this shell | ||
rm -f mintegrate.tmp #this temporary file was generated by mintegrate | rm -f mintegrate.tmp #this temporary file was generated by mintegrate | ||
rm -rf fork*job* | rm -rf fork*job* | ||
</ | </pre> | ||
< | <pre> | ||
#forkintegrate_job | |||
#!/bin/bash | #!/bin/bash | ||
Line 157: | Line 157: | ||
set host=`uname -a | awk '{print $2}'` | set host=`uname -a | awk '{print $2}'` | ||
echo $image1 $nitask $itask $nbatask $host >> jobs.log | echo $image1 $nitask $itask $nbatask $host >> jobs.log | ||
echo $image1 $nitask $itask $nbatask | mintegrate_par | echo $image1 $nitask $itask $nbatask | mintegrate_par | ||
</ | </pre> | ||
edits