- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Balises:
- Intel® Fortran Compiler
Lien copié
5 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I am unfamiliar with this "OPTIONS" syntax, but it seems that the intent is to uncomment one of these FORMAT statements.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
>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
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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?
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable