Changeset 3049 for trunk/GSASIImpsubs.py


Ignore:
Timestamp:
Sep 5, 2017 4:20:31 PM (4 years ago)
Author:
toby
Message:

reset InitMP after SelectConfigSetting?.OnApplyChanges? to allow number of cores to change on the fly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImpsubs.py

    r3041 r3049  
    4343ncores = None
    4444
     45def ResetMP():
     46    '''Call after changing Config var 'Multiprocessing_cores' to force a resetting
     47    of the useMP from the parameter.
     48    '''
     49    global ncores
     50    ncores = None
     51   
    4552def InitMP(allowMP=True):
    4653    '''Called to initialize use of Multiprocessing
Note: See TracChangeset for help on using the changeset viewer.