The program searches for all magic squares of an order prescribed by the user (in a clever way). The solutions are written to the screen and an output file.
In principal the program will find all magic squares of any order.
The major limitation is computation time. All magic squares of order 4x4 are found in a matter of minutes. For higher orders computation times increase considerably.
However, intermediate results are written to the output file.
(Up to now, the maximum allowed order is 1290x1290 due to the maximum allowed values of integers in the code, this is to be fixed in a later version, possibly by the user if he obtains the source code. There is no principal limitation in the maximum order because of the generality of the coding).
The program can be run from the command prompt. It is written in the Fortran90 language.