Introduction » LB Restart Reader

Follow input LB distribution.

The LB data restart reader component vt::vrt::collection::balance::LBDataRestartReader, accessed via vt::theLBDataReader() reads in an input object distribution for a given program and follows the distribution as specified in the file.

A common flow is the following:

  • Run the program to output LB data files (with the flag --vt_lb_data)
  • Input those files to the LBAF (Load Balancing Analysis Framework) to generate a new load distribution offline (e.g., to test a new LB strategy).
    • Tell LBAF to generate a new set of LB data files that contains a new mapping of object to processor
  • Run the program with the LBDataRestartReader to test this new mapping on the actual application
    • Using the options --vt_lb_data_dir_in=inputdir --vt_lb_data_file_in=filename