CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

fortran error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2004, 06:30
Default fortran error
  #1
simone santini
Guest
 
Posts: n/a
dear Cfd people, my VisualFortran 6.6 doesn't compile a program, error message being "unknown switch: \annotations: code". We think it depends on my notebook OS, Microsoft Xp, but we aren't sure. Someone can help me? Thank you!
  Reply With Quote

Old   August 30, 2004, 12:30
Default Re: fortran error
  #2
Ananda Himansu
Guest
 
Posts: n/a
Load a workspace containing your project. Then, on the menu bar at the top of the window, click on "Project" --> "Settings". In the little dialog box that pops up, look under the "Fortran", "Link" and "Browse" tabs, to check for the switch (Project Option) that the compiler complains about. I do not see any such switch under my Project Options, but this may be irrelevant. Incidentally, all the switches begin with a forward slash (/), not a backward slash (\). So perhaps the compiler is complaining about the "\" in "\annotations: code". In any case, if you spot such a switch, you can delete it from the Project Options, and see whether the compilation is then successful. Or, check the online documentation for the correct switch to use for the effect that the Project is trying to achieve.
  Reply With Quote

Old   August 31, 2004, 04:04
Default Re: fortran error
  #3
Rami
Guest
 
Posts: n/a
It should indeed be "/annotations:code" rather than "\annotations:code". The default is /noannotations (Same as /annotations:none)

Below is an extract from the help on this:

/annotations:code

Specifying /annotations:code annotates the machine code listing with descriptions of special instructions used for prefetching, alignment, and so on.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile calcMassFlowC aurore OpenFOAM Programming & Development 13 March 23, 2018 08:43
Accessing phi from a fvPatchField at same patch johndeas OpenFOAM 1 September 13, 2010 21:23
[Netgen] Installation of Netgen in SuSE Linux 92 edvardsenpriv OpenFOAM Meshing & Mesh Conversion 23 January 16, 2009 07:12
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 13:15.