HvD: The code was experiencing some problems related to the GAs using multiple shared memory segments. The use of multiple shared memory segments is required when the GAs don't know how much memory is available and needed. Based on this assessment we were adviced that using ga_initialize_ltd would be better than using ga_initialize as the former explicitly sets the memory limit for the GAs. Hence the GAs can just allocate a single shared memory segment at the upper  limit size. This then removes the need to manage multiple shared memory  segments altogether.
HvD: The code was experiencing some problems related to the GAs using multiple
shared memory segments. The use of multiple shared memory segments is required
when the GAs don't know how much memory is available and needed. Based on this
assessment we were adviced that using ga_initialize_ltd would be better than
using ga_initialize as the former explicitly sets the memory limit for the GAs.
Hence the GAs can just allocate a single shared memory segment at the upper 
limit size. This then removes the need to manage multiple shared memory 
segments altogether.





rangsimanketkaew/NWChem