Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 Discussions

Error when I compile the code....HELP ME!!!

gambato
Beginner
473 Views

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!!!!

0 Kudos
1 Reply
Steven_L_Intel1
Employee
473 Views
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?
0 Kudos
Reply