What Does Error: Unclassifiable Statement Mean?

  • Thread starter Thread starter saida29
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the Fortran compilation error "Error: Unclassifiable statement" encountered when using gfortran. The user reports issues with a specific line in their code, indicating a syntax error in the WRITE statement. The community emphasizes the importance of understanding error messages and encourages users to debug their own code rather than seeking direct fixes. Key insights include the necessity of identifying problematic statements and familiarizing oneself with common Fortran syntax errors.

PREREQUISITES
  • Understanding of Fortran programming language syntax
  • Familiarity with gfortran compiler usage
  • Knowledge of debugging techniques in programming
  • Ability to interpret compiler error messages
NEXT STEPS
  • Research common Fortran syntax errors and their resolutions
  • Learn how to effectively use gfortran debugging flags
  • Explore best practices for writing modular Fortran code
  • Study the structure and usage of WRITE statements in Fortran
USEFUL FOR

This discussion is beneficial for Fortran developers, students learning Fortran, and programmers seeking to improve their debugging skills in compiled languages.

saida29
Messages
1
Reaction score
0
hello
i'm sorry, i post this message in french at fist. thank you
 

Attachments

Engineering news on Phys.org
The pdf looks like:
hello
I have a program which usemodules recorded elsewhere. I compile with gfortran these modules then
the main code and I get the following message :
Code:
fbar(i,j,minus_i)=(1.d0-xi)*fbar(i,j,f1_i)+xi*f_star 1
Error: Unclassifiable statement at (1)
ye2011.for:1400.41:
&"density","rsd-density rsd-x rsd-y"
1
Error: Syntax error in WRITE statement at (1)

it joined the program then modules. I really need help.is there someone how can offer me a solution. thank you very much. thank you for your patience and your support
... then there is rather a lot of code.
The forum is not here to debug your code for you - you could open a free-software project and ask for community help for that. What we can do here is help you to debug your own code.

Fortunately the error message itself gives you a clue about where to look.

Do you know what "unclassifiable statement" means?
Do you know what a syntax error is?
Have you found the objectionable statements in your code?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
29K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K