Документ взят из кэша поисковой машины. Адрес оригинального документа : http://star.arm.ac.uk/~csj/software_store/install_frameset/Howto_install_f.html
Дата изменения: Mon Jun 2 17:59:17 2003
Дата индексирования: Tue Oct 2 19:08:47 2012
Кодировка:

Поисковые слова: m 103
Simon's Software - howto 1-3

1. Setting up your folders

a. Decide on the root directory where your software is going to go.... [/home/friday], for example.

b. In your .cshrc file, define
setenv OSROOT /home/friday
The makefiles need OSROOT in order to find everything....

c. At some stage you will need the following folders (you may already have them)
[/home/friday/]lib Holder for object libraries
[/home/friday/]bin Holder for runtime binaries and scripts
[/home/friday/]include Holder for shared source code (f77 include files)
[/home/friday/]mod Holder for shared source code (f90 modules)
[/home/friday/]spectrum Root folder for SPECTRUM
[/home/friday/]sterne Root folder for STERNE
[/home/friday/]tfit Root folder for SFIT, TFIT, ...
Some of these should be created automatically when you download and unpack the tar files.

2. Obtaining the software

Collect the appropriate tar files from Simon's Software Store
You will need 'tools' and 'include' at the very least. These are gzipped. Then:

Note. Some tar files may contain more or less files than are actually required. Please let CSJ know about problems.

3. Building subroutine libraries

Each subroutine library is contained in a subfolder, e.g. ./qub. It will consist of

Each library makefile only defines things unique to that library. Then a common section of code, found in ../make_library (or ../make_library90) supplies all the necessary targets:

The conservative way to build this library is:
cd /home/friday/qub; make; make install; make clean

System-specific variables (eg compilers - FC, compiler options - FFLAGS) should be set in .cshrc or .login.

If you are feeling really brave, you can attempt the global build:
cd /home/friday/; make