- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have an existing application written a long time ago in Fortran and we have been updating the compilers and keep building the application to be on update. But it is always single threaded. Now, as per the need, we want to build the application for multithreaded.
Please let me know if we can build it to support multithreaded and what could be the flag/compiler settings to compile the application?
Thanks.
Sincerely,
Vijay
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The other relatively painless way to introduce threading is to make use of threaded library routines, such as those in Intel's Math Kernel Library. If your application contains matrix multiplications or other linear algebra, Fourier transforms, etc, you might find this useful.
There are some online articles about multithreading. For example, http://software.intel.com/en-us/articles/intel-guide-for-developing-multithreaded-applications/ , where sections 4.1 and 4.2 cover the topics Tim and I brought up.
http://software.intel.com/en-us/articles/threading-fortran-applications-for-parallel-performance-on-multi-core-systems/ (Fortran-specific)
http://software.intel.com/en-us/articles/automatic-parallelization-with-intel-compilers/
If youwant to write code using OpenMP, you'll probably want to download material from www.openmp.org, get yourself a book and/or attend a tutorial.

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