Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

Coarray tutotial example for Windows

$
0
0

Hello,

I have followed a Coarray Tutorial using the Intel® Parallel Studio XE 2017.

program hello_image

        write(*,*)  "Hello from image ",  this_image(), &"out of ", num_images()," total images!"

end program hello_image

But the output shows:

 Hello from image            1 out of            1  total images!
Press any key to continue . . .

...although my Windows 10 PC has 2 cores, not 1 (see below) and that is what I have indicated at 
Configuration Properties > Fortran > Language > Coarray Images (set to 2).

Name=Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
NumberOfCores=2
NumberOfEnabledCore=2
NumberOfLogicalProcessors=4

Thanks for help.


Viewing all articles
Browse latest Browse all 415

Trending Articles



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