135 from .impi
import detect
as impi_detect
136 except ImportError:
pass
139 from .mpiexec
import detect
as mpiexec_detect
140 except ImportError:
pass
143 from .srun
import detect
as srun_detect
144 except ImportError:
pass
147 from .inside_aprun
import detect
as inside_aprun_detect
148 except ImportError:
pass
151 from .mpiexec_mpt
import detect
as mpiexec_mpt_detect
152 except ImportError
as e:
pass
155 from .mpirun_lsf
import detect
as mpirun_lsf_detect
156 except ImportError
as e:
pass
159 from .lsf_cray_intel
import detect
as lsf_cray_intel_detect
160 except ImportError
as e:
pass
163 from .inside_aprun
import detect
as inside_aprun_detect
164 except ImportError
as e:
pass
169 if 'mpirun_lsf_detect' in dir()
and mpirun_lsf_detect():
170 from .mpirun_lsf
import *
171 elif 'srun_detect' in dir()
and srun_detect():
173 elif 'inside_aprun' in dir()
and inside_aprun_detect():
174 from .inside_aprun
import *
175 elif 'lsf_cray_intel_detect' in dir()
and lsf_cray_intel_detect():
176 from .lsf_cray_intel
import *
177 elif 'impi_detect' in dir()
and impi_detect():
179 elif 'mpiexec_mpt_detect' in dir()
and mpiexec_mpt_detect():
180 from .mpiexec_mpt
import *
181 elif 'mpiexec_detect' in dir()
and mpiexec_detect():
182 from .mpiexec
import *
184 from .no_mpi
import *
188 __all__=[
'mpirunner',
'can_run_mpi',
'bigexe_prepend',
189 'guess_maxmpi',
'guess_nthreads']