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

OMP Parallel for MS Visual Studio with Intel Fortran

mattsdad
Beginner
5,247 Views
I have been working on a simulator that simulates multiple objects simultaneously. I use MS Visual Studio with Intel Fortran on Windows and Intel Fortran on Linux. I have made everything within the main simulation loop pure so that we could try making the simulator run faster on multi-processor machines. I added the OMP Parallel Do construct around the main simulation loop. The simulator immediately ran 45% faster on a two processor Linux machine, but the same code is a tiny bit slower on the Windows machine.

Do I need to do something extra in MS Visual Studio to get it to generate code that looks for extra processors? (The Windows machine where the .exe was linked only has one processor.)

0 Kudos
23 Replies
mattsdad
Beginner
592 Views

Were did the object files and module files go? They are not in the Release folder as they were before.

PS. The command line version now compiles and runs using multiple processors.

0 Kudos
Steven_L_Intel1
Employee
592 Views
Look in the x64Release subfolder.
0 Kudos
mattsdad
Beginner
592 Views
Right, Thanks
0 Kudos
Reply