Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Multithreaded build?

dwwade
Beginner
658 Views

I have the Visual Studio option set to use 2 threads for building, but for some reason even with /ipo:multi turned off it seems to only compile with 1 thread.  When I build multithreaded in other languages it does a 1> and 2> but here it only does 1>.  Is there a setting I'm not finding?

0 Kudos
4 Replies
Steven_L_Intel1
Employee
658 Views
There are two different things here. Visual Studio can build multiple projects in parallel, and it does that by default. When it comes to a single project, you need to enable the project property Fortran > General > Multi-Processor Compilation. This will attempt to build in parallel sources that don't depend on modules yet to be compiled.
0 Kudos
dwwade
Beginner
658 Views
I guess my version doesn't support this despite having 12.0 since I'm stuck with VS2008.
0 Kudos
dwwade
Beginner
658 Views
Could you confirm what it takes to get this feature enabled (Visual Studio version and IVF version)? I'm going to make a request that my computer be updated in hopes of reducing time used in compile.
0 Kudos
Steven_L_Intel1
Employee
658 Views
We first added this support in Update 8 to Intel Visual Fortran Composer XE 2011 (compiler version 12.1.2). The release notes from that version say: To enable this, open the project property page Fortran > Command Line. In the Additional Options field, add /MP as the first (or only) option. If /MP is not the first option on the line, the parallel build will not be done. In Intel Visual Fortran Composer XE 2013, we added the project property I named earlier to enable this. Both the 2011 and 2013 versions of Visual Fortran support VS2008.
0 Kudos
Reply