[Ipopt-tickets] [Ipopt] #153: linearsolverloader pardiso interface out of date

Ipopt coin-trac at coin-or.org
Tue Jun 14 09:58:09 EDT 2011


#153: linearsolverloader pardiso interface out of date
---------------------+------------------------------------------------------
  Reporter:  jdh     |       Owner:  ipopt-team
      Type:  defect  |      Status:  new       
  Priority:  normal  |   Component:  Ipopt     
   Version:  3.9     |    Severity:  normal    
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------

Comment (by stefan):

 Thanks, I was so free to modify the code in Ipopt/trunk.

 I did the point with assuming a new pardiso lib by default and have a
 wrapper in case its an old one.

 Regarding the number of threads, if the linear solver loader is used, then
 !IpPardisoSolverInterface assumes a parallel version and checks for the
 OMP_NUM_THREADS variable, but it does not give an error if this variable
 is not set.
 The linear solver loader recognizes whether it is a serial or parallel
 version of the pardiso library and sets the number of threads parameter to
 1 if it is a serial version.

 Stefan

 PS: Somehow, Pardiso seem to run with 2 cores even if the number of
 threads is specified as 1 in IPARM, but OMP_NUM_THREADS is not set.
 Setting OMP_NUM_THREADS explicitly to 1 restricts it to run with one
 thread only.

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/153#comment:4>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list