- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have written 2 codes. The first one is a non-parallel code and the second one uses MPICH2. They are compiled with Intel Fortran 11 (Trial Version) on 32 bits Windows system.
The options for the compilations are /fast . So, the first code is compiled by the following command:
ifort /fast -o a1.exe mycode.f90
The second code, implementing MPICH2, is compiled by:
ifort /fast -o a2.exe mycode.f90 /link fmpich2.lib
The compilations were successfully finished and gave 2 executables.
When I launch a2.exe using only 1 CPU, I find it runs almost 2 times slower than the a1.exe. Note that two executables treat the same problem and give the same results (Sure!).
I seem the Intel Fortran optimization (here /fast) fails when I compile a mpich code.
Anyone has experience on this problem? Please give me some advice!
Thank you,
tnvquynh.
I have written 2 codes. The first one is a non-parallel code and the second one uses MPICH2. They are compiled with Intel Fortran 11 (Trial Version) on 32 bits Windows system.
The options for the compilations are /fast . So, the first code is compiled by the following command:
ifort /fast -o a1.exe mycode.f90
The second code, implementing MPICH2, is compiled by:
ifort /fast -o a2.exe mycode.f90 /link fmpich2.lib
The compilations were successfully finished and gave 2 executables.
When I launch a2.exe using only 1 CPU, I find it runs almost 2 times slower than the a1.exe. Note that two executables treat the same problem and give the same results (Sure!).
I seem the Intel Fortran optimization (here /fast) fails when I compile a mpich code.
Anyone has experience on this problem? Please give me some advice!
Thank you,
tnvquynh.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run with a profiler such as PTU, preferably with static link, and high threshold for yielding CPU during spin waits. Or, use an MPI profiler, such as Intel Trace Analyzer/Collector, which should be compatible with MPICH2. You are getting more into the territory of the HPC forum.
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