- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With the following source code (condensed from the actual)
Module
NewMaterialBurnupStepMImplicit none
Contains
Function NewMaterialBurnupStep (ThisMaterial) result (This)
Use WIMSBURFCaseM
Type (MaterialType), intent (In), target:: ThisMaterial
Type (MaterialBurnupStepType):: This
This % Material => ThisMaterial
This % ReactionFissionPerLengthTime = ReactionFission_per_CmSec (0.0)
End function NewMaterialBurnupStep
End module NewMaterialBurnupStepM
I get the error message
Error: The same named entity from different modules and/or program units cannot be referenced. [REACTIONFISSION_PER_CMSEC]
How can I be referring to it from different modules when I onlyUse one module? What's more to the point, how can I correct this program, so that I can earn a living?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your help.
That was not the problem. However, after another problem, and an inability to reproduce the problem in a smaller program, I discovered that under Properties ? Configuration Properties ? Fortran ? Preprocessor ? Additional Include Directories, where a list of several long directory names is crammed into a tiny space, there was a reference to a directory full of .mod files prepared by CVF. Correcting that sure corrected a lot of problems. I am going around all my other problem postings on this site to ensure that noboby wastes any (more) time on this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page