Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] -fdollar-ok

It’s managed; I did get it to work by adding it directly after the Gfortran call in the section you describe.

 

More issues tomorrow, I appreciate the help greatly.  We’re trying to write just enough fortran to test legacy code and get a large amount of hard-coded data from several modules.  The plan is to move the new, completely rebuilt model in Python using Eclipse, and it would be really nice to be able to use Eclipse for both purposes.  We are also going to explore using f2py, but I still have to cross all of the compilation error bridge before that works.

 

Andy Alexis
Air Pollution Specialist

California Air Resources Board
Mobile Source Analysis Branch
Regulatory Support Section
916-323-1085
aalexis@xxxxxxxxxx

 

From: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx] On Behalf Of Beth Tibbitts
Sent: Monday, January 09, 2012 4:13 PM
To: Photran Information
Subject: Re: [photran] -fdollar-ok

 

What kind of Photran project do you have?
If it's a "managed build" project (aka "auto-generate a makefile") (you did a "New Fortran project" and selected one of the project types for Fortran that are not under "Makefile project")
   Then in the project properties, under "Fortran Build", then probably under "GNU Fortran Compiler" there is a "Miscellaneous" section where you can add random "other flags" such as this
If it's a Makefile project
   Then you modify the makefile just like if you weren't using Photran
 
This

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive hide details for "Alexis, Andy@ARB" ---01/09/2012 06:21:04 PM---I am a rank beginner at using Photran; we have a pile "Alexis, Andy@ARB" ---01/09/2012 06:21:04 PM---I am a rank beginner at using Photran; we have a pile of legacy Fortran F77/F90 code that has dollar

From:


"Alexis, Andy@ARB" <aalexis@xxxxxxxxxx>

To:


"photran@xxxxxxxxxxx" <photran@xxxxxxxxxxx>,

Date:


01/09/2012 06:21 PM

Subject:


[photran] -fdollar-ok

Sent by:


photran-bounces@xxxxxxxxxxx





I am a rank beginner at using Photran; we have a pile of legacy Fortran F77/F90 code that has dollar signs.  I need to add “-fdollar-ok” to the gfortran flags; how exactly do I do that?  
 

Andy Alexis
Air Pollution Specialist

California Air Resources Board
Mobile Source Analysis Branch
Regulatory Support Section
916-323-1085

aalexis@xxxxxxxxxx

 

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



Back to the top