Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Error #6401 After Just a Change of Versions

$
0
0
   

I am just starting to work with a program, XLTRC2, for my research at Texas A&M. I am using Visual Studio Professional 2013 with the Intel 2013 Fortran compiler including the IMSL package. Upon trying to run the exact same project that works for my co-workers I am getting the error message "error #6401: The attributes of this name conflict with those made accessible by a USE Statement.[Variable ex: LOGFIL] ; File: arnoldi-debug-h.f90" for a group of variables in my code. They are not receiving the same error messages when they run the project on Visual Studio Professional 2012.



If I comment out the USE statement for the IMSL_LIBRARIES the error message changes to "error #6404: This name does not have a type, and must have an explicit type. [N1RTY] ; File: Arnoldi.f90" Which I am guessing is because N1RTY is defined in IMSL_LIBRARIES.

Could something in the new IMSL libraries be interfering with the common variables in the project? Or do I have a setting wrong?



The code outline giving the issue is

----Arnoldi.f90------

USE ...

USE IMSL_LIBRARIES

...

include 'arnoldi-debug-h.f90'

 ndigit = -3

 logfil = 6

 mnaitr = 0

 mnapps = 0

 mnaupd = 0       ! 1 for output, 0 to suppress output  

 mnaup2 = 0

 mneigh = 0

 mneupd = 0

  nwarnings= 0

...

...

...

---------End of Arnoldi.f90-----------------

-------arnoldi-debug-h.f90'-----------

      integer    logfil, ndigit, mgetv0,                                    &

                msaupd, msaup2, msaitr, mseigt, msapps, msgets, mseupd,    &

                mnaupd, mnaup2, mnaitr, mneigh, mnapps, mngets, mneupd,    &

                mcaupd, mcaup2, mcaitr, mceigh, mcapps, mcgets, mceupd

      common /debug/                                                    &

                logfil, ndigit, mgetv0,                                    &

                msaupd, msaup2, msaitr, mseigt, msapps, msgets, mseupd,    &

                  mnaupd, mnaup2, mnaitr, mneigh, mnapps, mngets, mneupd,    &

                mcaupd, mcaup2, mcaitr, mceigh, mcapps, mcgets, mceupd

-------end arnoldi-debug-h.f90----------------

Thanks for any information possible!

Clay Norrbin

 

 

Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>