Format of files for grpsan.f90:

Parameter file grpsan.par

13 lines define 13 variables.
  1. N : number of data sets or rank of the correlation matrix.
  2. filxxx : three letters prefix for names of input/output files.
  3. k0 : number of reclustering step. 0 means first clustering.
  4. clnm : this is 1 if the file with the name of the series exists. It has to be called xxx.names.
  5. be_in : Initial beta (inverse temparature).
  6. be_fin : Final beta (inverse temperature).
  7. t_wri : number of sweeps between consecutive writings on file xxx.ent.gsK.
  8. t_temp : number of sweeps between changes in temperature.
  9. nr_f : number of annealing cycles. Each cycle lowers and increases the temperature. At the end there is a final low temperature run.
  10. cf : factor for changes in beta (inverse temperature).
  11. idum : NEGATIVE seed for random number (we use a routine similar to ran2 of numerical recipies).
  12. flag : initial condition: 0=one set per cluster; 1=condition read from filgs=xxx.cnf.gs(k0-1); 2=random initial condition.
  13. rns : 1 if random sweep of lattice (else sequential).

On input

xxx.cij: is the covariance matrix in upper triangular form. It is written as a single column of numbers, where rows of the matrix are appended. Only the elements on the right of the diagonal are reported (the diagonal is excluded, being made of 1s).

xxx.names: Two columns. The first has the number of the series and is not used in grpsan.f90. The second has the names of the series. Names are up to 18 characters long.
 

On output

xxx.ent.gsK: 8 columns. Status of the system during the annealing. xxx.cnf.gsK: spin configuration of the ground state. Best cluster structure. 1 column with the labels of the spins. It is written so that the first line is the number of the cluster to which the first dataset belongs, and so on...

xxx.cls.gsK: 3 columns. Ground state cluster structure. Clusters are separated by empty rows. Cluster are sorted according to their energy per spin e/n. Inside the cluster the sets are ordered according to their extraction energy.

xxx.clt.gsK: 3 columns. Same as xxx.cls.gsK but with informations on the clusters on top of each cluster. It is supposed to be human readable.

xxx.now.gsK : 3 columns.The ground state energy at this time. This file is not initialized, so that new runs append their data to it.