Known Issues for the NAG Library CL Interface
This document reflects all reported and resolved issues that affect recent releases of the NAG Library CL Interface.
Some of these issues may have been fixed at intermediate "point" releases of the Library, while other fixes are scheduled for incorporation at future releases. For library Marks where those fixes are not yet incorporated, a workaround for the known issue is provided wherever possible.
To find the Mark and point release number of your library, call NAG function a00aac( ).
For issues that affect releases of other interfaces, please also see
Order the issues by
Synopsis  Overflow may occur if the function attempts to scale the polynomial coefficients. 
Description  In rare circumstances overflow may be observed if ${\mathbf{scale}}=\mathrm{Nag\_TRUE}$. 
Severity  Noncritical 
Issue Since Mark  7 
Workaround  Set argument ${\mathbf{scale}}=\mathrm{Nag\_FALSE}$. 
Synopsis  d06acc returns ${\mathbf{fail}}\mathbf{.}\mathbf{code}={\mathbf{NE\_MESH\_ERROR}}$ error for some boundary meshes due to an internal scaling issue. 
Description  d06acc returns ${\mathbf{fail}}\mathbf{.}\mathbf{code}={\mathbf{NE\_MESH\_ERROR}}$ error for some boundary meshes due to an internal scaling issue. 
Severity  Noncritical 
Issue Since Mark  7 
Fixed at Mark  28.4 
Workaround  Scale input boundary mesh prior to calling d06acc so that ${\mathbf{}}{\mathbf{}}=0$ and ${\mathbf{}}{\mathbf{}}=1$. 
Synopsis  e01shc will occasionally incorrectly identify a point as being outside the region defined by the interpolant. 
Description  e01shc will occasionally incorrectly identify a point as being outside the region defined by the interpolant. This leads to the function value being extrapolated rather than interpolated and can lead to incorrect results. 
Severity  Noncritical 
Issue Since Mark  26.0 
Fixed at Mark  27.1 
Workaround  None. 
Synopsis  ${\mathbf{stats}}$ and ${\mathbf{rinfo}}$ were not correctly filled by the presolver. 
Description  The arrays ${\mathbf{stats}}$ and ${\mathbf{rinfo}}$ were not correctly filled when the problem was entirely solved by the presolver. It now returns the correct values.
The optional parameter ${\mathbf{Print\; Solution}}$ now correctly writes the linear constraints dual variables when no bounds are defined on the variables.

Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  27 
Workaround  Don't rely on ${\mathbf{rinfo}}\left[0\right],{\mathbf{rinfo}}\left[1\right]$ to hold the primal and dual objective in this case and recompute it as ${c}^{\prime}x$ and $by$, respectively. 
Synopsis  e04mtc does not report the correct solution when $3$ or more columns are proportional to each other in the constraint matrix. 
Description  e04mtc does not report the correct solution when $3$ or more columns are proportional to each other in the constraint matrix. In such a case, the solution reported may be infeasible. 
Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  27 
Workaround  A workaround is to disable the more complex presolve operations by setting the optional parameter ${\mathbf{LP\; Presolve}}=\mathrm{BASIC}$. This may slow down the solver depending on the problem. 
Synopsis  In some very rare cases, the solution reported presents big violations on a small number of linear constraints. 
Description  In some very rare cases, the solution reported presents big violations on a small number of linear constraints. 
Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  27.1 
Workaround  A workaround is to deactivate the more complex presolver operations with the optional parameter ${\mathbf{LP\; Presolve}}=\mathrm{BASIC}$. 
Synopsis  In some very rare cases, e04mtc reports problem infeasibility for a feasible problem. 
Description  In some very rare cases, the solver reports problem infeasibility when there are numerical difficulties. 
Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  28.6 
Workaround  Unfortunately there is no convenient workaround. 
Synopsis  In some very rare cases, at presolve phase the solver declares unboundedness on a bounded problem. 
Description  In some very rare cases, especially when there are a large amount of singleton variables, the solver might report unbounded error message on a bounded problem. 
Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  29.0 
Workaround  A workaround is to deactivate the more complex presolver operations with the optional parameter ${\mathbf{LP\; Presolve}}=\mathrm{BASIC}$. This may slow down the solver depending on the problem. 
Synopsis  In some cases the solver declares dual infeasibility during presolving for feasible and bounded problems. 
Description  For a bounded problem, the solver reports dual infeasibility during dominated columns removal at the presolving stage. 
Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  29.1 
Workaround  A workaround is to deactivate the more complex presolver operations with the optional parameter ${\mathbf{LP\; Presolve}}=\mathrm{BASIC}$. This may slow down the solver depending on the problem. 
Synopsis  Infeasible bounds defined by e04rjc of a variable are ignored and infeasibility is not reported. 
Description  When infeasible bounds are defined by e04rjc for a variable, instead of reporting problem infeasibility, the bounds are overridden and wrong solution may be reported. 
Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  27.1 
Workaround  A workaround is to deactivate the more complex presolver operations with the optional parameter ${\mathbf{LP\; Presolve}}=\mathrm{BASIC}$ for e04mtc and ${\mathbf{SOCP\; Presolve}}=\mathrm{BASIC}$ for e04ptc. 
Synopsis  Optional parameters ${\mathbf{List}}$ and ${\mathbf{Nolist}}$ are not handled correctly. 
Description  Functions e04nrc, e04vkc and e04wec do not handle optional parameters ${\mathbf{List}}$ and ${\mathbf{Nolist}}$ correctly. Specifying ${\mathbf{List}}$ does not alter the behaviour of subsequent functions in the suite, and specifying ${\mathbf{Nolist}}$ erroneously reports an error. 
Severity  Noncritical 
Issue Since Mark  8 
Fixed at Mark  27.3 
Workaround  Function e04nsc should be used instead to set optional parameters ${\mathbf{List}}$ or ${\mathbf{Nolist}}$. 
Synopsis  Information about the last constraint might not be printed. 
Description  If the problem has a nonlinear objective function without a linear part and ${\mathbf{objrow}}<{\mathbf{nf}}$, the last constraint is not printed in the final information about the solution (Rows section). 
Severity  Noncritical 
Issue Since Mark  8 
Fixed at Mark  26 
Workaround  None. 
Synopsis  Multithreaded versions of the functions f11bec, f11bsc, f11gec and f11gsc may produce slightly different results when run on multiple threads. 
Description  Multithreaded versions of the functions f11bec, f11bsc, f11gec and f11gsc may produce slightly different results when run on multiple threads, e.g., the number of iterations to solution and the computed matrix norms and termination criteria reported by the associated monitoring functions. A bug affecting f11bec and f11gec has been fixed, and parallel vector dot products have been modified in all functions to improve consistency of results. 
Severity  Noncritical 
Issue Since Mark  26 
Fixed at Mark  27.1 
Workaround  None. 
Synopsis  f16qec and f16tec reference diagonal elements when unit diagonal entries are assumed. 
Description  f16qec and f16tec reference and copy diagonal elements when unit diagonal entries are assumed. 
Severity  Critical 
Issue Since Mark  7 
Fixed at Mark  28 
Workaround  Nothing needs to be done unless diagonal entries of the target matrix contain useful data prior to a call of f16qec or f16tec with ${\mathbf{diag}}=\mathrm{Nag\_UnitDiag}$, in which case the useful data should be saved and copied back to the diagonal of the target matrix after the call to either f16qec or f16tec. 
Synopsis  f16qfc, if called with ${\mathbf{pdb}}$ that violates minimum contraints, will produce a segmentation fault. 
Description  f16qfc, if called with ${\mathbf{pdb}}$ that violates minimum contraints, will produce a segmentation fault. 
Severity  Critical 
Issue Since Mark  7 
Fixed at Mark  28 
Workaround  Call f16qfc with ${\mathbf{pdb}}$ that meets the documented minimum contraint. 
Synopsis  Incorrect Frobenius norm returned in some cases. 
Description  When calling one of the functions: f16rdc, f16rec, f16udc, f16uec, f16ufc and f16ugc with ${\mathbf{order}}=\mathrm{Nag\_RowMajor}$ and ${\mathbf{norm}}=\mathrm{Nag\_FrobeniusNorm}$, the returned norm can be incorrect. 
Severity  Critical 
Issue Since Mark  23 
Fixed at Mark  28 
Workaround  These functions will return the correct norm if the ${\mathbf{order}}$ argument is set to $\mathrm{Nag\_ColMajor}$ and the ${\mathbf{uplo}}$ argument is flipped, i.e., from $\mathrm{Nag\_Upper}$ to $\mathrm{Nag\_Lower}$ or vice versa. 
Synopsis  f16smc returns wrong update of $A$ when ${\mathbf{a}}$ is stored in row major order and ${\mathbf{y}}$ is to be conjugated. 
Description  When f16smc is called with ${\mathbf{order}}=\mathrm{Nag\_RowMajor}$ and ${\mathbf{conj}}=\mathrm{Nag\_Conj}$, $A$ is updated as though ${\mathbf{conj}}=\mathrm{Nag\_NoConj}$. 
Severity  Critical 
Issue Since Mark  8 
Fixed at Mark  28 
Workaround  Call f16smc with ${\mathbf{conj}}=\mathrm{Nag\_NoConj}$ and conjugate ${\mathbf{y}}$ prior to call. 
Synopsis  f16tac stops program execution when called with ${\mathbf{pda}}<{\mathbf{n}}$. 
Description  f16tac, when called with ${\mathbf{pda}}<{\mathbf{n}}$ does not return error code ${\mathbf{fail}}\mathbf{.}\mathbf{code}={\mathbf{NE\_INT\_2}}$, but terminates program execution. 
Severity  Critical 
Issue Since Mark  8 
Fixed at Mark  28 
Workaround  Call f16tac with ${\mathbf{pda}}\ge \mathrm{max}\phantom{\rule{0.125em}{0ex}}\left(1,{\mathbf{n}}\right)$. 
Synopsis  f16tfc returns incorrect results when computing a transposed copy of a matrix. 
Description  f16tfc returns incorrect results when computing a transposed copy of a matrix. 
Severity  Critical 
Issue Since Mark  7 
Fixed at Mark  28 
Workaround  Call f01cwf with ${\mathbf{alpha}}=\text{one}$ and ${\mathbf{beta}}=\text{zero}$; for rowordered matrices, ${\mathbf{m}}$ and ${\mathbf{n}}$ should be switched. 
Synopsis  If the first row or column of the weight matrix ${\mathbf{h}}$ consists only of zeros, then the function will fail to find the nearest correlation matrix for that weight matrix. 
Description  An error can occur when the first row or column of the weight matrix ${\mathbf{h}}$ consists only of zeros, then the function will fail to find the nearest correlation matrix for that weight matrix. 
Severity  Critical 
Issue Since Mark  25 
Fixed at Mark  30.1 
Workaround  The workaround is to apply a small weight (relative to other nonzero weights given in ${\mathbf{h}}$) to one of the elements in the first row/column. 
Synopsis  When ${\mathbf{mean}}=\mathrm{Nag\_AboutZero}$, output arguments ${\mathbf{a}}$ and ${\mathbf{a\_serr}}$ are not initialized. 
Description  When ${\mathbf{mean}}=\mathrm{Nag\_AboutZero}$, output arguments ${\mathbf{a}}$ and ${\mathbf{a\_serr}}$ are not initialized. These values relate to a regression constant that is only relevant in the ${\mathbf{mean}}=\mathrm{Nag\_AboutMean}$ case. However, the code for ${\mathbf{mean}}=\mathrm{Nag\_AboutZero}$ should initialize them to $0.0$. This was not done, allowing previously set values or random results to be erroneously returned. 
Severity  Noncritical 
Issue Since Mark  7 
Fixed at Mark  27.3 
Workaround  The safest solution is to manually set these to $0.0$ (but only in the ${\mathbf{mean}}=\mathrm{Nag\_AboutZero}$ case) immediately after calling this function. 
Synopsis  A segmentation fault is likely to occur if a model with multiple random statements is supplied to the function, where at least one of those statements does not have a ${\mathbf{Subject}}$ term. 
Description  A segmentation fault is likely to occur if a model with multiple random statements is supplied to the function, where at least one of those statements does not have a ${\mathbf{Subject}}$ term.
For example, a model specified using:
V1 + V2 / SUBJECT = V3 V4 + V5 / SUBJECT = V6would not trigger the error, but one specified using: V1 + V2 V4 + V5 / SUBJECT = V6would. The error is not triggered when there is only a single random statement, so a model specified using just
V1 + V2will not trigger the error. 
Severity  Critical 
Issue Since Mark  27 
Fixed at Mark  27.1 
Workaround  A workaround to this issue is to always supply a ${\mathbf{Subject}}$ term. If the required model is of the form:
V1 + V2 V4 + V5 / SUBJECT = V6then you can specify an equivalent model by using: V1 + V2 / SUBJECT = DUMMY V4 + V5 / SUBJECT = V6where the variable 
Synopsis  Memory leak reported from CL interface on Windows from checking tools. 
Description  A duringexecution memory leak can be reported from checking tools on Windows when running a multithreaded program calling d01xbc. 
Severity  Critical 
Issue Since Mark  5 
Fixed at Mark  28 
Workaround  Ignore warnings. 
Synopsis  The wrong value for ${\mathbf{p}}$ is returned when ${\mathbf{aa2}}$ is large. 
Description  In g08ckc and g08clc the value returned for the upper tail probability ${\mathbf{p}}$ is wrong when the calculated AndersonDarling test statistic ${\mathbf{aa2}}$ is large. In the case of g08ckc, when ${\mathbf{aa2}}>153.4677$ the returned value of ${\mathbf{p}}$ should be zero; in the case of g08clc, when ${\mathbf{aa2}}>10.03$ the returned value of ${\mathbf{p}}$ should be $\text{}\le \mathrm{exp}\left(14.360135\right)$. 
Severity  Critical 
Issue Since Mark  23 
Workaround  Workaround for g08ckc:
Call g08ckc(...); If (aa2 > 153.4677) p = 0.0;Workaround for g08clc: Call g08clc(...); If (aa2 > 10.03) p = exp(14.360135); 
Synopsis  g13fac may return a negative value as the estimate of the last $\beta $ parameter (i.e., ${\beta}_{p}$) for a subset of models. 
Description  g13fac can result in a negative value for the estimate of the last $\beta $ parameter (i.e., ${\beta}_{p}$) or, if $p=0$, the last $\alpha $ parameter (i.e., ${\alpha}_{q}$).
This issue only affects a subset of models that have normally distributed errors and do not include an asymmetry term.
If the function did not return a negative value as the estimate of the last $\beta $ parameter (or, if $p=0$, the last $\alpha $ parameter), then that particular model was not affected by the issue.

Severity  Critical 
Issue Since Mark  7 
Fixed at Mark  27 
Workaround  None 
Synopsis  When ${\mathbf{what}}=\mathrm{Nag\_VarianceComponent}$ the information returned in ${\mathbf{plab}}$ and/or ${\mathbf{vinfo}}$ may be incorrect. 
Description  The information returned in ${\mathbf{plab}}$ and/or ${\mathbf{vinfo}}$ may be incorrect in cases where ${\mathbf{what}}=\mathrm{Nag\_VarianceComponent}$ and the underlying linear mixed effects regression model has a random variable, with a single level (so either binary or continuous), that only takes the value zero. 
Severity  Noncritical 
Issue Since Mark  27.0 
Workaround  The work around is to drop the term from the model, as it does not contribute. For example, if the random part of your model was specified as: V1 + V2 / SUBJECT=V3 and the variable V2 was a continuous variable, that only takes a value of zero in the data, then this is equivalent to respecifying the model using: V1 / SUBJECT=V3. 
Synopsis  In some cases, solver returns inaccurate solution when there are binary variables. 
Description  When there are binary variables, the accuracy of the solution will be influenced by the initial values. The solver could return inaccurate solution. 
Severity  Noncritical 
Issue Since Mark  25 
Fixed at Mark  29.1 
Workaround  The work around is to use integer variables with $0$ and $1$ as lower and upper bound, respectively. 
Synopsis  Thread Local Storage default limit was exceeded for delay loaded shared library. 
Description  A fair amount of thread local storage had been allocated by an auxiliary function which has now been updated to use a very small amount of thread local storage. Prior to the update, this only affected the case where the shared version of the Nag Library was delay loaded, since this assumed a small default maximum amount of thread local storage, which was in fact exceeded.
The issue had been present since the introduction of the auxiliary function at Mark 26.1. From Mark 28.6, the amount of thread local storage used is very small and this is no longer an issue.

Severity  Noncritical 
Issue Since Mark  26.1 
Fixed at Mark  28.6 
Workaround  None. 