Ignore:
Timestamp:
06/23/15 10:15:38 (11 months ago)
Author:
mmckerns
Message:

updated to use pathos.pools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UQ/legacy/envelope/Looper_BoLiSurr_Cy.py

    r776 r800  
    7676  solver.SetConstraints(_constraints) 
    7777 #ALTERNATE: multiprocessing map of cost function 
    78 ##from pathos.multiprocessing import ProcessingPool as Pool 
     78##from pathos.pools import ProcessPool as Pool 
    7979##solver.SetMapper(Pool().map) 
    8080 #ALTERNATE: MPI map of cost function 
     
    384384  # with multiprocessing  
    385385##nodes = 7 #len(runs) 
    386 ##from pathos.multiprocessing import ProcessingPool as Pool 
     386##from pathos.pools import ProcessPool as Pool 
    387387##results = Pool(nodes).map(looper, runs) 
    388388 
Note: See TracChangeset for help on using the changeset viewer.