[SciPy-User] Building Scipy -Build from source on windows

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[SciPy-User] Building Scipy -Build from source on windows

Harishkumar TR

Hi Team,

 

I am having issue in building the SciPy from source . Please see the attached log for more details.

 

I am building scipy from source on windows.x64 platform. I read the doc from here https://docs.scipy.org/doc/scipy/reference/building/windows.html#building-the-released-scipy

 

 

Command used: python setup.py bdist_wheel

 

ERROR

 

c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: build\temp.win-amd64-3.7\scipy\integrate\quadpack\dqc25f.o: in function `dqc25f_':

c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\aime\Desktop\bachint\python_3.7.4_packages\scipy\1.3.1\scipy-1.3.1/scipy/integrate/quadpack/dqc25f.f:235: undefined reference to `dgtsv_'
collect2.exe: error: ld returned 1 exit status

 

My Fortune compiler is in place and lapack is in place.

 

 

 

Can it be possible to help to fix this issue? Or if any build notes you can provide is a great help.

 

In simple steps how to build sciupy??

 

 

Regards,

Harish


_______________________________________________
SciPy-User mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/scipy-user

scipy_build.log (653K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building Scipy -Build from source on windows

ralfgommers


On Fri, Sep 20, 2019 at 12:22 PM Harishkumar TR <[hidden email]> wrote:

Hi Team,

 

I am having issue in building the SciPy from source . Please see the attached log for more details.

 

I am building scipy from source on windows.x64 platform. I read the doc from here https://docs.scipy.org/doc/scipy/reference/building/windows.html#building-the-released-scipy

 

 

Command used: python setup.py bdist_wheel

 

ERROR

 

c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: build\temp.win-amd64-3.7\scipy\integrate\quadpack\dqc25f.o: in function `dqc25f_':

c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\aime\Desktop\bachint\python_3.7.4_packages\scipy\1.3.1\scipy-1.3.1/scipy/integrate/quadpack/dqc25f.f:235: undefined reference to `dgtsv_'
collect2.exe: error: ld returned 1 exit status

 

My Fortune compiler is in place and lapack is in place.

 

 

 

Can it be possible to help to fix this issue? Or if any build notes you can provide is a great help.

 

In simple steps how to build sciupy??


On Windows it's pretty difficult, simple steps as in that doc may not work for everyone. You may be happier using Docker: http://scipy.github.io/devdocs/dev/contributor/quickstart_docker.html

That said, if you want to make the Windows build we can try to help. The above error can have multiple causes, so please put your whole build log in a gist and provide us with a link to it.

Cheers,
Ralf

_______________________________________________
SciPy-User mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Building Scipy -Build from source on windows

Olivier B.
In reply to this post by Harishkumar TR
I had the same error when building with Visual C++ / gfortran of mingw / mkl
The only ugly workaround i have for now, was to 'tweak'
numpy/distutils/fcompiler/__init__.py, in link(), so i can pass by an
environment variable mkl_rt.lib at the correct position on the
grfortran command line (it must be after the compiled objects
contained in ld_args)
You can find at https://github.com/scipy/scipy/issues/10736 the issues
i encountered to manage sucessfull build for this config

Le ven. 20 sept. 2019 à 12:23, Harishkumar TR
<[hidden email]> a écrit :

>
> Hi Team,
>
>
>
> I am having issue in building the SciPy from source . Please see the attached log for more details.
>
>
>
> I am building scipy from source on windows.x64 platform. I read the doc from here https://docs.scipy.org/doc/scipy/reference/building/windows.html#building-the-released-scipy
>
>
>
>
>
> Command used: python setup.py bdist_wheel
>
>
>
> ERROR
>
>
>
> c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: build\temp.win-amd64-3.7\scipy\integrate\quadpack\dqc25f.o: in function `dqc25f_':
>
> c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\aime\Desktop\bachint\python_3.7.4_packages\scipy\1.3.1\scipy-1.3.1/scipy/integrate/quadpack/dqc25f.f:235: undefined reference to `dgtsv_'
> collect2.exe: error: ld returned 1 exit status
>
>
>
> My Fortune compiler is in place and lapack is in place.
>
>
>
>
>
>
>
> Can it be possible to help to fix this issue? Or if any build notes you can provide is a great help.
>
>
>
> In simple steps how to build sciupy??
>
>
>
>
>
> Regards,
>
> Harish
>
> _______________________________________________
> SciPy-User mailing list
> [hidden email]
> https://mail.python.org/mailman/listinfo/scipy-user
_______________________________________________
SciPy-User mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/scipy-user