Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29297 Discussions

Array constructor is not thread safe

Andrew_Smith
Valued Contributor I
457 Views
If you assign an array using an array constructor such as [1.2, 3.0, 4.0] or the older (/1.2, 3.0, 4.0/) then it assigns random number occasionally when run under openMP. My support number is 551578.

Attached example. Please run in debug mode.

No error occures in release mode which makes me think that some temporary memory is used in debug mode that gets optimised out in release mode.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
456 Views
Andrew,

We'll continue this through Intel Premier Support.
0 Kudos
Reply