Cluster Installation: Difference between revisions

Line 86: Line 86:


== Performance ==
== Performance ==
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:
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 changing the following line of the forkxds script:
  printf "0: %02x000000" <desired_number_of_threads> | xxd -r -g0 > nn.dat
maxcpu=$2 #maximum number of processors used by each job
to
maxcpu=$(awk -F '=' '/MAXIMUM_NUMBER_OF_PROCESSORS=/{print $2}' XDS.INP')
and inserting
  printf "0: %02x000000" $maxcpu | xxd -r -g0 > nn.dat
  dd bs=4 count=1 seek=13 conv=notrunc if=nn.dat of=mintegrate.tmp
  dd bs=4 count=1 seek=13 conv=notrunc if=nn.dat of=mintegrate.tmp
afterwards.
If the cluster is homogeneous then this is of course no concern.
If the cluster is homogeneous then this is of course no concern.
2,684

edits