<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pardiso multi processor  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792659#M2338</link>
    <description>Hi Alex,&lt;BR /&gt;Sorry because I am not very familiar with the programming jargons. I have here the entire subroutine where pardiso is called. Would this help? If not, could you tell me what linkline of a project is?&lt;BR /&gt;&lt;BR /&gt;Thank you and sorry for the inconvenience.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;!------------------------------------------------------------------------------------!&lt;/P&gt;&lt;P&gt;SUBROUTINE PARDISO_SOLVER(Nc,n,A,ia,ja,Bin,Z)&lt;/P&gt;&lt;P&gt;! SUBROUTINE PARDISO_SOLVER(Nc,n,Ain,iin,jin,Bin,Z)&lt;/P&gt;&lt;P&gt;! THIS SUBROUTINE CALLS THE SOLVER PARADISO TO SOLVE THE SYSTEM...&lt;/P&gt;&lt;P&gt;! OF LINEAR ALGEBRAIC EQUATIONS&lt;/P&gt;&lt;P&gt;!------------------------------------------------------------------------------------!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPLICIT NONE&lt;/P&gt;&lt;P&gt;! Internal solver memory pointer for 64-bit architectures&lt;/P&gt;&lt;P&gt;! INTEGER*8 pt(64)&lt;/P&gt;&lt;P&gt;! Internal solver memory pointer for 32-bit architectures&lt;/P&gt;&lt;P&gt;! INTEGER*4 pt(64)&lt;/P&gt;&lt;P&gt;! This is OK in both cases&lt;/P&gt;&lt;P&gt;! DOUBLE PRECISION, ALLOCATABLE :: A(:)&lt;/P&gt;&lt;P&gt;! INTEGER, ALLOCATABLE :: ia(:), ja(:)&lt;/P&gt;&lt;P&gt;INTEGER*4 pt(64)&lt;/P&gt;&lt;P&gt;INTEGER maxfct, mnum, mtype, phase, n, nrhs, error, msglvl, Nc, i, idum&lt;/P&gt;&lt;P&gt;INTEGER iparm(64)&lt;/P&gt;&lt;P&gt;INTEGER ja(Nc), ia(n+1)&lt;/P&gt;&lt;P&gt;DOUBLE PRECISION A(Nc), Bin(n), Z(n)&lt;/P&gt;&lt;P&gt;DOUBLE PRECISION waltime1, waltime2, ddum&lt;/P&gt;&lt;P&gt;INTEGER mkl_get_max_threads&lt;/P&gt;&lt;P&gt;INTEGER MKL_NUM_THREADS,OMP_NUM_THREADS&lt;/P&gt;&lt;P&gt;EXTERNAL mkl_get_max_threads&lt;/P&gt;&lt;P&gt;EXTERNAL omp_num_threads&lt;/P&gt;&lt;P&gt;MKL_NUM_THREADS=2&lt;/P&gt;&lt;P&gt;call OMP_SET_NUM_THREADS(4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Set up PARDISO control parameter&lt;/P&gt;&lt;P&gt;DO i=1,64&lt;/P&gt;&lt;P&gt;iparm(i) = 0&lt;/P&gt;&lt;P&gt;END DO&lt;/P&gt;&lt;P&gt;iparm(1) = 1 ! no solver default&lt;/P&gt;&lt;P&gt;iparm(2) = 3 ! fill-in reordering from METIS&lt;/P&gt;&lt;P&gt;iparm(3) = 4 ! numbers of processors, value of MKL_NUM_THREADS&lt;/P&gt;&lt;P&gt;iparm(4) = 0 ! no iterative-direct algorithm&lt;/P&gt;&lt;P&gt;iparm(5) = 0 ! no user fill-in reducing permutation&lt;/P&gt;&lt;P&gt;iparm(6) = 0 ! =0 solution on the first n components of x&lt;/P&gt;&lt;P&gt;iparm(7) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(8) = 20 ! numbers of iterative refinement steps&lt;/P&gt;&lt;P&gt;iparm(9) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(10) = 13 ! perturb the pivot elements with 1E-13&lt;/P&gt;&lt;P&gt;iparm(11) = 1 ! use nonsymmetric permutation and scaling MPS&lt;/P&gt;&lt;P&gt;iparm(12) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(13) = 1 ! not in use&lt;/P&gt;&lt;P&gt;iparm(14) = 0 ! Output: number of perturbed pivots&lt;/P&gt;&lt;P&gt;iparm(15) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(16) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(17) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;/P&gt;&lt;P&gt;iparm(19) = -1 ! Output: Mflops for LU factorization&lt;/P&gt;&lt;P&gt;iparm(20) = 0 ! Output: Numbers of CG Iterations&lt;/P&gt;&lt;P&gt;iparm(27) = 1 !Matrix checker on&lt;/P&gt;&lt;P&gt;iparm(60) = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error = 0 ! initialize error flag&lt;/P&gt;&lt;P&gt;msglvl = 1 ! print statistical information&lt;/P&gt;&lt;P&gt;mtype = 11 ! real unsymmetric&lt;/P&gt;&lt;P&gt;maxfct=1&lt;/P&gt;&lt;P&gt;mnum=1&lt;/P&gt;&lt;P&gt;nrhs=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Initialize the internal solver memory pointer. This is only...&lt;/P&gt;&lt;P&gt;! necessary for the FIRST call of the PARDISO solver.&lt;/P&gt;&lt;P&gt;DO i=1,64&lt;/P&gt;&lt;P&gt;pt(i) = 0&lt;/P&gt;&lt;P&gt;END DO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Reordering and Symbolic Factorization, This step also allocates...&lt;/P&gt;&lt;P&gt;! all memory that is necessary for the factorization&lt;/P&gt;&lt;P&gt;phase = 11 ! only reordering and symbolic factorization&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,A,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Reordering completed ... '&lt;/P&gt;&lt;P&gt;IF (error .NE. 0) THEN&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'The following ERROR was detected: ', error&lt;/P&gt;&lt;P&gt;PAUSE&lt;/P&gt;&lt;P&gt;STOP&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Number of nonzeros in factors = ',iparm(18)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Number of factorization MFLOPS = ',iparm(19)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Factorization.&lt;/P&gt;&lt;P&gt;phase = 22 ! only factorization&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,A,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Factorization completed ... '&lt;/P&gt;&lt;P&gt;IF (error .NE. 0) THEN&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'The following ERROR was detected: ', error&lt;/P&gt;&lt;P&gt;PAUSE&lt;/P&gt;&lt;P&gt;STOP&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Back substitution and iterative refinement&lt;/P&gt;&lt;P&gt;iparm(8) = 20 ! max numbers of iterative refinement steps&lt;/P&gt;&lt;P&gt;phase = 33 ! only factorization&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,A,ia,ja,idum,nrhs,iparm,msglvl,Bin,Z,error)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Solve completed ... '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Termination and release of memory&lt;/P&gt;&lt;P&gt;phase = -1 ! release internal memory&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,ddum,idum,idum,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;&lt;P&gt;! DEALLOCATE(A,ia,ja)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;END&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best wishes,&lt;BR /&gt;EH&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2011 09:22:40 GMT</pubDate>
    <dc:creator>eh4</dc:creator>
    <dc:date>2011-11-16T09:22:40Z</dc:date>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792655#M2334</link>
      <description>Hi all,&lt;BR /&gt;I have been reading many posts here about trying to let PARDISO run in more than processor. However, I still cant get a proper idea on how this can be done.&lt;BR /&gt;&lt;BR /&gt;What I have done is:&lt;BR /&gt;&lt;BR /&gt;call omp_set_num_threads(4).&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;iparm(1) = 1 ! no solver default&lt;/P&gt;&lt;P&gt;iparm(2) = 3 ! fill-in reordering from METIS&lt;/P&gt;&lt;P&gt;iparm(3) = 4 ! numbers of processors, value of MKL_NUM_THREADS&lt;/P&gt;&lt;P&gt;iparm(4) = 0 ! no iterative-direct algorithm&lt;/P&gt;&lt;P&gt;iparm(5) = 0 ! no user fill-in reducing permutation&lt;/P&gt;&lt;P&gt;iparm(6) = 0 ! =0 solution on the first n components of x&lt;/P&gt;&lt;P&gt;iparm(7) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(8) = 20 ! numbers of iterative refinement steps&lt;/P&gt;&lt;P&gt;iparm(9) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(10) = 13 ! perturb the pivot elements with 1E-13&lt;/P&gt;&lt;P&gt;iparm(11) = 1 ! use nonsymmetric permutation and scaling MPS&lt;/P&gt;&lt;P&gt;iparm(12) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(13) = 1 ! not in use&lt;/P&gt;&lt;P&gt;iparm(14) = 0 ! Output: number of perturbed pivots&lt;/P&gt;&lt;P&gt;iparm(15) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(16) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(17) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;/P&gt;&lt;P&gt;iparm(19) = -1 ! Output: Mflops for LU factorization&lt;/P&gt;&lt;P&gt;iparm(20) = 0 ! Output: Numbers of CG Iterations&lt;/P&gt;&lt;P&gt;iparm(27) = 1 !Matrix checker on&lt;/P&gt;&lt;P&gt;iparm(60) = 1&lt;/P&gt;&lt;BR /&gt;During the run, it always say that the number of procesors use is 1. &lt;BR /&gt;&lt;BR /&gt;(Direct factorization using #processors) 1&lt;BR /&gt;&lt;BR /&gt;Does this mean that only one processor is running?&lt;BR /&gt;&lt;BR /&gt;The machine that I am using is Intel Xeon W55803.2GHz. There are 4 physical processors. The funny thing is when i check the task manager, all 4 processors are running to 100% during factorization.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EH</description>
      <pubDate>Wed, 16 Nov 2011 08:52:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792655#M2334</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-16T08:52:06Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792656#M2335</link>
      <description>Hi,&lt;DIV&gt;Could you provide size of your matrix?&lt;/DIV&gt;&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2011 08:56:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792656#M2335</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2011-11-16T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792657#M2336</link>
      <description>Hi Alex,&lt;BR /&gt;There are 113762 equations. The matrix is sparse and the number of nonzeros are 11741784&lt;BR /&gt;&lt;BR /&gt;The PARDISO is running in the in-core mode&lt;BR /&gt;&lt;BR /&gt;Do I need to specify anything for mkl_num_threads and omp_num_threads?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best wishes,&lt;BR /&gt;EH</description>
      <pubDate>Wed, 16 Nov 2011 09:05:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792657#M2336</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-16T09:05:13Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792658#M2337</link>
      <description>Size of matrix is pretty big so PARDISO could run in multithread mode... Could you provide us linkline of your project?&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2011 09:17:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792658#M2337</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2011-11-16T09:17:33Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792659#M2338</link>
      <description>Hi Alex,&lt;BR /&gt;Sorry because I am not very familiar with the programming jargons. I have here the entire subroutine where pardiso is called. Would this help? If not, could you tell me what linkline of a project is?&lt;BR /&gt;&lt;BR /&gt;Thank you and sorry for the inconvenience.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;!------------------------------------------------------------------------------------!&lt;/P&gt;&lt;P&gt;SUBROUTINE PARDISO_SOLVER(Nc,n,A,ia,ja,Bin,Z)&lt;/P&gt;&lt;P&gt;! SUBROUTINE PARDISO_SOLVER(Nc,n,Ain,iin,jin,Bin,Z)&lt;/P&gt;&lt;P&gt;! THIS SUBROUTINE CALLS THE SOLVER PARADISO TO SOLVE THE SYSTEM...&lt;/P&gt;&lt;P&gt;! OF LINEAR ALGEBRAIC EQUATIONS&lt;/P&gt;&lt;P&gt;!------------------------------------------------------------------------------------!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPLICIT NONE&lt;/P&gt;&lt;P&gt;! Internal solver memory pointer for 64-bit architectures&lt;/P&gt;&lt;P&gt;! INTEGER*8 pt(64)&lt;/P&gt;&lt;P&gt;! Internal solver memory pointer for 32-bit architectures&lt;/P&gt;&lt;P&gt;! INTEGER*4 pt(64)&lt;/P&gt;&lt;P&gt;! This is OK in both cases&lt;/P&gt;&lt;P&gt;! DOUBLE PRECISION, ALLOCATABLE :: A(:)&lt;/P&gt;&lt;P&gt;! INTEGER, ALLOCATABLE :: ia(:), ja(:)&lt;/P&gt;&lt;P&gt;INTEGER*4 pt(64)&lt;/P&gt;&lt;P&gt;INTEGER maxfct, mnum, mtype, phase, n, nrhs, error, msglvl, Nc, i, idum&lt;/P&gt;&lt;P&gt;INTEGER iparm(64)&lt;/P&gt;&lt;P&gt;INTEGER ja(Nc), ia(n+1)&lt;/P&gt;&lt;P&gt;DOUBLE PRECISION A(Nc), Bin(n), Z(n)&lt;/P&gt;&lt;P&gt;DOUBLE PRECISION waltime1, waltime2, ddum&lt;/P&gt;&lt;P&gt;INTEGER mkl_get_max_threads&lt;/P&gt;&lt;P&gt;INTEGER MKL_NUM_THREADS,OMP_NUM_THREADS&lt;/P&gt;&lt;P&gt;EXTERNAL mkl_get_max_threads&lt;/P&gt;&lt;P&gt;EXTERNAL omp_num_threads&lt;/P&gt;&lt;P&gt;MKL_NUM_THREADS=2&lt;/P&gt;&lt;P&gt;call OMP_SET_NUM_THREADS(4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Set up PARDISO control parameter&lt;/P&gt;&lt;P&gt;DO i=1,64&lt;/P&gt;&lt;P&gt;iparm(i) = 0&lt;/P&gt;&lt;P&gt;END DO&lt;/P&gt;&lt;P&gt;iparm(1) = 1 ! no solver default&lt;/P&gt;&lt;P&gt;iparm(2) = 3 ! fill-in reordering from METIS&lt;/P&gt;&lt;P&gt;iparm(3) = 4 ! numbers of processors, value of MKL_NUM_THREADS&lt;/P&gt;&lt;P&gt;iparm(4) = 0 ! no iterative-direct algorithm&lt;/P&gt;&lt;P&gt;iparm(5) = 0 ! no user fill-in reducing permutation&lt;/P&gt;&lt;P&gt;iparm(6) = 0 ! =0 solution on the first n components of x&lt;/P&gt;&lt;P&gt;iparm(7) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(8) = 20 ! numbers of iterative refinement steps&lt;/P&gt;&lt;P&gt;iparm(9) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(10) = 13 ! perturb the pivot elements with 1E-13&lt;/P&gt;&lt;P&gt;iparm(11) = 1 ! use nonsymmetric permutation and scaling MPS&lt;/P&gt;&lt;P&gt;iparm(12) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(13) = 1 ! not in use&lt;/P&gt;&lt;P&gt;iparm(14) = 0 ! Output: number of perturbed pivots&lt;/P&gt;&lt;P&gt;iparm(15) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(16) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(17) = 0 ! not in use&lt;/P&gt;&lt;P&gt;iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;/P&gt;&lt;P&gt;iparm(19) = -1 ! Output: Mflops for LU factorization&lt;/P&gt;&lt;P&gt;iparm(20) = 0 ! Output: Numbers of CG Iterations&lt;/P&gt;&lt;P&gt;iparm(27) = 1 !Matrix checker on&lt;/P&gt;&lt;P&gt;iparm(60) = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error = 0 ! initialize error flag&lt;/P&gt;&lt;P&gt;msglvl = 1 ! print statistical information&lt;/P&gt;&lt;P&gt;mtype = 11 ! real unsymmetric&lt;/P&gt;&lt;P&gt;maxfct=1&lt;/P&gt;&lt;P&gt;mnum=1&lt;/P&gt;&lt;P&gt;nrhs=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Initialize the internal solver memory pointer. This is only...&lt;/P&gt;&lt;P&gt;! necessary for the FIRST call of the PARDISO solver.&lt;/P&gt;&lt;P&gt;DO i=1,64&lt;/P&gt;&lt;P&gt;pt(i) = 0&lt;/P&gt;&lt;P&gt;END DO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Reordering and Symbolic Factorization, This step also allocates...&lt;/P&gt;&lt;P&gt;! all memory that is necessary for the factorization&lt;/P&gt;&lt;P&gt;phase = 11 ! only reordering and symbolic factorization&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,A,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Reordering completed ... '&lt;/P&gt;&lt;P&gt;IF (error .NE. 0) THEN&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'The following ERROR was detected: ', error&lt;/P&gt;&lt;P&gt;PAUSE&lt;/P&gt;&lt;P&gt;STOP&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Number of nonzeros in factors = ',iparm(18)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Number of factorization MFLOPS = ',iparm(19)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Factorization.&lt;/P&gt;&lt;P&gt;phase = 22 ! only factorization&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,A,ia,ja,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Factorization completed ... '&lt;/P&gt;&lt;P&gt;IF (error .NE. 0) THEN&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'The following ERROR was detected: ', error&lt;/P&gt;&lt;P&gt;PAUSE&lt;/P&gt;&lt;P&gt;STOP&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Back substitution and iterative refinement&lt;/P&gt;&lt;P&gt;iparm(8) = 20 ! max numbers of iterative refinement steps&lt;/P&gt;&lt;P&gt;phase = 33 ! only factorization&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,A,ia,ja,idum,nrhs,iparm,msglvl,Bin,Z,error)&lt;/P&gt;&lt;P&gt;WRITE(*,*) 'Solve completed ... '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Termination and release of memory&lt;/P&gt;&lt;P&gt;phase = -1 ! release internal memory&lt;/P&gt;&lt;P&gt;CALL pardiso(pt,maxfct,mnum,mtype,phase,n,ddum,idum,idum,idum,nrhs,iparm,msglvl,ddum,ddum,error)&lt;/P&gt;&lt;P&gt;! DEALLOCATE(A,ia,ja)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;END&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best wishes,&lt;BR /&gt;EH&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2011 09:22:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792659#M2338</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-16T09:22:40Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792660#M2339</link>
      <description>Ok. If you run your program from visual studio you put several mkl library names in field names "additional libraries" or something like it... If you run you example from command line you call some command to compile and run it. Could you provide names of mkl library in first case or command in second case?&lt;DIV&gt;Also, could you print result ofmkl_get_max_threads() before first call of PARDISO?&lt;/DIV&gt;&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2011 09:36:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792660#M2339</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2011-11-16T09:36:39Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792661#M2340</link>
      <description>Hi,&lt;BR /&gt;I did not put in any mkl library names. Instead, under Properties -&amp;gt; Fortran -&amp;gt; Libraries:Include Math Kernel Library option, I chose the Parallel (/Qmkl:parallel) options. Is this not the correct way of doing it?&lt;BR /&gt;&lt;BR /&gt;Regarding the mkl_get_max_threads(), the printed value was 4. However the Parallel Direct Factorization with #provessors still say 1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EH&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2011 09:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792661#M2340</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-16T09:54:00Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792662#M2341</link>
      <description>Hi,&lt;DIV&gt;One additional question, I hope the last one: which version of stufio do you use?&lt;/DIV&gt;&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2011 10:01:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792662#M2341</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2011-11-16T10:01:48Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792663#M2342</link>
      <description>I am using Microsoft Visual Studio 2008, Version 9.0.21022.8 RTM. The installed product is Intel Visual Fortran Compiler Integration.</description>
      <pubDate>Wed, 16 Nov 2011 10:06:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792663#M2342</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-16T10:06:54Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792664#M2343</link>
      <description>Hi, could you please go to &lt;BR /&gt;&lt;BR /&gt;Project -&amp;gt; Your Project Properties... -&amp;gt; Configuration Properties -&amp;gt; Linker -&amp;gt; Command line&lt;BR /&gt;&lt;BR /&gt;and send us the content of this text field?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Konstantin</description>
      <pubDate>Thu, 17 Nov 2011 03:47:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792664#M2343</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-11-17T03:47:01Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792665#M2344</link>
      <description>actually, if customer set the option(/Qmkl:parallel ), then it would be enough to link all threading runtime.&lt;DIV&gt;but, for eliminations all concerns, You can explicitly toset all requiredlibraries for your application and check how it would works on your side.&lt;/DIV&gt;&lt;DIV&gt;as an additional info, it might be useful for you to see this &lt;A href="http://software.intel.com/en-us/articles/configuring-intel-mklin-microsoft-visual-studio/"&gt;KB article&lt;/A&gt; shows how configure Intel MKL in Microsoft* Visual Studio.&lt;/DIV&gt;&lt;DIV&gt;&lt;H1&gt;&lt;/H1&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Nov 2011 04:17:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792665#M2344</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-11-17T04:17:11Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792666#M2345</link>
      <description>Hi, &lt;BR /&gt;The content in the Command line reads:&lt;BR /&gt;&lt;BR /&gt;/OUT:"x64\Debug\Test1.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files\Intel\Compiler\11.1\048\mkl\ia64\lib" /MANIFEST /MANIFESTFILE:"D:\USERS\EHOOI\Fortran\3D\Natural_Convection\Test3-steady\x64\Debug\Test1.exe.intermediate.manifest" /DEBUG /PDB:"D:\USERS\EHOOI\Fortran\3D\Natural_Convection\Test3-steady\x64\Debug\Test1.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"D:\USERS\EHOOI\Fortran\3D\Natural_Convection\Test3-steady\x64\Debug\Test1.lib"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EH</description>
      <pubDate>Thu, 17 Nov 2011 05:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792666#M2345</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-17T05:26:26Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792667#M2346</link>
      <description>Hi Konst&lt;BR /&gt;Thank you. I will check it out. By the way, if all four CPU in the Task Manager show 100% computation during the running of PARDISO (only fortran is running), then is this an indicator that it is using 4 processors in parallel although in the Command Window it says 1 processor in the Direct Factorization?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EH</description>
      <pubDate>Thu, 17 Nov 2011 05:34:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792667#M2346</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-17T05:34:10Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792668#M2347</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Hmm, it's strange that you useIntel Xeon W5580, but it seems like you are linking with IA-64 architecture (Itanium-2):&lt;BR /&gt;/OUT:"x64\Debug\Test1.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files\Intel\Compiler\11.1\048\mkl\&lt;STRONG&gt;ia64&lt;/STRONG&gt;\lib"&lt;BR /&gt;&lt;BR /&gt;Also you can easily understand is your code parallelized or not running your program in 2 modes: with mkl_set_num_threads(1); and mkl_set_num_threads(4); set prior to calling PARDISO andcompare the timings reported.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Konstantin</description>
      <pubDate>Thu, 17 Nov 2011 07:24:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792668#M2347</guid>
      <dc:creator>Konstantin_A_Intel</dc:creator>
      <dc:date>2011-11-17T07:24:21Z</dc:date>
    </item>
    <item>
      <title>Pardiso multi processor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792669#M2348</link>
      <description>Hi,&lt;BR /&gt;When I let mkl_set_num_threads(4), during PARDISO all 4 CPUs in Task manager were running at 100%. However, when I change it to mkl_set_num_threads(1), only 1CPU is running. I guess it is running in parallel, although I dont know why the CommandWindow says only 1 processor is running for the Direct Factorization.&lt;BR /&gt;&lt;BR /&gt;Is it wrong to link with the IA-64 architecture?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BW,&lt;BR /&gt;EH</description>
      <pubDate>Thu, 17 Nov 2011 15:09:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-multi-processor/m-p/792669#M2348</guid>
      <dc:creator>eh4</dc:creator>
      <dc:date>2011-11-17T15:09:42Z</dc:date>
    </item>
  </channel>
</rss>

