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

Error during compilation involving allocate/deallocate

$
0
0

Hello!

I'm getting the following series of errors when compiling. Basically there are three types of errors the repeats during the whole code:

This is a sample of the code:

ALLOCATE (P(NP))

PP=> P

And these are the errors that I'm getting.

error #6724: An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute. [P] 
error #8196: An ALLOCATE shape must not be given for a scalar object. [P]
error #6793: The POINTER attribute is required [PP]

I don't know what is the source of the problem neither how to fix it, since the program runs without any problems using the Compaq compiler.

Many thanks

PS. I already tried the the solution: properties>Fortran>Diagnostics>Check Routine Interfaces>NO


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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