Re: problematic array assignment in double precision (ifort, windows)



mvukovic@xxxxxxxxxxxx wrote:
The following function returns a 3-element vector of cooridnates on a
unit sphere. I use it to generate randomely distributed points on a
sphere.

It works fine when I compile it with a switch /real-size:32. However,
when I use /real-size:64, the vector gets loaded with garbage. I also
tried /align with /real-size:64, but no difference.

I don't see an obvious problem when I plug this source into a test
program, but...

When you call the function, do you have an explicit interface for it?
That's required since it returns an array. And is the source with that
explicit interface also compiled with /real_size:64?

I'm sorry to hear that you're having problems with the Intel Premier
Support site. Please send me an email if you're unable to get the
login issue resolved.
--
Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/

.



Relevant Pages