Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Running on a remote computer

Dear Jeff,

Thank you a lot for your comprehensive answer and the link to the tutorial. I will have a look at this as soon as possible.

Denis

Jeffrey Overbey a écrit :
Is this feature now available in photran ?
If not, is there a way to launch a script on a remote server from the
Eclipse environment ?

Developing Fortran projects on a remote server is possible, but it's
not easy, intuitive, or well-tested.  That's one area we hope to work
on in the future.  Hopefully it will be in a year or two.

You have to use a combination of RSE (Remote System Explorer), PTP
(Parallel Tools Platform), and RDT (Remote Development Tools for
C/C++).  This gives you remote C/C++ development support.  Basically,
you would create a remote C/C++ project, but you would put Fortran
source code in it, and have it use your Fortran compiler and linker
rather than a C/C++ compiler and linker, probably by writing your own
Makefile.  (Internally, C and Fortran projects are basically
identical, which is why this works.)

There is a somewhat outdated tutorial at
http://wiki.eclipse.org/PTP/photran/tutorials called "Compiling and
Running the Parallel Ocean Program using Photran 5.0, PTP 3.0, and
RDT" that goes through this process.  It was written with an early
(prerelease) version of PTP 3 with some UI differences, so the
step-by-step instructions aren't quite right, but maybe it will give
you a basic idea of what's involved.

Be sure, if you create a remote Fortran project, that
analysis/refactoring is turned OFF in the project properties (it is
off by default, so don't turn it on).  Otherwise you'll probably find
the Fortran Indexer running constantly, using up a lot of bandwidth
transferring files from the remote server.

Jeff
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


--
Denis FEURER
--
HydroSciences Montpellier
Université Montpellier 2
Place Eugène Bataillon - Case Courrier MSE
34095 Montpellier Cedex 5
Tel. +33 (0)4 67 14 90 35
Fax. +33 (0)4 67 14 47 74
http://www.hydrosciences.org/
--




Back to the top