- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- !C -Prep. for PARDISO
- PT=0
- MAXFCT=1
- MNUM=1
- MMTYPE=13
- IPARM(1)=0
- IPARM(3)=omp_get_max_threads()
- IPARM(3)=1
- MSGLVL=0
- !C -Compute the PML parameters and build the PML matrix
- CALL BUILD_PML(N1,N2,DN1,DN2)
- C -Build the source term
- Q_VEC=0
- CALL SOURCE_VEC(F,DN1,DN2,Q_VEC)
- CALL STIFF_MAT(F,DN1,DN2,NOE,NNZ,IA,JA,A_PARD)
- !C -Try PARDISO
- PHASE=12
- CALL PARDISO(PT,MAXFCT,MNUM,MMTYPE,PHASE,NOE,A_PARD,IA,JA,
- & PERM,NRHS,IPARM,MSGLVL,DDUM,DDUM,ERROR)
- !C -Solve
- DO SRC_INDEX=1,LS
- Q_VEC1=Q_VEC(:,SRC_INDEX)
- PHASE=33
- NRHS=1
- CALL PARDISO(PT,MAXFCT,MNUM,MMTYPE,PHASE,NOE,A_PARD,IA,JA,
- & PERM,NRHS,IPARM,MSGLVL,Q_VEC1,S_VEC1,ERROR)
- S_VEC(:,SRC_INDEX)=S_VEC1
- ENDDO
- WRITE(*,*) '*********************************'
- WRITE(14,*) '*********************************'
- WRITE(17,*) LS
I have a fortran code goes like above for calling pardiso() in with intel fortran 11.1.035
In x64 machine with 8GB memory, it goes ok. But for a 32bit machine with 2GB memory, it always has problems.
PROBLEM 1:
I have case which has LS=30 (line 26). When I debug it, the SRC_INDEX can go up to 13, then crashed by give me some error information:
*** Error in PARDISO ( sequence_ido,parameters) error_num= 2
*** Input check: max_fac_store_new 2327064 _old 1 are incompatible
*** Input parameters: inconsistent error= 2 max_fac_store_in: 2327064
matrix_number_in : 811400488 matrix_type_in : 11161568
ido_in : 33 neqns_in : 12444
ia(neqns_in+1)-1 : 60444 nb_in : 1
PT value:
*******************************************
1 2384432 0 825434024 0 0
0 843382848 0 0 0 832962624
825434096 825533704 0 0 2385440 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0
1 2384432 0 825434024 0 0
0 843382848 0 0 0 832962624
825434096 825533704 0 0 2385440 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0
PROBLEM 2:
I have a case with LS=1, then the program crashed at line 36 by giving me these information:
forrtl: severe (8): internal consistency check failure, file for_put.c, line 898
Image PC Routine Line Source
program.exe 0066EE0A Unknown Unknown Unknown
program.exe 0066AB08 Unknown Unknown Unknown
program.exe 005C15C0 Unknown Unknown Unknown
program.exe 005D6E9B Unknown Unknown Unknown
program.exe 005BA1DB Unknown Unknown Unknown
program.exe 005B8A39 Unknown Unknown Unknown
program.exe 00429A52 _MAIN__ 36 mycode.for
program.exe 00A1E233 Unknown Unknown Unknown
program.exe 0060DE03 Unknown Unknown Unknown
program.exe 0060DBCD Unknown Unknown Unknown
kernel32.dll 7C817067 Unknown Unknown Unknown
Image PC Routine Line Source
program.exe 0066EE0A Unknown Unknown Unknown
program.exe 0066AB08 Unknown Unknown Unknown
program.exe 005C15C0 Unknown Unknown Unknown
program.exe 005D6E9B Unknown Unknown Unknown
program.exe 005BA1DB Unknown Unknown Unknown
program.exe 005B8A39 Unknown Unknown Unknown
program.exe 00429A52 _MAIN__ 36 mycode.for
program.exe 00A1E233 Unknown Unknown Unknown
program.exe 0060DE03 Unknown Unknown Unknown
program.exe 0060DBCD Unknown Unknown Unknown
kernel32.dll 7C817067 Unknown Unknown Unknown
PT value:
*******************************************
1 2289104 0 818806664 0 0
0 831324224 0 0 0 820904000
2293656 818806800 0 0 818806736 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0
1 2289104 0 818806664 0 0
0 831324224 0 0 0 820904000
2293656 818806800 0 0 818806736 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0
In release mode, case 2 can finish without error. But I am not sure the results is correct or not.
Libraries I used:
libguide.lib
mkl_core.lib
mkl_intel_s.lib
mkl_intel_thread.lib
mkl_solver.lib
mkl_core.lib
mkl_intel_s.lib
mkl_intel_thread.lib
mkl_solver.lib
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello joey_hilton,
I see that you supposes using CVF calling convention (mkl_intel_s.lib). What compiler options were used to compile your fortran code?
Thanks,
-Vladimir
I see that you supposes using CVF calling convention (mkl_intel_s.lib). What compiler options were used to compile your fortran code?
Thanks,
-Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Joey,
Do you have any updates on the issue you encountered?
Can you please send us a reproducible test case?
This tread is the private, so you don't care about privacy
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Gennady Fedorov (Intel)
Joey,
Do you have any updates on the issue you encountered?
Can you please send us a reproducible test case?
This tread is the private, so you don't care about privacy
--Gennady
Sorry for the late reply. I solved this problem by changing the link libraries as #4 in Gennady's suggestions, and following this in the userguide:
10.(For 32-bit)Static linking of myprog.f, sequential version of an iterative sparse solver, and
sequential Intel MKL supporting cdecl interface:
ifort myprog.f mkl_solver_sequential.lib mkl_intel_c.libmkl_sequential.lib mkl_core.lib
sequential Intel MKL supporting cdecl interface:
ifort myprog.f mkl_solver_sequential.lib mkl_intel_c.libmkl_sequential.lib mkl_core.lib
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
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