<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">I have a suite of fortran code that I compile with f2py and use as a plugin to a python package. I am using Python v2.7 from Anaconda. When compiled using numpy v1.11.3 or lower, everything works fine, but if I upgrade
to any more recent version I begin running into a runtime error. Presumably I am just not linking something that needs to be linked, but I'm not sure what library that would be.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">The error:</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>ImportError: .../libstddev_kernel.so: undefined symbol: _gfortran_stop_numeric_f08</div>
<div><br>
</div>
<div>Where libestddev_kernel.so is built using this command:</div>
<span>f2py --fcompiler=gnu95 --quiet --opt="-O3" -L. -L/usr/lib -I. -I.../include -I/usr/include -m libstddev_kernel -c stddev_kernel/stddev_kernel.f90 config.o</span><br>
<p></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Is there something additional I should be linking to within numpy or my anaconda installation?</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Thank you,</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Jeremy</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div dir="ltr" id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Jeremy Solbrig<br>
</p>
<p>Research Associate<br>
</p>
<p>Cooperative Institute for Research in the Atmosphere</p>
<p>Colorado State University</p>
<p>jeremy.solbrig@colostate.edu</p>
<p>(970) 491-8805<br>
</p>
</div>
</div>
</div>
</body>
</html>