- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am a newbie in fortran programming. I have a piece of code which is mainly constructed from elementary operations very similar to :
DO
c=a+b+d+e
f=(a*b )*e
enddo
As I compile and run it in Intel visual fortran, are these operations automatically executed in parallel on both cpu cores I have (intel core(TM) 2Duo T9600)?
when I check cpu performance from task manager, it shows 50% cpu usage? what should I do to use both cpu cores for such operations?
thanks in advance
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ifort offers auto parallel and openmp options for multicore processing. The guides provided with Ifort are worth reading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intrinsic operations are not automatically parallelized. You could enable automatic parallelization as a simple thing to try - the compiler will look at loops and array operations and parallelize them if it thinks it is safe and profitable. As Tim suggests, reading the documentation chapters on parallelization under "Key Features" is worthwhile.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page