I have built the BLACS lib and the test program (blacstest) successfully using Visual Studio 2005 (with Intel Frotran compiler 9) in a Windows 7 machine. The Win32 debug version of the test program runs fine. However, the Win32 release version hangs. I tried to disable the optimization when compiling BLACS_C and the test program (while BLACS_F, BLACS_Cinit and BLACS_Finit are still compiled with optimization), then the test program runs fine.
Does this mean some subroutines in BLACS_C can not be optimized in compilation? Or is there anything I missed in setting the VS project properties?
Thanks a lot for any suggestions.