Fortran 2003 ALLOCATE with SOURCE clause

Does PGI support the SOURCE clause with the ALLOCATE statement?

I don’t think it does because I am getting a compiler error. If it is not supported do you have an estimated date when it will be supported?

Thanks.

Hi David,

Does PGI support the SOURCE clause with the ALLOCATE statement?

Yes, we do support sourced allocation.

My best guess is that you are doing sourced allocation with an array but don’t have the array bounds defined. This is required in F2003 but loosed in F2008.

Can you please post an example of the code and the error you are getting?

Thanks,
Mat