The How-to-Get Up-and-Running Page


(C) 1980-2007 A.L.Spek, Utrecht University, Padualaan 8, 3584 CH Utrecht, The Netherlands.

Reference: A.L.Spek (2003) J. Appl. Cryst. 36, 7-13.


HOW TO OBTAIN A COPY OF PLATON


PLATON is free of charge for Academics (as all Academic scientific software should be .....).

For-profit organisations should contact (E-mail address below) or forward a filled out application form before copying the programs.
A PDF version of this form may be found here

Note: All HTTP and FTP traffic is logged!


PLATON/UNIX Sources (Fortran & C), executables and test data can be found on the:
PLATON ANONYMOUS FTP-SERVER SITE (xraysoft.chem.uu.nl).


PLATON MS-WINDOWS WEB-SITE (Thanks to Louis Farrugia, Glasgow, Scotland)

PLATON for openVMS (Thanks to Jouk Jansen, TU-Delft, The Netherlands)

PLATON rpm's for Fedora Linux (Thanks to Pascal Parois, Glasgow, Scotland)>

Selected (Not always the latest version) Linux Executables (download, gunzip and rename to platon):

  1. platon_redhat.gz (Redhat platform)
  2. platon_debian_g77.gz (Debian g77 Platform)
  3. platon_debian_gfortran.gz (Debian gfortran Platform)

In order to get a copy of the program source you will have to copy (and uncompress) the two files

  1. platon.f.Z (Complete Fortran source of PLATON - obout 112000 lines of code)
  2. xdrvr.c.gz (C-interface to X-window library Xlib)
and compile and link them into an executable with the name 'platon' (see example file with the name compile) and when desirable, a soft link of pluton to platon.

Alternatively, copy platon.tar.gz which contains all files in the generic 'unix' directory (will compile without any change on DEC, SGI, SUN, Max-OSX and LINUX platforms).

For the Validation feature, a copy of the file check.def will be needed. (Also included in 'platon.tar.gz).


HOW TO COMPILE

On most UNIX implementations a compile line like the one given below should be sufficient:

f77 -o platon platon.f xdrvr.c -lX11

Some compilers need additional options (e.g. -Nl250).

Sometimes additional directions should be added on the compile line to indicate the location of libraries such us X11: -L /usr/X11/lib or -L /usr/X11R6/lib.

Some compilations crash when there is no sufficient space in /tmp. Use a cshell command such as

setenv TMPDIR .

instead (or any other directory with enough scratch space).

Some compilers only function when the source code platon.f has been split in smaller pieces (try parts of 10000 lines each) to be compiled separately.


INSTALLATION

The platon executable is best moved to a globally accessible directory

e.g. mv platon /usr/local/bin

In addition a link ln -s pluton platon in the same directory will give a direct path to PLUTON.

Some environment variables can be set (for programs etc. that are not in standard locations)

Finally, check whether things work with sucrose.spf (on the ftp server). with:

platon sucrose.spf

which should bring up the PLATON Main Selections Menu.

Click on CALC ALL

Three listing files are produced: 'sucrose.lis' (lineprinter format) ,a PostScipt version in A4-format sucrose.lps and a PDF version..


WHAT DOES IT COST?

PLATON may be downloaded and used free of charge by the academic community under the condition that it is not redistributed (just give a pointer to this PLATON HOMEPAGE at http://www.cryst.chem.uu.nl/platon/ or the anonymous ftp server xraysoft.chem.uu.nl for a current & fresh copy.

The author is interested in reports of misbehaviour and suggestions for additional features.

There is a charge of 5000 Euro + 19% VAT for commercial users (as a contribution to our continuing research efforts).

application form


PLATON HOMEPAGE
A PDF version can be found here
Note: and denote hard references that may cause Netscape hangup's when not connected to the Internet.


Last change 12-Mar-2007. e-mail to Ton Spek