-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/dmorse/pscf
- Loading branch information
Showing
19 changed files
with
811 additions
and
715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
|
||
.. _install-binary-sec: | ||
|
||
Binary Installation | ||
=================== | ||
|
||
The steps to install a precompiled binary are different for different operating | ||
systems, and somewhat different for different distributions of linux. The | ||
intaller for Mac OS X installs a completely self-contained package that | ||
includes copies of all required external libraries. Instructions for using | ||
.rpm and .deb installers for Redhat and Debian linux systems instead require | ||
the user to install packages containing the FFTW fast Fourier transform and | ||
Lapack linear algebra libraries before installing PSCF. | ||
|
||
Mac OSX | ||
------- | ||
|
||
The procedure for installing PSCF on a Mac using a binary installer is | ||
similar to that for installing any application on a Mac: | ||
|
||
* Download the Mac pscf<version>.dmg installer from the PSCF home page | ||
|
||
* Open the .dmg file, and drag and drop the pscf_terminal icon file | ||
into the Applications folder. | ||
|
||
To run the program, simply double clicking the pscf_terminal application. | ||
This will open up a yellow terminal window from which you can use standard | ||
unix commands to navigate within the directory structure of your Mac, and | ||
from which you can invoke the pscf command. | ||
|
||
The first time you attempt to run pscf_terminal, Mac OSX security settings | ||
will prevent the application from starting because it is from an "Unknown | ||
Developer". You will need to add an exception for this software. The | ||
following instructions are provided by Apple on | ||
https://support.apple.com/kb/PH18657?locale=en_US: | ||
|
||
1. In the Finder, locate the app you want to open. Don’t use Launchpad to do | ||
this. Launchpad doesn’t allow you to access the shortcut menu. | ||
|
||
2. Press the Control key, then click the app icon, then choose Open from the | ||
shortcut menu. | ||
|
||
3. Click Open. | ||
|
||
The app is saved as an exception to your security settings, and you can | ||
open it in the future by double-clicking it just as you can any registered | ||
app. | ||
|
||
Ubuntu or Debian Linux | ||
---------------------- | ||
|
||
Ubuntu and Debian distributions of the linux operating systems both use | ||
package management systems that use .deb package files. To install on | ||
Ubuntu: | ||
|
||
* Download the pscf<version>.deb package from the PSCF home page | ||
|
||
* Use the Ubuntu software center graphical installer or the apt-get | ||
command line utility to install the following packages: | ||
|
||
- libfftw3-3 | ||
- liblapack3 | ||
|
||
To install these packages using apt-get, enter:: | ||
|
||
sudo apt-get libfftw3-3 | ||
sudo apt-get liblapack3 | ||
|
||
* Install the pscf package by running:: | ||
|
||
dpkg -i pscf<version>.deb | ||
|
||
* If the above command fails because of a missing dependence, try | ||
running:: | ||
|
||
apt-get install pscf<version>.deb | ||
|
||
This allows apt-get to attempt to fetch any missing dependencies. | ||
|
||
|
||
Fedora / Redhat Linux | ||
--------------------- | ||
|
||
Redhat distributions of the linux operating systems, including Fedora | ||
and CentOS, use package management systems that use .rpm package files. | ||
Instructions are similar to those for Ubuntu/Debian, except for the use | ||
of a different package file format and package manager. In this case: | ||
|
||
* Download the pscf<version>.rpm package from the PSCF home page | ||
|
||
* Use the yum command line utility or the Fedora graphical package | ||
manager to install the following packages from the appropriate | ||
Fedora repository: | ||
|
||
- fftw | ||
- lapack | ||
|
||
To install these packages using yum from the command line, enter:: | ||
|
||
> sudo yum install lapack | ||
> sudo yum install fftw | ||
|
||
* To install, enter:: | ||
|
||
sudo rpm -Uvh pscf<version>.rpm | ||
|
Oops, something went wrong.