The initialization (setup) runlevel, is called at the start of every yambo run, or with the explicit command yambo -i (recommended). At the first call, yambo will generate some extra database files which will be used by later yambo runs. Only some basic input variables can be adjusted. The basic procedure followed by the code is as follows:
During the initialization runlevel, yambo constructs the maps which correspond to the symmetry operations acting on the G space and on the k space.
It may be useful to specify, within yambo.in, a different number of maximum G vectors to be used from that read from the file s.db1. This maximum number of G-vectors is set by the MaxGvecs variable. Typically it is useful to reduce this from the default value for very large systems, where the reordering of all the G vectors can take quite a long time. However, this number will not generally correspond to a closed shell of G vectors (a shell is the set of all G vectors that are connected by symmetry operations of the point group which have the same modulus). Hence during initialization the code will modify the MaxGvecs slightly in order to "close the shell" by setting it to the nearest G space shell. This list of G vectors, shells and symmetry information is then written to the db.gops file.