<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>photran</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/maillist.html</link>
		<description>photran</description>
		<language>en-us</language>
		<pubDate>Mon, 06 May 2013 09:40:33 GMT</pubDate>
		<lastBuildDate>Mon, 06 May 2013 09:40:33 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>photran</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/photran/maillist.html</link>
		</image>
 

	<item>
		<title>[photran] Code Folding and Debugging Problems</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02039.html</link>
		<description>Hi everyone,I&amp;#39;m new to eclipse and IDE in general, always programmed with text editors more or less and debugged trivially or by use of separate debugger, sorry for the newbieness. I&amp;#39;m trying to getting Photran work in Eclipse and encountering some problem...</description>
		<content:encoded><![CDATA[<div dir="ltr">Hi everyone,<div>I&#39;m new to eclipse and IDE in general, always programmed with text editors more or less and debugged trivially or by use of separate debugger, sorry for the newbieness.</div><div><br></div>
<div style>I&#39;m trying to getting Photran work in Eclipse and encountering some problems. First of all, code folding doesn&#39;t seems to work in fortran perspective both on example code as with my bigger code (while it works with C++ perspective).</div>
<div style>I&#39;ve deactivated the horizontal ruler and checked the &quot;code folding&quot; box, resetted both editor as eclipse but doesn&#39;t seems to work.</div><div style><br></div><div style>Secondly debugging seems not to work nicely, breakpoints does not interrupt the running and variables values are not shown in the debugging perspective (while with C++ everything seems to work). Apart from not working does not show any sign of error or problems, just run the code straight from start to end without stopping at breakpoints.</div>
<div style><br></div><div style>Maybe the makefile miss the -debug option in the right place.<br><br>This is my makefile:</div><div style><div>.PHONY: all clean</div><div><br></div><div># Change this line if you are using a different Fortran compiler</div>
<div>FORTRAN_COMPILER = ifort</div><div><br></div><div>all: src/Green_v5.2.3.f90</div><div><span class="" style="white-space:pre">	</span>$(FORTRAN_COMPILER) -O2 -xHost -llapack -lblas \</div><div><span class="" style="white-space:pre">		</span>-o bin/NFT \</div>
<div><span class="" style="white-space:pre">		</span>src/NFT.f90</div><div><br></div><div>clean:</div><div><span class="" style="white-space:pre">	</span>rm -f bin/NFT *.mod</div><div><br></div><div style>And these are the packages I have installed on eclipse, thank you in advance for the help,</div>
<div style>A.</div><div style><br></div><div style><div class="" style="margin:0px;padding:5px 10px 4em;overflow:auto;font-size:12.800000190734863px;font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;color:rgb(51,51,51)">
<div class="" style="margin:0px;padding:0px"><div id="post_message_4908166" style="margin:0px;padding:0px"><blockquote class="" style="margin:0px;padding:0px;overflow:hidden;word-wrap:break-word">Autotools support for CDT	3.0.1.201302132326	org.eclipse.cdt.autotools.feature.group	Eclipse CDT<br>
Autotools support for CDT Source	3.0.1.201302132326	org.eclipse.cdt.autotools.source.feature.group	Eclipse CDT<br>C/C++ Debugger Services Framework (DSF) Examples	2.1.0.201302132326	org.eclipse.cdt.examples.dsf.feature.group	Eclipse CDT<br>
C/C++ Development Tools	8.1.2.201302132326	org.eclipse.cdt.feature.group	Eclipse CDT<br>C/C++ Development Tools SDK	8.1.2.201302132326	org.eclipse.cdt.sdk.feature.group	Eclipse CDT<br>C/C++ GCC Cross Compiler Support	1.1.0.201302132326	org.eclipse.cdt.build.crossgcc.feature.group	Eclipse CDT<br>
C/C++ GDB Hardware Debugging	7.0.0.201302132326	org.eclipse.cdt.debug.gdbjtag.feature.group	Eclipse CDT<br>C/C++ Memory View Enhancements	2.2.0.201302132326	org.eclipse.cdt.debug.ui.memory.feature.group	Eclipse CDT<br>C/C++ Memory View Enhancements Source	2.2.0.201302132326	org.eclipse.cdt.debug.ui.memory.source.feature.gro up	Eclipse CDT<br>
C/C++ Multicore Visualizer	1.0.0.201302132326	<a href="http://org.eclipse.cdt.gnu.multicorevisualizer.feature.gr">org.eclipse.cdt.gnu.multicorevisualizer.feature.gr</a> oup	Eclipse CDT<br>C/C++ Remote Launch	6.0.0.201302132326	org.eclipse.cdt.launch.remote.feature.group	Eclipse CDT<br>
C/C++ Unit Testing Support	7.0.0.201302132326	org.eclipse.cdt.testsrunner.feature.feature.group	Eclipse CDT<br>C/C++ Unit Testing Support Source	7.0.0.201302132326	org.eclipse.cdt.testsrunner.source.feature.feature .group	Eclipse CDT<br>
C99 LR Parser	5.2.0.201302132326	org.eclipse.cdt.core.lrparser.feature.feature.grou p	Eclipse CDT<br>C99 LR Parser SDK	5.2.0.201302132326	org.eclipse.cdt.core.lrparser.sdk.feature.group	Eclipse CDT<br>CDT Visual C++ Support	1.0.0.201302132326	org.eclipse.cdt.msw.feature.group	Eclipse CDT<br>
CDT Visualizer Framework	1.0.0.201302132326	org.eclipse.cdt.visualizer.feature.group	Eclipse CDT<br>Eclipse for Parallel Application Developers	1.5.2.20130214-1214	epp.package.parallel	null<br>Fortran Development Tools (Photran)	8.0.5.201303141447	org.eclipse.photran.feature.group	Eclipse PTP<br>
IBM XL Fortran Compiler Support	8.0.5.201303141447	org.eclipse.photran.xlf.feature.group	Eclipse PTP<br>Linux Intel(R) Fortran Compiler Support	8.0.5.201303141447	org.eclipse.photran.intel.feature.group	Eclipse PTP<br>Miscellaneous C/C++ Utilities	5.1.0.201302132326	org.eclipse.cdt.util.feature.group	Eclipse CDT<br>
Parallel Tools Platform (PTP) End-User Runtime	6.0.5.201303141502	org.eclipse.ptp.feature.group	Eclipse PTP<br>Parallel Tools Platform SDK	6.0.5.201303141502	org.eclipse.ptp.sdk.feature.group	Eclipse PTP<br>PTP Common External Components	6.0.5.201303141502	org.eclipse.ptp.external.feature.group	Eclipse PTP<br>
PTP Common Utilities	6.0.5.201303141502	org.eclipse.ptp.utils.feature.group	Eclipse PTP<br>PTP Contributed Target System Configurations	6.0.5.201303141502	org.eclipse.ptp.rm.jaxb.contrib.feature.group	Eclipse PTP<br>PTP Core Components	6.0.5.201303141502	org.eclipse.ptp.core.feature.group	Eclipse PTP<br>
PTP External Tools Framework	6.0.5.201303141502	org.eclipse.ptp.etfw.feature.group	Eclipse PTP<br>PTP External Tools Framework TAU Extension	6.0.5.201303141502	org.eclipse.ptp.etfw.tau.feature.group	Eclipse PTP<br>PTP External Tools Framework TAU Extension for Fortran	6.0.5.201303141502	org.eclipse.ptp.etfw.tau.fortran.feature.group	Eclipse PTP<br>
PTP Fortran Support	6.0.5.201303141502	org.eclipse.ptp.fortran.feature.group	Eclipse PTP<br>PTP Graphical Explorer of MPI Programs (GEM)	6.0.5.201303141502	org.eclipse.ptp.gem.feature.group	Eclipse PTP<br>PTP JAXB Resource Manager Support	6.0.5.201303141502	org.eclipse.ptp.rm.jaxb.feature.group	Eclipse PTP<br>
PTP LML JAXB Resource Manager	6.0.5.201303141502	org.eclipse.ptp.rm.lml_jaxb.feature.group	Eclipse PTP<br>PTP LML Support	6.0.5.201303141502	org.eclipse.ptp.rm.lml.feature.group	Eclipse PTP<br>PTP Parallel Language Development Tools	6.0.5.201303141502	org.eclipse.ptp.pldt.feature.group	Eclipse PTP<br>
PTP Parallel Language Development Tools Fortran Support	6.0.5.201303141502	org.eclipse.ptp.pldt.fortran.feature.group	Eclipse PTP<br>PTP Parallel Language Development Tools UPC Support	6.0.5.201303141502	org.eclipse.ptp.pldt.upc.feature.group	Eclipse PTP<br>
PTP Parallel Performance Wizard (PPW)	6.0.5.201303141502	org.eclipse.ptp.etfw.ppw.feature.group	Eclipse PTP<br>PTP Remote Services	6.0.5.201303141502	org.eclipse.ptp.remote.feature.group	Eclipse PTP<br>PTP Remote System Explorer Adapter	6.0.5.201303141502	org.eclipse.ptp.remote.rse.feature.group	Eclipse PTP<br>
PTP Remote Tools Adapter	6.0.5.201303141502	org.eclipse.ptp.remote.remotetools.feature.group	Eclipse PTP<br>PTP Remote Tools Services	6.0.5.201303141502	org.eclipse.ptp.remotetools.feature.group	Eclipse PTP<br>PTP Resource Manager for IBM LoadLeveler	6.0.5.201303141502	org.eclipse.ptp.rm.ibm.ll.feature.group	Eclipse PTP<br>
PTP Resource Manager for IBM Parallel Environment	6.0.5.201303141502	org.eclipse.ptp.rm.ibm.pe.feature.group	Eclipse PTP<br>PTP Resource Manager for MPICH2	6.0.5.201303141502	org.eclipse.ptp.rm.mpich2.feature.group	Eclipse PTP<br>
PTP Resource Manager for Open MPI	6.0.5.201303141502	org.eclipse.ptp.rm.openmpi.feature.group	Eclipse PTP<br>PTP Resource Manager for SLURM	6.0.5.201303141502	org.eclipse.ptp.rm.slurm.feature.group	Eclipse PTP<br>PTP Scalable Communication Infrastructure (SCI)	6.0.5.201303141502	org.eclipse.ptp.sci.feature.group	Eclipse.org<br>
PTP Scalable Debug Manager (SDM)	6.0.5.201303141502	org.eclipse.ptp.debug.sdm.feature.group	Eclipse PTP<br>PTP Services Framework	6.0.5.201303141502	org.eclipse.ptp.services.feature.group	Eclipse PTP<br>Rephraser Engine End-User Runtime	8.0.5.201303141447	org.eclipse.rephraserengine.feature.group	Eclipse PTP<br>
Unified Parallel C (UPC) Support	5.1.0.201302132326	<a href="http://org.eclipse.cdt.core.parser.upc.feature.feature.gr">org.eclipse.cdt.core.parser.upc.feature.feature.gr</a> oup	Eclipse CDT<br>Unified Parallel C (UPC) Support SDK	5.1.0.201302132326	org.eclipse.cdt.core.parser.upc.sdk.feature.group	Eclipse CDT<br>
Unified Parallel C Berkeley UPC Toolchain Support	1.0.3.201302132326	org.eclipse.cdt.bupc.feature.group	Eclipse CDT<br>XL C/C++ Compiler Support	6.3.1.201302132326	org.eclipse.cdt.xlc.feature.feature.group	Eclipse CDT<br>
XL C/C++ Compiler Support SDK	6.1.1.201302132326	org.eclipse.cdt.xlc.sdk.feature.group	Eclipse CDT</blockquote></div></div></div><div class="" style="margin:0px;padding:0px;width:1213.199951171875px;clear:both;color:rgb(62,62,62);font-family:Tahoma,Calibri,Verdana,Geneva,sans-serif;font-size:12.800000190734863px;line-height:12px">
<blockquote class="" style="margin:1em 0px 0px;padding:1em 10px 0px;overflow:hidden;border-top-width:1px;border-top-style:solid;border-top-color:rgb(204,204,204)"><div class="" style="margin:0px;padding:0px"></div></blockquote>
</div></div></div></div>
]]></content:encoded>
		<pubDate>Mon, 06 May 2013 09:33:42 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02039.html</guid>
		<author>andrea.idini@xxxxxxx (Andrea Idini)</author>
	</item>


	<item>
		<title>[photran] Question about sharing code among projects</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02038.html</link>
		<description>Hi, I'm not sure if this is Photran-specific or it's addressed elsewhere in the Eclipse docs, but I'm having trouble understanding if/how to share code among several projects without building libraries or duplicating source code. Simple example: In ~/works...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi,</pre><br>
<tt>I'm not sure if this is Photran-specific or it's addressed elsewhere in 
the Eclipse docs, but I'm having trouble understanding if/how to share 
code among several projects without building libraries or duplicating 
source code.</tt><br>
<br>
<tt>Simple example: In ~/workspace/cow I have a source directory (src) 
containing cow.f90 (the PROGRAM) and two modules m_graze and m_moo in 
m_graze.f90 and m_moo.f90, respectively. This builds and links properly 
to create the executable 'cow'. The executable and modules (m_graze.mod 
and m_moo.mod) are stored in ~/workspace/cow/Debug and object files are 
stored under ~/workspace/cow/Debug/src</tt><br>
<br>
<tt>Later, I create ~/workplace/sheep and have src/sheep.f90 as the program 
and src/m_baa.f90 as the module m_baa. I want to 'use m_graze, only: 
ruminate' in sheep.f90 to get access to the ruminate() subroutine.</tt><br>
<br>
<pre style="margin: 0em;">If I try to compile the sheep project, I'll get an error like:</pre><br>
<tt>error #7002: Error in opening the compiled module file.  Check INCLUDE 
paths.   [M_GRAZE]</tt><br>
<br>
<tt>Under Properties:Project References for sheep, I can select the cow 
project. Under Properties:Fortran Build:Settings:Intel 
Compiler:Preprocessor I can add ~/workspace/cow/Debug (location of the 
module files) so the compiler now finds the cow modules and compiles 
sheep.f90. However the linker dies with something like</tt><br>
<br>
<tt>Building target: sheep<br>
Invoking: Intel(R) Fortran Linker<br>
ifort -L/home/me/workspace/cow/Debug -o &quot;sheep&quot;  ./src/sheep.o<br>
./src/sheep.o: In function `sheep':<br>
/home/me/workspace/sheep/src/sheep.f90:11: undefined reference to 
`m_graze_mp_ruminate_'</tt><br>
<br>
<tt>This would normally be solved by adding libraries and library paths to 
the linker settings except that there are no appropriate libraries to 
link to (this is Fortran, not C.)</tt><br>
<br>
<tt>The cow project was perfectly capable of compiling and linking together 
cow.f90, m_graze.f90 and m_moo.f90 into an executable. Yet while the 
sheep project can compile sheep.f90 and m_baa.f90 and can find the 
module m_graze.mod, it can't seem to find the symbols for m_graze even 
though all the requisite information is present on the system for it to 
do so.</tt><br>
<br>
<tt>It would seem to be an easy matter of configuration to get the linker 
portion of ifort to find the missing pieces and put them together but I 
have no idea what magic words need to be entered where in the Photran UI 
to make this happen.</tt><br>
<br>
<tt>I confess an utter lack of interest and competence in C and the C build 
process and I'd rather avoid the diversion of creating libraries (.a or 
.so) unless that's the only way to make this work.</tt><br>
<br>
<tt>Ultimately, I'm looking for a pure Fortran solution to this problem so I 
can keep a single copy of the source code and don't have to manually 
maintain a pile of custom Makefiles.</tt><br>
<br>
<pre style="margin: 0em;">So can this be done?</pre><br>
<tt>Apologies if this has already been documented somewhere; Google is only 
showing me simple build examples, how to create modules, and how to link 
with existing libraries. There don't seem to be (m)any examples of code 
reuse with modules.</tt><br>
<br>
<pre style="margin: 0em;">Thanks for any light you can shed on this,</pre><br>
<pre style="margin: 0em;">-- Bob</pre><br>
]]></content:encoded>
		<pubDate>Fri, 03 May 2013 05:11:43 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02038.html</guid>
		<author>apthorpe@xxxxxxx (Bob Apthorpe)</author>
	</item>
	<item>
		<title>Re: [photran] Intel Fortran Error parsing</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02037.html</link>
		<description>An update would be nice. There are a few new options that would be nice to have in the Settings page (F2003 standards check, for example) and it'd be lovely if the Windows version of the Intel toolchain could be supported. I'd help code it but I couldn't m...</description>
		<content:encoded><![CDATA[<tt>On 05/02/2013 05:18 PM, Orion Poplawski wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Eclipse is not able to parse Intel Fortran errors for me.  Does 
something need to get done to enable it?</tt><br>
<br>
<tt>Currently:<br>
- Synchronized Fortran Project<br>
- Fortran Build -&gt; No ToolChain (although I don't see an Intel option)<br>
- Makefile project<br>
- Settings -&gt; Error Parsers -&gt; Photran Error Parser for Intel Fortran 
8.1 is checked</tt><br>
<br>
<tt>Ah, that's probably the issue.  I'm using Intel Fortran 2013.  Any 
hope for an update?  I'm willing to help code...</tt><br>
<br>
</blockquote><tt><br>An update would be nice. There are a few new options that would be nice 
to have in the Settings page (F2003 standards check, for example) and 
it'd be lovely if the Windows version of the Intel toolchain could be 
supported. I'd help code it but I couldn't make heads or tails of the 
Java code the last time I looked at it. :/</tt><br>
<br>
<pre style="margin: 0em;">-- Bob</pre><br>
]]></content:encoded>
		<pubDate>Fri, 03 May 2013 04:31:40 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02037.html</guid>
		<author>apthorpe@xxxxxxx (Bob Apthorpe)</author>
	</item>


	<item>
		<title>[photran] Intel Fortran Error parsing</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02036.html</link>
		<description>Eclipse is not able to parse Intel Fortran errors for me. Does something need to get done to enable it? Currently: - Synchronized Fortran Project - Fortran Build -&amp;gt; No ToolChain (although I don't see an Intel option) - Makefile project - Settings -&amp;gt; Error ...</description>
		<content:encoded><![CDATA[<tt>Eclipse is not able to parse Intel Fortran errors for me.  Does something need 
to get done to enable it?</tt><br>
<br>
<tt>Currently:<br>
- Synchronized Fortran Project<br>
- Fortran Build -&gt; No ToolChain (although I don't see an Intel option)<br>
- Makefile project<br>
- Settings -&gt; Error Parsers -&gt; Photran Error Parser for Intel Fortran 8.1 is 
checked</tt><br>
<br>
<tt>Ah, that's probably the issue.  I'm using Intel Fortran 2013.  Any hope for an 
update?  I'm willing to help code...</tt><br>
<br>
<pre style="margin: 0em;">--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   <a  href="http://www.nwra.com">http://www.nwra.com</a></pre><br>
]]></content:encoded>
		<pubDate>Thu, 02 May 2013 22:18:42 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02036.html</guid>
		<author>orion@xxxxxxx (Orion Poplawski)</author>
	</item>


	<item>
		<title>Re: [photran] Refactoring for Fortran code with #include?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02035.html</link>
		<description>Hi Brian, Good to hear from you! WRF is in Photran's (internal) test suite, but mostly as a goal... Unfortunately, not really, not at the moment. Refactoring in the presence of preprocessor directives is still a research topic. My group at Auburn Universit...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Brian,</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>I help manage a weather forecasting software package called WRF
</tt></blockquote><tt><br>Good to hear from you!  WRF is in Photran's (internal) test suite, but 
mostly as a goal...</tt><br>
<br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>It looked, at first glance, like all refactoring operations are 
disabled for Fortran source with C preprocessor directives.<br>
1.   Are there any workarounds for refactoring Fortran code with CPP 
directives?
</tt></blockquote><pre style="margin: 0em;"><br>Unfortunately, not really, not at the moment.</pre><br>
<tt>Refactoring in the presence of preprocessor directives is still a 
research topic.  My group at Auburn University is working on fully 
preprocessor-aware refactorings for C.  We hope to migrate our work to 
handle C-preprocessed Fortran (in Photran) in the next year or two, but 
it will depend on funding, etc.  Completely handling WRF would be 
fantastic.  (On that note, if you know someone at UCAR or elsewhere who 
would be interested in working with us to fund that kind of work, I'd 
really like to talk to them...)</tt><br>
<br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>2.  Can other features of Eclipse/PTP help us with finding and fixing 
certain &quot;bad&quot; code blocks that appear?
</tt></blockquote><tt><br>This is a really good idea... and also one that Photran doesn't 
implement at the moment.</tt><br>
<br>
<pre style="margin: 0em;">Jeff</pre><br>
]]></content:encoded>
		<pubDate>Mon, 22 Apr 2013 14:40:42 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02035.html</guid>
		<author>jeffreyoverbey@xxxxxxx (Jeffrey Overbey)</author>
	</item>
	<item>
		<title>[photran] Syntax error:Unexpected extraneous character</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02034.html</link>
		<description>Hi Eclipse Photran Developers and Users,I found photran error messages.Syntax error:Unexpected extraneous character(...), Expected one of the following: block, close, abstract, class, return, interface, call end of statement, go, print,aaaaa.f source progr...</description>
		<content:encoded><![CDATA[<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv897747951"><table cellspacing="0" cellpadding="0" border="0" id="yiv897747951bodyDrftID" class="yiv897747951"><tbody><tr><td id="yiv897747951drftMsgContent" style="font:inherit;"><div><span style="font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;">Hi Eclipse Photran Developers and Users,</span></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">I found photran error messages.</font></div><div>Syntax error:Unexpected extraneous character(...), Expected one of the following: block, close, abstract, class, return, interface, call end of statement, go, print,</div><div><br></div><div><font face="MS PGothic, sans-serif">aaaaa.f source program(</font><span style="font-size: inherit; font-style: inherit;
 font-variant: inherit; line-height: inherit;">f77 fixed format).</span></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF( DABS(XS-FPX(J)).LT.TOLX.AND</font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp; .DABS(YS-FPY(J)).LT.TOLX.AND</font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp;3 &nbsp; &nbsp; &nbsp; .DABS(ZS-FPZ(J)).LT.TOLX )</font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp;4 &nbsp; &nbsp; &nbsp; &nbsp;NFPE(1,J) = -IABS(NFPE(1,J))</font></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">I try to change f90 at file name. But I found same messages.</font></div><div><br></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">And I try to edit this source
 program.</font><span style="font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;">(period edit)</span></div><div><font face="MS PGothic,
 sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF( DABS(XS-FPX(J)).LT.TOLX.AND.</font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp; &nbsp;DABS(YS-FPY(J)).LT.TOLX.AND.</font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp;3 &nbsp; &nbsp; &nbsp; &nbsp;DABS(ZS-FPZ(J)).LT.TOLX )</font></div><div><font face="MS PGothic, sans-serif">&nbsp; &nbsp; &nbsp;4 &nbsp; &nbsp; &nbsp; &nbsp;NFPE(1,J) = -IABS(NFPE(1,J))</font></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">This is OK.</font></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">I will edit my source program at this method always?</font></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS
 PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif"><br></font></div><div><font face="MS PGothic, sans-serif">ECPLISE juno SP2 4.2.2M20130204-1200</font></div><div><font face="MS PGothic, sans-serif">ECLIPSE CDT 8.1.2.201302132326</font></div><div><font face="MS PGothic, sans-serif">Photran 8.0.5.201303141447</font></div><div><font face="MS PGothic, sans-serif">LINUX Intel Fortran comliper support 8.0.5.2013141447</font></div><div><br></div><div><font face="MS PGothic, sans-serif">Thank you.Sorry my poor English.</font></div><div><font face="MS
 PGothic, sans-serif"><br></font></div><div>t_dragon_2000@JAPAN</div><div><font face="MS PGothic, sans-serif"><br></font></div><div style="font-family:sans-serif;font-size:12pt;"><br></div></td></tr></tbody></table></div></td></tr></table>]]></content:encoded>
		<pubDate>Mon, 22 Apr 2013 06:33:24 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02034.html</guid>
		<author>t_dragon_2000@xxxxxxx (&#x7D30;&#x898B; &#x9054;&#x7537;)</author>
	</item>


	<item>
		<title>Re: [photran] Refactoring for Fortran code with #include?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02033.html</link>
		<description>Hi Brian,I am using it to develop another atmospheric model CRCM, not sure ho many lines, but there are also many preproc directives.I tried to use remote/synchronized project, but found it not very flexible, so i just created git repo on a server and clon...</description>
		<content:encoded><![CDATA[<div dir="ltr">Hi Brian,<div><br></div><div>I am using it to develop another atmospheric model CRCM, not sure ho many lines, but there are also many preproc directives.</div><div><br></div><div style>I tried to use remote/synchronized project, but found it not very flexible, so i just created git repo on a server and cloned the sources to the places where I do development (at home and university). I do turn on refactoring, and in some files it does not work, but still I enjoy autocompletion if not fortran-aware(ctrl+space) then simple search of previously used words (ctrl+.). The highlighting is great even though our code mixes fixed and free formats, the preprocessor even allows this in the same file..&#xC2;</div>
<div style>This is the most comfortable editor that I have ever used for working with many files. You could also try netbeans, I did not do the development in it, but imported WPS (and WRF - maybe do not remember now...) code in the netbeans project just to easier jump between files.&#xC2;</div>
<div><br></div><div style>Cheers</div><div>--</div><div>Oleksandr (Sasha) Huziy<br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/18 David Lauvergnat <span dir="ltr">&lt;<a href="mailto:Lauvergnat.Photran@xxxxxxx" target="_blank">Lauvergnat.Photran@xxxxxxx</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Brian,<br>
<div class="im"><br>
&gt;<br>
&gt; Hi Eclipse Photran Developers and Users,<br>
&gt;<br>
&gt; I help manage a weather forecasting software package called WRF, which is composed of over a million lines of Fortran code contributed from hundreds of different sources. &#xC2; Managing this complex software with an IDE would be extremely helpful, but the IDE support for complex Fortran (i.e. free-form, with script-generated code inserted with CPP directives) has traditionally been absent.<br>

&gt;<br>
&gt; I recently took a tutorial that covered Eclipse/PTP for Fortran developers. &#xC2; It looked, at first glance, like all refactoring operations are disabled for Fortran source with C preprocessor directives. &#xC2; Since most of the WRF software has these directives, which inserts automatically generated Fortran code sometimes in excess of 10,000 lines, it would seem l am still out of luck as far as using Eclipse/Photran to manage and try to control its ever-growing gnarliness.<br>

&gt;<br>
&gt;<br>
&gt; My questions are as follows:<br>
&gt;<br>
&gt; 1. &#xC2; Are there any workarounds for refactoring Fortran code with CPP directives?<br>
&gt;<br>
&gt; 2. &#xC2;Can other features of Eclipse/PTP help us with finding and fixing certain &quot;bad&quot; code blocks that appear? &#xC2; One example: we don&#39;t want users writing debug messages &#xC2;directly to various output streams, but call one of our debug message handling functions instead. &#xC2; We would like Fortran lines of the form<br>

&gt;<br>
&gt; &#xC2; &#xC2; &#xC2; &#xC2; &#xC2;write(0,*) &#39; error in rfftmi &#39;,ierr<br>
&gt;<br>
&gt; to be rewritten as<br>
&gt;<br>
&gt; &#xC2; &#xC2; &#xC2; &#xC2; &#xC2;write(stringbuf, *) &#xC2;&#39; error in rfftmi &#39;,ierr<br>
&gt; &#xC2; &#xC2; &#xC2; &#xC2; &#xC2;call wrf_debug(stringbuf)<br>
&gt;<br>
&gt;<br>
&gt; There are so many instances of these kinds of problems, that it just cries out for some kind of automated, incremental IDE tool to help find and change these kinds of code blocks.<br>
&gt;<br>
&gt;<br>
&gt; Any stories, good or bad, about using Eclipse/Photran to manage complex Fortran source are greatly appreciated.<br>
<br>
<br>
</div>I can&#39;t answer to your question about CCP directives.<br>
<br>
About mange complex code, I&#39;m developing fortran code not large as your code but it is about 100000 lines.<br>
The use of Eclipse/Photran works very well and I&#39;m really appreciate it, although, I&#39;ve encountered several problems relatively to the size of the code/files :<br>
- I don&#39;t find convenient to work with large files (more than several thousand lines), but it is OK.<br>
- Unfortunately, I can&#39;t use refactoring (I&#39;ve to disable it). I&#39;ve had several &quot;internal error&quot; and I&#39;ve had to &quot;rebuilt the database&quot; often. The worst is to save a file which can take ages (sometimes several minutes).<br>

<br>
Every new version of Eclipse/Photran, I&#39;m trying &quot;the refactoring feature&quot;, but I don&#39;t see improvement.<br>
<br>
Best regards<br>
<br>
David<br>
_______________________________________________<br>
photran mailing list<br>
<a href="mailto:photran@xxxxxxxxxxx">photran@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/photran" target="_blank">https://dev.eclipse.org/mailman/listinfo/photran</a><br>
</blockquote></div><br></div></div></div>
]]></content:encoded>
		<pubDate>Thu, 18 Apr 2013 22:06:32 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02033.html</guid>
		<author>guziy.sasha@xxxxxxx (Oleksandr Huziy)</author>
	</item>
	<item>
		<title>Re: [photran] Refactoring for Fortran code with #include?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02032.html</link>
		<description>Hi Brian, I can't answer to your question about CCP directives. About mange complex code, I'm developing fortran code not large as your code but it is about 100000 lines. The use of Eclipse/Photran works very well and I'm really appreciate it, although, I'...</description>
		<content:encoded><![CDATA[<pre>Hi Brian,

&gt; 
&gt; Hi Eclipse Photran Developers and Users,
&gt; 
&gt; I help manage a weather forecasting software package called WRF, which is composed of over a million lines of Fortran code contributed from hundreds of different sources.   Managing this complex software with an IDE would be extremely helpful, but the IDE support for complex Fortran (i.e. free-form, with script-generated code inserted with CPP directives) has traditionally been absent.   
&gt; 
&gt; I recently took a tutorial that covered Eclipse/PTP for Fortran developers.   It looked, at first glance, like all refactoring operations are disabled for Fortran source with C preprocessor directives.   Since most of the WRF software has these directives, which inserts automatically generated Fortran code sometimes in excess of 10,000 lines, it would seem l am still out of luck as far as using Eclipse/Photran to manage and try to control its ever-growing gnarliness.  
&gt; 
&gt; 
&gt; My questions are as follows: 
&gt; 
&gt; 1.   Are there any workarounds for refactoring Fortran code with CPP directives?  
&gt; 
&gt; 2.  Can other features of Eclipse/PTP help us with finding and fixing certain &quot;bad&quot; code blocks that appear?   One example: we don't want users writing debug messages  directly to various output streams, but call one of our debug message handling functions instead.   We would like Fortran lines of the form
&gt; 
&gt;          write(0,*) ' error in rfftmi ',ierr
&gt; 
&gt; to be rewritten as 
&gt; 
&gt;          write(stringbuf, *)  ' error in rfftmi ',ierr
&gt;          call wrf_debug(stringbuf)   
&gt; 
&gt; 
&gt; There are so many instances of these kinds of problems, that it just cries out for some kind of automated, incremental IDE tool to help find and change these kinds of code blocks.   
&gt; 
&gt; 
&gt; Any stories, good or bad, about using Eclipse/Photran to manage complex Fortran source are greatly appreciated.   


I can't answer to your question about CCP directives.

About mange complex code, I'm developing fortran code not large as your code but it is about 100000 lines.
The use of Eclipse/Photran works very well and I'm really appreciate it, although, I've encountered several problems relatively to the size of the code/files :
- I don't find convenient to work with large files (more than several thousand lines), but it is OK.
- Unfortunately, I can't use refactoring (I've to disable it). I've had several &quot;internal error&quot; and I've had to &quot;rebuilt the database&quot; often. The worst is to save a file which can take ages (sometimes several minutes).

Every new version of Eclipse/Photran, I'm trying &quot;the refactoring feature&quot;, but I don't see improvement.

Best regards

David
</pre>]]></content:encoded>
		<pubDate>Thu, 18 Apr 2013 21:48:22 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02032.html</guid>
		<author>Lauvergnat.Photran@xxxxxxx (David Lauvergnat)</author>
	</item>
	<item>
		<title>[photran] Refactoring for Fortran code with #include?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02031.html</link>
		<description>Hi Eclipse Photran Developers and Users,I help manage a weather forecasting software package called WRF, which is composed of over a million lines of Fortran code contributed from hundreds of different sources.   Managing this complex software with an IDE ...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style=""><div><br></div><div>Hi Eclipse Photran Developers and Users,</div><div><br></div><div>I help manage a weather forecasting software package called WRF, which is composed of over a million lines of Fortran code contributed from hundreds of different sources. &nbsp; Managing this complex software with an IDE would be extremely helpful, but the IDE support for complex Fortran (i.e. free-form, with script-generated code inserted with CPP directives) has traditionally been absent. &nbsp;&nbsp;</div><div><br></div><div>I recently took a tutorial that covered Eclipse/PTP for Fortran developers. &nbsp; It looked, at first glance, like all refactoring operations are disabled for Fortran source with C preprocessor directives. &nbsp; Since most of the WRF software has these directives, which inserts automatically generated Fortran code sometimes in excess of 10,000 lines, it would seem l am still out of luck as far as using Eclipse/Photran to manage and try to control its ever-growing gnarliness. &nbsp;</div><div><br></div><div><br></div><div>My questions are as follows:&nbsp;</div><div><br></div><div>1. &nbsp; Are there any workarounds for refactoring Fortran code with CPP directives? &nbsp;</div><div><br></div><div>2. &nbsp;Can other features of Eclipse/PTP help us with finding and fixing certain "bad" code blocks that appear? &nbsp; One example: we don't want users writing debug messages &nbsp;directly to various output streams, but call one of our debug message handling functions instead. &nbsp; We would like Fortran lines of the form</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;write(0,*) ' error in rfftmi ',ierr</div><div><br></div><div>to be rewritten as&nbsp;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;write(stringbuf, *) &nbsp;' error in rfftmi ',ierr</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;call wrf_debug(stringbuf) &nbsp;&nbsp;</div><div><br></div><div><br></div><div>There are so many instances of these kinds of problems, that it just cries out for some kind of automated, incremental IDE tool to help find and change these kinds of code blocks. &nbsp;&nbsp;</div><div><br></div><div><br></div><div>Any stories, good or bad, about using Eclipse/Photran to manage complex Fortran source are greatly appreciated. &nbsp;&nbsp;</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>--Brian</div><div><br></div><div><br></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>=======================================</div><div>Brian Bonnlander, Ph.D.</div><div>Software Engineer&nbsp;III</div><div>Mesoscale and Microscale Meteorology Division</div><div>National Center for Atmospheric Research (NCAR)</div><div><a href="mailto:bonnland@xxxxxxxx">bonnland@xxxxxxxx</a></div><div><br></div></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></td></tr></table>]]></content:encoded>
		<pubDate>Thu, 18 Apr 2013 20:04:20 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02031.html</guid>
		<author>bonnland@xxxxxxx (Brian Bonnlander)</author>
	</item>


	<item>
		<title>[photran] Weird syntax errors in Fortran project</title>
		<link>http://dev.eclipse.org/mhonarc/lists/photran/msg02030.html</link>
		<description>Hi all, my colleague recently installed Eclipse Juno with the latest version of Photran. Everything works beautifully except that he gets strange syntax error messages in the project tree view. The problem is well visible on the screen shot available here:...</description>
		<content:encoded><![CDATA[<tt>Hi all,<br>
my colleague recently installed Eclipse Juno with the latest version of 
Photran. Everything works beautifully except that he gets strange syntax 
error messages in the project tree view. The problem is well visible on 
the screen shot available here: 
<a  href="http://superflip.fzu.cz/download/photran_problem.jpg">http://superflip.fzu.cz/download/photran_problem.jpg</a>.<br>
The project is a rather large, but otherwise standard Fortran Makefile 
project. File extensions are f95, but the code is in fixed format. We 
have changed the file settings to fixed format for f95 extension 
wherever we could find it, and the project recognizes the files as fixed 
format. Nevertheless the parser identifies strange syntax errors. The 
syntax error displayed on the screen shot points to a line with nothing 
but comments in it. This or similar syntax errors appear in essentially 
all files of the project.</tt><br>
<br>
<tt>I would greatly appreciate any hint about what might be causing this 
behaviour or what diagnostics should we perform to identify the source 
of the problem.</tt><br>
<br>
<pre style="margin: 0em;">With best regards</pre><br>
<pre style="margin: 0em;">Lukas Palatinus</pre><br>
<pre style="margin: 0em;">--
Dr. Lukas Palatinus
Institute of Physics of the AS CR, v.v.i.
Cukrovarnicka 10
162 00 Prague 6
Czech Republic
tel.: +420220318462</pre><br>
<br>
]]></content:encoded>
		<pubDate>Wed, 17 Apr 2013 08:23:40 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/photran/msg02030.html</guid>
		<author>palat@xxxxxxx (Lukas Palatinus)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
