| 1 |
|
| 2 |
8 June, 2009 |
| 3 |
Bruce Ravel ([email protected]) |
| 4 |
|
| 5 |
Installing Athena, Artemis, and Hephaestus |
| 6 |
|
| 7 |
|
| 8 |
Do you have root access on your computer? |
| 9 |
========================================= |
| 10 |
|
| 11 |
If the answer is yes and you wish to install all this software to |
| 12 |
system space, then you will need to do all the following steps as |
| 13 |
root. On some systems, this means becoming root by issuing the "su" |
| 14 |
command and entering the root password. On systems that use sudo, |
| 15 |
you will need to precede evey command with "sudo" to run it with |
| 16 |
elevated privileges. |
| 17 |
|
| 18 |
If you do not have root access or if you do not wish to install to |
| 19 |
system space, you will need to follow the instructions in the |
| 20 |
`INSTALL_not_root' file. The instructions there walk you through a |
| 21 |
procedure for configuring your user account to maintain a local perl |
| 22 |
library. Once you have done this, you will not need to use sudo to |
| 23 |
run the commands below and all perl software will be installed into |
| 24 |
your own diskspace. |
| 25 |
|
| 26 |
|
| 27 |
Non-unix operating systems: |
| 28 |
=========================== |
| 29 |
|
| 30 |
Packages for Windows and Mac OSX are build separately. See |
| 31 |
http://cars9.uchicago.edu/iffwiki/Downloads for details. |
| 32 |
|
| 33 |
|
| 34 |
Prerequisites: |
| 35 |
============== |
| 36 |
|
| 37 |
You must install all of the follow before building the horae package |
| 38 |
|
| 39 |
1. PGPLOT and Ifeffit. |
| 40 |
2. perl/Tk: |
| 41 |
3. All perl pre-requisites from CPAN. At the command line issue this command: |
| 42 |
perl -MCPAN -e 'install Bundle::HoraeBundle' |
| 43 |
4. Bruce's LibPerlXray package of modules. |
| 44 |
|
| 45 |
Installing Athena, Artemis, and Hephaestus: |
| 46 |
=========================================== |
| 47 |
|
| 48 |
1. Download the latest version of the Horae from its homepage, |
| 49 |
http://feff.phys.washington.edu/~ravel/software/exafs/ |
| 50 |
|
| 51 |
2. Unpack the archive by issuing this command |
| 52 |
gzip -dc horae.XXX.tar.gz | tar xvf - |
| 53 |
This will unpack the contents to a directory called `horae-XXX/' |
| 54 |
where "XXX" indicates the release number of the latest release. |
| 55 |
|
| 56 |
3. cd into the `horae-XXX/' directory and issue the following |
| 57 |
commands |
| 58 |
perl Build.PL |
| 59 |
./Build |
| 60 |
./Build install |
| 61 |
The last step requires root privilege. You can alternately |
| 62 |
install into your own diskspace by running the "private-install" |
| 63 |
script. |
| 64 |
|
| 65 |
|
| 66 |
You are ready to go. The executables are called "atoms", "athena", |
| 67 |
"artemis", and "hephaestus". If you use csh or tcsh as your shell, |
| 68 |
you will need to type "rehash" if you are installing for the first |
| 69 |
time. You will also have the "horae_update" program installed, which |
| 70 |
can be used to update the horae package automagically in the future. |
| 71 |
|
| 72 |
Good luck. Submit bug reports to [email protected] or to the |
| 73 |
ifeffit mailing list and be sure to include enough information for me |
| 74 |
to replicate the problem. |