<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2155" rel="nofollow">http://projects.scipy.org/numpy/ticket/2155</a> on 2012-06-11 by trac user r0k3, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pierregm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pierregm">@pierregm</a>.</em></p>
<p dir="auto">One gets an error while trying to pickle an object that contains a MaskedConstant.</p>
<p dir="auto">I've tried to build numpy with ATLAS 3.10. This version of <a href="http://math-atlas.sourceforge.net/atlas_install/node22.html" rel="nofollow">ATLAS</a> produces instead of <code class="notranslate">libf77blas.so</code>, <code class="notranslate">liblapack.so</code>, and other libraries just <code class="notranslate">lib{s,t}atlas.so</code>. Unfortunately numpy is not able to accept this change (which results into numpy not being linked against ATLAS' libs).</p>
<p dir="auto">I would provide patch for this but <a href="https://github.com/numpy/numpy/blob/master/numpy/distutils/system_info.py#L991">code</a> which performs these tests is a little bit hard to read for me.</p>
<p dir="auto">Simple workaround for this is to create original files by creating symlinks:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ln -s libtatlas.so* libptcblas.so
ln -s libtatlas.so* libptf77blas.so
# and so on"><pre class="notranslate"><code class="notranslate">ln -s libtatlas.so* libptcblas.so
ln -s libtatlas.so* libptf77blas.so
# and so on
</code></pre></div>