Ticket #69 (closed defect: fixed)
parallel DE solver buggy 'disp' & 'maxfun' behavior
Reported by: | mmckerns | Owned by: | mmckerns |
---|---|---|---|
Priority: | major | Milestone: | mystic-0.2a1 |
Component: | pathos | Keywords: | |
Cc: |
Description
for pyina's DE solver, setting disp=1 will cause optimization summary to be printed for all nodes in mpi_world. Desirable behavior is that the master prints everything as is, except for function evaluations... which are summed across all ranks, or printed individually for each rank.
Also, when maxiter is reached, the solver exits cleanly... when maxfun is reached, it hangs... waiting for a Ctrl-C.
Change History
comment:2 Changed 7 years ago by mmckerns
- Status changed from assigned to closed
- Resolution set to fixed
maxiter bug also in mystic.
fixed (maxiter, maxfun, and disp) in r149.
comment:3 Changed 7 years ago by mmckerns
- Status changed from closed to reopened
- Resolution fixed deleted
maxfun prints function evals for each node, but does not sum them (so all are printed individually). Also, the number of function calls is only compared to maxfun for the master. It should compare to the sum of all function calls across all nodes (if it doesn't slow down the calculation too much).
also, generations is never >= maxiter -- due to limiting generations to range(maxiter)