Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

What leads such error information

Zhanghong_T_
Novice
299 Views

Hi all,

I am trying to use OpenMP and PARDISO functions in my Fortran code. In the source file, I have such code:

!$omp parallel do default(shared),private(ii)
...

!$omp end parallel do

When I call PARDISO function, I have such code:

iparm(3) = omp_get_max_threads()

The other code is similar to the examplecode of pardiso_sym_f.f.

At last, the code was compiled and linked as follows:

ifort /c /O3 /threads /Qopenmp /libs:static mycode.f90
ifort /dll /INCREMENTAL:NO /NOLOGO /SUBSYSTEM:WINDOWS /o mydll.dll *.obj libguide.lib mkl_c.lib

Now if I run the main program which calls the dll in x64 machine (2 CPUs, 4 cores, they works fine (they are also compiled in x64 mode). However, if I compile and run them in 32 bit machine (1 CPU, 1 core or 2 cores), the following error displayed:

Could anyone tell me what leads such error information?

Thanks,
Zhanghong Tang

0 Kudos
2 Replies
Zhanghong_T_
Novice
299 Views
Sorry, the error message is displayed in the attached .jpgfile.
0 Kudos
Zhanghong_T_
Novice
299 Views
For some problems the program crashes as different manners in 32 bit machine (1 CPU and 1 core), the call stack after crashing is displayed in the attached figure.
0 Kudos
Reply