Documente Academic
Documente Profesional
Documente Cultură
http://wiki.eclipse.org/PT P/photran/documentation/photra...
PTP/photran/documentation/photran7installation
From Eclipsepedia
< PTP | photran | documentation You are here: PTP > Photran > Documentation > Photran 7.0 Installation Guide
System Requirements
To install Photran 7.0... 1. You must have a Java 1.5 or later Java Virtual Machine (JVM). To get reasonable performance, w e recommend Sun's JVM [1] (http://java.com/en/dow nload/manual.jsp) or IBM's J9 [2] (http://w iki.eclipse.org/index.php/J9) . OpenJDK (the default JVM on new er versions Fedora Linux) also w orks w ell, although GNU Classpath (the default JVM on older versions of Fedora) is generally too slow to be useful. 2. If you w ant to compile and build Fortran applications, you must have a m ake program (such as GNU Make) and a Fortran com piler (such as gfortran, the GNU Fortran compiler) in your system path. To debug Fortran applications, you must have GNU GDB installed. Many Linux/Unix systems include these; details on installing them in Window s and Mac are below .
Overview
There are tw o w ays to get Photran.
1 de 6
21-07-2011 15:04
PTP/photran/documentation/photran7installation - Eclips...
http://wiki.eclipse.org/PT P/photran/documentation/photra...
(Option 1) The easiest way is to install the Eclipse IDE for Parallel Application Developers. This includes Photran, as w ell as the C/C++ Development Tools, the Eclipse Parallel Tools Platform, and several other plug-ins. (Option 2) Alternatively, you can install Eclipse 3.7 (Indigo) and manually add Photran to your installation. This is how Photran w as installed in prior releases.
PTP/photran/documentation/photran7installation - Eclips...
http://wiki.eclipse.org/PT P/photran/documentation/photra...
7.
8. 9. 10.
Runtime" If you are running Linux and have the Intel Fortran Compiler installed, or if you are on a Macintosh and have the IBM XL Fortran compiler installed, expand "Fortran Compiler Support" and select the appropriate compiler. Note that you cannot install Intel Fortran compiler support unless you are running Linux! Click on the "Next" button If you get an error message, see below for troubleshooting information. Click the Finish button and agree to the license to complete the installation.
To install Photran, start Eclipse, then... 1. 2. 3. 4. 5. 6. 7. Click on Help > Install New Softw are... Click on the "Add..." button Click on the "Archive..." button Point it to the file ptp-master-5.0.0-I2011xxxxxxxx.zip Click OK to close the Add Site dialog. This w ill return you to the Install dialog. Expand "Fortran Development Tools (Photran)" and check the boxes next to "Photran End-User Runtime" and "Rephraser Engine End-User Runtime" (the latter is a supporting component) If you are running Linux and have the Intel Fortran Compiler installed, or if you are on a Macintosh and have the IBM XL Fortran compiler installed, expand "Fortran Compiler Support" and select the appropriate compiler. Note that you cannot install Intel Fortran compiler support unless you are running Linux! Click on the "Next" button If you get an error message, see below for troubleshooting information. Click the Finish button and agree to the license to complete the installation.
8. 9. 10.
3 de 6
21-07-2011 15:04
PTP/photran/documentation/photran7installation - Eclips...
http://wiki.eclipse.org/PT P/photran/documentation/photra...
Troubleshooting
Eclipse's installer gives notoriously cryptic error messages, w hich, unfortunately, are out of Photran's control. Some of the more common ones are below . If you run into a different error message and cannot resolve it, please ask for help on the Photran mailing list (http://w w w .eclipse.org/photran/mailinglists.php) .
Problem : You receive the follow ing error message during installation. Cannot complete the install because one or more required items could not be found. Missing requirement: 125xxxxxxxxxx 0.0.0.125xxxxxxxxxx requires 'org.eclipse.photran.intel.feature.group [7.0.0.xxxx]' but it could not be found Solution: You are attempting to install support for the Intel Fortran compiler, but you are not running Linux. Go back in the installation w izard, and uncheck "Linux Intel(R) Fortran Compiler Support."
Problem : You receive the follow ing error message during installation. Cannot complete the install because one or more required items could not be found. Softw are being installed: Photran End-User Runtime 7.0.x.xxxxxxxxxxxx (org.eclipse.photran.feature.group 7.0.x.xxxxxxxxxxxx) Missing requirement: Photran VPG CDT Interface Plug-in 7.0.x.xxxxxxxxxxxx (org.eclipse.photran.cdtinterface.vpg 7.0.x.xxxxxxxxxxxx) requires 'bundle org.eclipse.cdt.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Photran End-User Runtime 7.0.x.xxxxxxxxxxxx (org.eclipse.photran.feature.group 7.0.x.xxxxxxxxxxxx) To: org.eclipse.photran.cdtinterface.vpg [7.0.x.xxxxxxxxxxxx] Solution: You do not have CDT 8.0 installed, and it couldn't be dow nloaded and installed automatically. Try installing CDT 8.0 first, then retry installing Photran.
PTP/photran/documentation/photran7installation - Eclips...
http://wiki.eclipse.org/PT P/photran/documentation/photra...
different mirror instead. Georgia Tech's mirror at gtlib.gatech.edu is generally quite fast and reliable, for example.) 2. Add the Cygw in directories to your Window s PATH. Under Window s XP, the process is as follow s: 1. Make sure you are logged in under an administrator account. 2. Open the Control Panel. 3. Double-click the System icon. 4. Sw itch to the Advanced tab. 5. Click the Environment Variables button. 6. Under System Variables, find the variable "Path" in the list, and click on it. 7. Click Edit. 8. At the end of the "Variable Value" text, add
;C:\Cygwin\bin;C:\Cygwin\usr\bin;C:\Cygwin\usr\local\bin;C:\Cygwin\lib;C:\Cygwin\usr\lib
9. Click OK, click OK, click OK, and close the Control Panel. 10. Close and re-open Photran. Window s should now search C:\Cygw in\bin, C:\Cygw in\usr\bin, etc. w hen it's looking for executables (including make.exe, gcc.exe, and gfortran.exe).
Home Privacy Policy Terms of Use Copyright Agent Contact About Eclipsepedia Copyright 2011 The Eclipse Foundation. All Rights Reserved This page was last modified 14:03, 22 June 2011 by Jeffrey Overbey.
5 de 6 21-07-2011 15:04
PTP/photran/documentation/photran7installation - Eclips...
http://wiki.eclipse.org/PT P/photran/documentation/photra...
6 de 6
21-07-2011 15:04