[SciPy-dev] [mailinglist] NNLS.f

Uwe Schmitt uschmitt@mineway...
Tue Sep 30 02:59:49 CDT 2008


Hi,

this is my fault. I mixed upper and lower case
letters in the filename NNLS.f, which caused
no trouble on my Mac.
@Nils: which platform are you using ?

I guess that gfortran and g77 behave different
in this case.

I fixed the filename and checked the changes in.
Nils reported that it builds on his computer now.

Greetings, Uwe


Nils Wagner schrieb:
> Hi all,
>
> I cannot build scipy from svn due to
>
> g77:f77: scipy/optimize/slsqp/slsqp_optmz.f
> scipy/optimize/slsqp/slsqp_optmz.f: In subroutine `nnls':
> In file included from 
> scipy/optimize/slsqp/slsqp_optmz.f:0:
> scipy/optimize/slsqp/slsqp_optmz.f:1058: warning: 'izmax' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f: In subroutine `hfti':
> scipy/optimize/slsqp/slsqp_optmz.f:1244: warning: 'hmax' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f: In subroutine `ldl':
> scipy/optimize/slsqp/slsqp_optmz.f:1455: warning: 'tp' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f: In function `linmin':
> scipy/optimize/slsqp/slsqp_optmz.f:1556: warning: 'd' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f:1556: warning: 'e' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f:1556: warning: 'u' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f:1556: warning: 'w' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f:1556: warning: 'x' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f:1557: warning: 'fv' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f:1557: warning: 'fw' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f:1557: warning: 'fx' 
> might be used uninitialized in this function
> scipy/optimize/slsqp/slsqp_optmz.f: In function `dnrm2_':
> scipy/optimize/slsqp/slsqp_optmz.f:1855: warning: 'xmax' 
> might be used uninitialized in this function
> /usr/bin/g77 -g -Wall -g -Wall -shared 
> build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/optimize/slsqp/_slsqpmodule.o 
> build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/fortranobject.o 
> build/temp.linux-x86_64-2.5/scipy/optimize/slsqp/slsqp_optmz.o 
> -Lbuild/temp.linux-x86_64-2.5 -lg2c -o 
> build/lib.linux-x86_64-2.5/scipy/optimize/_slsqp.so
> building 'scipy.optimize._nnls' extension
> compiling C sources
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g 
> -O3 -Wall -Wstrict-prototypes -fPIC
>
> creating 
> build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/optimize/nnls
> compile options: '-Ibuild/src.linux-x86_64-2.5 
> -I/data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/include 
> -I/data/home/nwagner/local/include/python2.5 -c'
> gcc: 
> build/src.linux-x86_64-2.5/scipy/optimize/nnls/_nnlsmodule.c
> compiling Fortran sources
> Fortran f77 compiler: /usr/bin/g77 -g -Wall 
> -fno-second-underscore -fPIC -O3 -funroll-loops 
> -march=nocona -mmmx -msse2 -msse -msse3 
> -fomit-frame-pointer
> creating build/temp.linux-x86_64-2.5/nnls
> compile options: '-Ibuild/src.linux-x86_64-2.5 
> -I/data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/include 
> -I/data/home/nwagner/local/include/python2.5 -c'
> error: nnls/NNLS.f: No such file or directory
>   
> Cheers,
>
>               Nils
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
>   


-- 
Dr. rer. nat. Uwe Schmitt
F&E Mathematik
 
mineway GmbH
Science Park 2
D-66123 Saarbrücken
 
Telefon: +49 (0)681 8390 5334
Telefax: +49 (0)681 830 4376
 
uschmitt@mineway.de
www.mineway.de
 
Geschäftsführung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbrücken HRB 12339




More information about the Scipy-dev mailing list