Source code for scansplit_mpi
# Author: Carsten Sachse 11-Nov-2011
# Copyright: EMBL (2010 - 2018), Forschungszentrum Juelich (2019 - 2021)
# License: see license.txt for details
from spring.csinfrastr.csproductivity import OpenMpi
from spring.micprgs.micctfdetermine_mpi import ScanMpi
from spring.micprgs.scansplit import ScanSplit, ScanSplitPar
[docs]class ScanSplitMpi(ScanSplit, ScanMpi):
[docs]def main():
parset = ScanSplitPar()
reduced_parset = OpenMpi().start_main_mpi(parset)
####### Program
micrograph = ScanSplitMpi(reduced_parset)
micrograph.perform_splitscan()
if __name__ == '__main__':
main()