- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to compile a WW3 model, with pgf90 i have not any problem but with ifort I found a problem when the code has a !/OPTIONS (like this:
!/LLG 1000 FORMAT ....
!/XYG 1000 FORMAT ......
in this case it gives an error of compilation:
error #6052: This label has not been defined as a FORMAT label. [1000]
error #6052: This label has not been defined as a FORMAT label. [1000]
what is the corret option of compilation to use?
Thank you
I want to compile a WW3 model, with pgf90 i have not any problem but with ifort I found a problem when the code has a !/OPTIONS (like this:
!/LLG 1000 FORMAT ....
!/XYG 1000 FORMAT ......
in this case it gives an error of compilation:
error #6052: This label has not been defined as a FORMAT label. [1000]
error #6052: This label has not been defined as a FORMAT label. [1000]
what is the corret option of compilation to use?
Thank you
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am unfamiliar with this "OPTIONS" syntax, but it seems that the intent is to uncomment one of these FORMAT statements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for you answer.
>but it seems that the intent is to uncomment one of these FORMAT statements.
If I have one "OPTIONS" syntax I can uncomment one of these FORMAT statments but there are many options of this type. I can not uncomment all lines with these instructions because the program reads these Opcions from a namelist file. Using pgf90 these instructions readed without any error.
Thanks
>but it seems that the intent is to uncomment one of these FORMAT statements.
If I have one "OPTIONS" syntax I can uncomment one of these FORMAT statments but there are many options of this type. I can not uncomment all lines with these instructions because the program reads these Opcions from a namelist file. Using pgf90 these instructions readed without any error.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps these "OPTIONS directives" are PGI-specific. I have never seen that syntax before and it's unlike any other directive syntax I have seen. What you have is, in standard Fortran, a series of comments such that there is no FORMAT statement with label 1000. Something outside of standard Fortran is supposed to transform these comments into compilable statements. If you are using something that is a PGI-only extension, you will have to change it if you want to use any other compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>If you are using something that is just an extension of IGP, you will have to change if you want to use any >other compiler.
This is exactly what I'm doing at the moment because there is no other solution if I want to use the ifort compiler.
Thank you very much.
abdel
This is exactly what I'm doing at the moment because there is no other solution if I want to use the ifort compiler.
Thank you very much.
abdel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The WaveWatch III project is a huge undertaking. Weather simulation is typically done on supercomputers with a large number of pre and post processors. Options are sometimes passed to pre- and post-processors in the form of Fortran comments, just are directives are in Intel Fortran. For example: see the list of options under 6 in this WW3 source code.. Standard Fortran compilers should not be expected to know anything about such in-house conventions, and I doubt that PGI on a PC can process such comments as having any significance than as just comments. The PGI documentation says nothing about such embedded options. Perhaps you used a supercomputer version of PGI?
There is one recourse worth considering. Will using list-directed format instead of selecting between two or three Formats work?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page