[SciPy-Dev] ode and odeint callable parameters

Benny Malengier benny.malengier at gmail.com
Tue Jan 26 06:03:26 EST 2016


2016-01-26 11:43 GMT+01:00 Marcel Oliver <m.oliver at jacobs-university.de>:

>
> (Side remark: tried to compile odes today on a Fedora 23 machine, but
> it fails with
>
> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or
> directory
> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or
> directory
> error: Command "gcc -pthread -Wno-unused-result
> -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ibuild/src.linux-x86_64-3.4
> -I/usr/lib64/python3.4/site-packages/numpy/core/include
> -I/usr/include/python3.4m -c build/src.linux-x86_64-3.4/fortranobject.c -o
> build/temp.linux-x86_64-3.4/build/src.linux-x86_64-3.4/fortranobject.o"
> failed with exit status 1
>
> Seems there are some hard-coded paths somewhere, did not have time to
> track this down other than noting that I get this error, so I may have
> done something stupid - don't worry if this is the case.)
>

This seems to be a part of numpy/f2py that is crashing ...
So this will be to expose the ddaspk solver in odes. Still, fortran
compiling should work. Using a debian system myself.
You should check what packages provides the specs sought for:
  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1

Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20160126/074a9afe/attachment.html>


More information about the SciPy-Dev mailing list