Valid input format example
Illustrated by an exemplary run of the spin glass server.Given an instance of a two-dimensional quadratic 3x3 lattice on a torus with periodic boundaries.
The following represents the definition of a spin glass instance.
Note that the formerly used instance types (pm, gauss, pm3, gauss3, sk, and 2d) are obsolete, but still supported.
Example input file:
name: 3x3 system as a test for this nice service
1 2 -1.089460678023
2 3 0.526296171959
3 1 1.492510060258
4 5 0.542925533731
5 6 0.440804946137
6 4 -0.555618772831
7 8 0.400843564493
8 9 0.005781770273
9 7 -0.283108779696
1 4 -1.428048251086
2 5 0.063139021975
3 6 1.529559080159
4 7 -1.669458764103
5 8 0.193231695455
6 9 1.291781128584
7 1 0.604670335948
8 2 0.890948261885
9 3 -0.822280541834
1 2 -1.089460678023
2 3 0.526296171959
3 1 1.492510060258
4 5 0.542925533731
5 6 0.440804946137
6 4 -0.555618772831
7 8 0.400843564493
8 9 0.005781770273
9 7 -0.283108779696
1 4 -1.428048251086
2 5 0.063139021975
3 6 1.529559080159
4 7 -1.669458764103
5 8 0.193231695455
6 9 1.291781128584
7 1 0.604670335948
8 2 0.890948261885
9 3 -0.822280541834
Email result:
The Spin Glass Server (SGS) completed your Metajob:
Name: test-new.txt
Output Type: long
Containing Jobs: 1
Internal Metajob ID: 13675
Date: Fri Oct 1 12:47:43 2010
result:
--------------------------JOB: 13674 ----------------------------------
Name: 3x3 system as a test for this nice service
Problemtype: gauss
Size: 3
Machine: Intel Pentium 4 CPU 2.80GHz
result:
Energy (per spin): -0.98580397885
Magnetization (per spin):0.111111111111
CPU-Time (min:sec.1/100): 0:00.00
Here comes an optimal spin configuration:
total number of spins: 9
spins up: 4
CONFIGURATION_BEGIN
2 4 5 8
CONFIGURATION_END
Name: test-new.txt
Output Type: long
Containing Jobs: 1
Internal Metajob ID: 13675
Date: Fri Oct 1 12:47:43 2010
result:
--------------------------JOB: 13674 ----------------------------------
Name: 3x3 system as a test for this nice service
Problemtype: gauss
Size: 3
Machine: Intel Pentium 4 CPU 2.80GHz
result:
Energy (per spin): -0.98580397885
Magnetization (per spin):0.111111111111
CPU-Time (min:sec.1/100): 0:00.00
Here comes an optimal spin configuration:
total number of spins: 9
spins up: 4
CONFIGURATION_BEGIN
2 4 5 8
CONFIGURATION_END
Interpretation of the result:
- The ground state was computed on an Intel Pentium 4 CPU 2.80GHz.
- The computation finished on Fri Oct 1 12:47:43 2010.
- It took < 0.01 seconds cpu time to compute an exact ground state.
- The energy per spin is -0.98580397885.
- The magnetization is 0.111111111111.
- This configuration is mentioned explicitly between 'CONFIGURATION_START'
and 'CONFIGURATION_END'.
The spins 2, 4, 5, and 8 are all oriented "up", the others (1, 3, 6, 7, and 9) "down".
(The magnetization per spin is: (5-4)/9 = 0.111111111111).
The command-line-client has also the option "-t short", to only give a short output that does not specify the used hardware.