Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Compiler parallelization in visual studio

$
0
0

Hi,

I am very new to visual fortran and I have my intel fortran compiler setup with visual studio. One of the feature that I read was the compiler can provide with parallelization and auto-parallelization is one of the techniques. For eg the sample code:

    program HelloWorld

    implicit none

    ! Variables
    INTEGER :: istat,i,j,k,m;
    real :: start,finish;
    ! Body of HelloWorld
    call cpu_time(start)
    print *, 'Hello World'
    do i = 1, 50000000
         j = j + 1
         do k=1,100
            m = m+1
         end do
      end do
    call cpu_time(finish)
    print '("Time = ",f," seconds.")',finish-start
    end program HelloWorld

Yes, every iteration my data is independant of the iteration (not very clear in the example though). What is my best option and how do I configure the compiler to do so in VS2008. The compiler version I am using is Intel(R) Visual Fortran 11.1.051 [IA-32]

Thanks

AJ


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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