- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in the tutorial, it is said that "You can use it with any compiler supporting ISO C++"...so is there any similar help for fortran as well?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not familiar with Fortran personally. I would assume there are C++ bindings so that you can call a C++ function from Fortran. That's one way to integrate TBB with Fortran. The problem with porting TBB to other languages, is that it relies upon the C++ template system for its flexibility. However you can still write libraries that use TBB, and call those from other languages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TBB is directly usable from only C++ for the reasons AJ cited.
For parallelizing purely Fortran code, I recommend using OpenMP. Most serious Fortran compilers support it. The Web site http://openmp.orghas the specification and a list of compilers that support OpenMP (basically most serious Fortran compilers). There's a pointer to an OpenMP tutorial there too,

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