- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm writing a new soubroutine of my global code but when I compile my codeit gives to me this error:
fortcom: Error: cri13.f, line1274: Aspecification expression object must be a dummy argumentr, a COMMON block object, or an object accessible through host or use association[LUMPM]
double precision lumpm(nevas,nevas)
I understand that the problem is in this lumpm matrix, but the strange thing is that I have another matrix called emass(nevas,nevas) and so it is define in the same way. Why the lumpm matrix gives to me this problem and the other one no? I try to change the order in the definition of the variables but the result is the same....I have error!
What can I do to solve this problem?? Help me, please!!!!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is that the actual code is different from what you describe. Is LUMPM a local variable or dummy argument? Does it appear in any other declarations? How about posting the subroutine/function statement and all the declarations up to and including the one that gives you the error?

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