Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7232 Discussions

MKL- zgemm working on Win7 fails on win server 2008[updated with a new question]

Onur_Atak
Beginner
814 Views
Hi,

I am a newbie in C++ and I have been working with a hybrid C++, fortran code.The program's exe file is working on my win 7, 64 bit machineand when I transfer it to other win 7 or windows Vista machines, it still runs. However when I tried to make it work on a windows server 2008- 64 bit machine with xeon processor, it just gets stuck at zgemm function. What I mean by stuck is in the task manager it occupies a constant memory and cpu power and stays like that forever. It does not complain about anything. Any suggestions about how to solve the problem oreven where to start looking ?

Thanks in advace.
0 Kudos
5 Replies
Gennady_F_Intel
Moderator
814 Views
Hi Onur,
this is an unknown problem. What MKL's version do you use?
--Gennady
0 Kudos
Onur_Atak
Beginner
814 Views
Hi Gennady,

I am using MKL version 10.2 with update 4 included.
0 Kudos
Gennady_F_Intel
Moderator
814 Views
well, then accordingly to the Release Notes for version 10.2 ( see here the link on these notes)
System Requirements /Supported Architectures and Terminology:
Intel 64 Architecture refers to systems based on IA-32 architecture processors which have 64-bit architectural extensions, for example, Intel Core2 processor family, running a 64-bit operating system such as Microsoft Windows XP* Professional x64 Edition or Microsoft Windows Vista* x64. If the system is running a 32-bit version of the Windows operating system, then IA-32 architecture applies instead. Systems based on AMD processors running a 64-bit version of Windows are also supported
Therefore we have to support such system.
I would recommend you to create the standalone test ( based onzgemm) and check how it will works.
as an example, you can reuse thezgemmx.f examples ( see\examples\blas\source\ directory)
--Gennady
0 Kudos
Onur_Atak
Beginner
814 Views
Hi again,

I did as you suggested and created a standalone test. Btw, I am calling the fortran function from c++ and I am using visual studio 2008 interface. My standalone test worked in both win7 and windows server machines without a problem. So I started to check the input values. So far they all seem identical. I tried to reproduce the same conditions in my standalone test as they are in the original code like using same type castings etc. however I still couldn't reproduce theerror.I have really no clue about what is wrong and I would still appreciate more suggestions.

/Onur
0 Kudos
Onur_Atak
Beginner
814 Views
I finally discovered the source of my problem. I was using parallel support for MKL and on Win 7 (which is installed on my laptop)it was using 2 processors. When I connect to Windows server through remote desktop application somehow it does not allow me to use more than one processor, so I compiled my code with sequential version of MKL and it worked. I also managed to make my code work with parallel support on windows server but this time by setting MKL_NUM_THREADS to 1. So now my question has changed.I want to use all 8 processors on windowsserver. The reason it is not working like that, is it because some options on windows server (not letting me use more than one processor ) oris there something I shoulddo with my code ?Thanks in advance.

/Onur
0 Kudos
Reply