- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a beginner in Fortran programming and I am working on a code not written by me.
I am using Intel visual FORTRAN compiler 2019 and when I run the code this error occurs.
Severity Code Description Project File Line Suppression State
Error #6634: The shape matching rules of actual arguments and dummy arguments have been violated. [K] C:\Users\ranvi\source\repos\Multi\Multi\Multi.f90 2788
How could I fix the error?
Fortran file is attached too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition to what mecej4 wrote, the error is caused by an argument mismatch: the dummy argument (line 8207) is a real(8) scalar and the actual argument (line 2788) is an array (a row of a two-dimensional array).
Robert
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The source file contains numerous instances of dubious programming practices (comparing integer and logical variables, using an integer expression as the condition clause of an IF statement, undeclared array variable -- E1--, etc.). You should probably consult the author(s) of the code to resolve these problems, since these problems should not be fixed without understanding the purpose and workings of the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition to what mecej4 wrote, the error is caused by an argument mismatch: the dummy argument (line 8207) is a real(8) scalar and the actual argument (line 2788) is an array (a row of a two-dimensional array).
Robert
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page