Overview of the Tonto library

From Tonto Wiki
Jump to: navigation, search
El-libro-tonto.jpg

The Tonto library has a very clean layout.

You control the action using the platform-specific compiler options file.

Tonto is built in the platform-specific directory after you type `make'.



Here's the complete desription and layout of what you get in Tonto:

  • The Foo source modules in foofiles/.
    • These are Foo language modules or `classes'.
    • Foo code is platform independent.
    • It gets translated into portable, modern Fortran.
    • If you don't like Foo, just take the Fortran and use that.
  • The Foo main programs in runfiles/.
    • These make use of the Foo source modules.
    • Most the programs them begin with run_<some-foo-module>.
    • These main programs are also translated into Fortran.
    • When you type "make" only the tonto.exe main program is made.
    • You can "make" any other program in the runfiles/ directory but they are not guaranteed to be supported
  • Perl scripts in scripts/
    • There are several scripts in there
    • Makefile.pl generates the Makefile to build the Tonto executable(s)
    • foo.pl translates Foo code into Fortran.
  • Platform-specific options file in the platforms/ directory.
    • It contains the platform-specific and user-chosen compiler and build options.
    • It is chosen during the set-up process when you type "perl -w Makefile.pl".
    • You change this file to get customised Tonto executables.
    • This file has the same name as the platform-specific directory which is generated during the build process.
    • This directory is what makes Tonto portable.
  • A built-in set of basis sets -- in basis_sets/
    • Gaussian and slater-type atomic basis sets
  • A test suite -- in tests/ and tests_for_CX/
    • Fully automated and easy to add new examples