Cluster Installation: Difference between revisions

No edit summary
Line 86: Line 86:


== Performance ==
== Performance ==
For the qsub command at the end of the script, it is not necessary to stick to the value of maxcpu as provided by $2 of forkxds (which is supplied by xds_par). If the cluster has nodes with more cores than the node where xds_par was started, it may be more efficient to override maxcpu, by grep-ing MAXIMUM_NUMBER_OF_PROCESSORS from XDS.INP, or by supplying it to the script from an environment variable, or to hard-code the value. If the cluster is homogeneous then this is of course no concern.
If the cluster has nodes with more cores than the node where xds_par was started, the binary file mintegrate.tmp (written by xds_par, and read by mintegrate_par) must be patched, by adding these two lines to the forkxds script:
printf "0: %02x000000" <desired_number_of_threads> | xxd -r -g0 > nn.dat
dd bs=4 count=1 seek=13 conv=notrunc if=nn.dat of=mintegrate.tmp
If the cluster is homogeneous then this is of course no concern.
2,652

edits