bsmart.scans.read_dir_mpi

Scan to read input files stored in a given directory

This version also works with MPI running; in principle also multicore if each MPI node is distributed on a different machine.

Requires specifying an input directory:

"Setup": {
    "Input_Dir": "<path to directory containing input files>"

}

Information

BSMArt Name: read_dir_mpi

Requires:
  • mpi4py

Settings:

  • Input_Dir: Path to input directory

class bsmart.scans.read_dir_mpi.NewScan(inputs, log)[source]

Bases: Scan

Class to run codes over a series of points stored in a given directory. The entries corresponding to the variables are stored in the json input as variables with the name given in the first line

initialise()[source]

method to allow the user scan to overload run settings etc during the initialisation process

run()[source]
write_lh_file(point, dir, name, values_dict=None)[source]

overload Les Houches input to just copy the file to the appropriate directory