parallel fortran code
Can some one guide me to parallelize a fortran sequential code?
Re: parallel fortran code
Please try to give some details and be specific about what you want. F90/95 have some parallel intrinsics, but you'll probably want to use OpenMP if you're interested in shared-memory parallelism. (Some compilers can even figure some limited cases out automatically.) Annotating for parallelism with OpenMP is normally very easy, profile to see what takes time and annotate those loops. Depending on the memory requirements of the work-load, shared memory parallelism could give you no speedup or nearly optimal speedup for a few processors.
For larger scale or memory-limited workloads, you'll want to use distributed memory which means MPI (though perhaps using a library like PETSc). If want to do this, now would be a very good time to consider a major redesign of your program (though you should be able to reuse core parts like flux computations).
|All times are GMT -4. The time now is 08:25.|