Problem with large_array option

Hi,

I’m using PGI64 with IMSL.

I’ve got a program using imsl which compile and run without any problems. However I’d like to compile it with -Mlarge_arrays pgi option to be able to use objects bigger than 2GB and I’ve got an error I don’t understand :

ILM file: can’t find intrinsic .dsqrt
PGF90-F-0000-Internal compiler error. Errors in ILM file 1 (program.f90: 294)

I don’t know if this is a pgi or imsl related problem.

Any ideas?

Will.

You may run into problems if the IMSL library you are linking in is not compiled with -Mlarge_arrays. You may also need to turn on -mcmodel=medium if the arrays are declared statically. There is a discussion on medium and large memory models in our release notes.