[SciPy-User] [SciPy-user] Compiling scipy on Solaris
mdekauwe
mdekauwe at gmail.com
Wed Feb 10 05:05:01 EST 2010
Below is the output of the build (I have removed some of it as it wouldn't
let me post the message), I hope that was what you meant by log, if it isn't
and there was a specific command then please let me know. Thanks.
I should probably add I have managed to get scipy 0.6.1 to build and run
without issues.
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /users/eow/mgdk/sun4u/lib
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
library_dirs = ['/users/eow/mgdk/sun4u/lib']
language = c
customize SunFCompiler
Could not locate executable f90
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize Gnu95FCompiler
Found executable /nerc/packages/gcc/4.2.3/5.9/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
compiling '_configtest.c':
/* This file is generated from numpy/distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
ATL_buildinfo();
return 0;
}
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC
compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/users/eow/mgdk/sun4u/lib -llapack -lf77blas
-lcblas -latlas -o _configtest
ATLAS version 3.8.3 built by mgdk on Fri Jul 17 19:10:13 BST 2009:
UNAME : SunOS wlsn098 5.9 Generic_122300-14 sun4u sparc SUNW,A70
INSTFLG : -1 0 -a 1
ARCHDEFS : -DATL_OS_SunOS -DATL_ARCH_USIII -DATL_CPUMHZ=1600 -DSUN_HR
-DATL_GAS_SPARC
F2CDEFS : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
CACHEEDGE: 786432
F77 : gfortran, version GNU Fortran (GCC) 4.2.3
F77FLAGS : -O -mcpu=ultrasparc3 -mtune=ultrasparc3 -fPIC -m32
SMC : gcc, version gcc (GCC) 4.2.3
SMCFLAGS : -mcpu=ultrasparc3 -mtune=ultrasparc3 -O3 -funroll-all-loops
-fPIC -m32
SKC : gcc, version gcc (GCC) 4.2.3
SKCFLAGS : -mcpu=ultrasparc3 -mtune=ultrasparc3 -O3 -funroll-all-loops
-fPIC -m32
success!
removing: _configtest.c _configtest.o _configtest
FOUND:
libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
library_dirs = ['/users/eow/mgdk/sun4u/lib']
language = c
define_macros = [('ATLAS_INFO', '"\\"3.8.3\\""')]
ATLAS version 3.8.3
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in /users/eow/mgdk/sun4u/lib
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /users/eow/mgdk/sun4u/lib
numpy.distutils.system_info.atlas_threads_info
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['lapack', 'lapack', 'f77blas', 'cblas', 'atlas']
library_dirs = ['/users/eow/mgdk/sun4u/lib']
language = f77
customize SunFCompiler
customize GnuFCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using config
compiling '_configtest.c':
/* This file is generated from numpy/distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
ATL_buildinfo();
return 0;
}
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC
compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/users/eow/mgdk/sun4u/lib -llapack -llapack
-lf77blas -lcblas -latlas -o _configtest
ATLAS version 3.8.3 built by mgdk on Fri Jul 17 19:10:13 BST 2009:
UNAME : SunOS wlsn098 5.9 Generic_122300-14 sun4u sparc SUNW,A70
INSTFLG : -1 0 -a 1
ARCHDEFS : -DATL_OS_SunOS -DATL_ARCH_USIII -DATL_CPUMHZ=1600 -DSUN_HR
-DATL_GAS_SPARC
F2CDEFS : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
CACHEEDGE: 786432
F77 : gfortran, version GNU Fortran (GCC) 4.2.3
F77FLAGS : -O -mcpu=ultrasparc3 -mtune=ultrasparc3 -fPIC -m32
SMC : gcc, version gcc (GCC) 4.2.3
SMCFLAGS : -mcpu=ultrasparc3 -mtune=ultrasparc3 -O3 -funroll-all-loops
-fPIC -m32
SKC : gcc, version gcc (GCC) 4.2.3
SKCFLAGS : -mcpu=ultrasparc3 -mtune=ultrasparc3 -O3 -funroll-all-loops
-fPIC -m32
success!
removing: _configtest.c _configtest.o _configtest
FOUND:
libraries = ['lapack', 'lapack', 'f77blas', 'cblas', 'atlas']
library_dirs = ['/users/eow/mgdk/sun4u/lib']
language = f77
define_macros = [('ATLAS_INFO', '"\\"3.8.3\\""')]
ATLAS version 3.8.3
ATLAS version 3.8.3
umfpack_info:
libraries umfpack not found in /users/eow/mgdk/sun4u/lib
NOT AVAILABLE
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler
options
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler
options
running build_src
building py_modules sources
building library "dfftpack" sources
building library "linpack_lite" sources
building library "mach" sources
building library "quadpack" sources
building library "odepack" sources
building library "fitpack" sources
building library "odrpack" sources
building library "minpack" sources
building library "rootfind" sources
building library "superlu_src" sources
building library "arpack" sources
building library "sc_c_misc" sources
building library "sc_cephes" sources
building library "sc_mach" sources
building library "sc_toms" sources
building library "sc_amos" sources
building library "sc_cdf" sources
building library "sc_specfun" sources
building library "statlib" sources
building extension "scipy.cluster._vq" sources
building extension "scipy.cluster._hierarchy_wrap" sources
building extension "scipy.fftpack._fftpack" sources
f2py options: []
adding 'build/src.solaris-2.9-sun4u-2.5/fortranobject.c' to sources.
adding 'build/src.solaris-2.9-sun4u-2.5' to include_dirs.
building extension "scipy.fftpack.convolve" sources
f2py options: []
adding 'build/src.solaris-2.9-sun4u-2.5/fortranobject.c' to sources.
adding 'build/src.solaris-2.9-sun4u-2.5' to include_dirs.
building extension "scipy.integrate._quadpack" sources
building extension "scipy.integrate._odepack" sources
building extension "scipy.integrate.vode" sources
f2py options: []
adding 'build/src.solaris-2.9-sun4u-2.5/fortranobject.c' to sources.
adding 'build/src.solaris-2.9-sun4u-2.5' to include_dirs.
building extension "scipy.interpolate._fitpack" sources
building extension "scipy.interpolate.dfitpack" sources
f2py options: []
adding 'build/src.solaris-2.9-sun4u-2.5/fortranobject.c' to sources.
adding 'build/src.solaris-2.9-sun4u-2.5' to include_dirs.
adding
'build/src.solaris-2.9-sun4u-2.5/scipy/interpolate/src/dfitpack-f2pywrappers.f'
to sources.
building extension "scipy.interpolate._interpolate" sources
building extension "scipy.io.numpyio" sources
building extension "scipy.lib.blas.fblas" sources
f2py options: ['skip:', ':']
adding 'build/src.solaris-2.9-sun4u-2.5/fortranobject.c' to sources.
adding 'build/src.solaris-2.9-sun4u-2.5' to include_dirs.
etc etc
David Cournapeau-3 wrote:
>
> mdekauwe wrote:
>> Hi,
>>
>> I am trying to install the latest scipy libraries and whilst everything
>> (i
>> think) builds without issues I have encountered some relocation issues
>> finding libraries.
>>
>> A number of the basic functionalities work find e.g.
>>
>> import scipy
>>
>> a = scipy.arange(10)
>>
>> However
>>
>> if I tried to import something from the optimise library, for example
>>
>> from scipy.optimize import leastsq
>>
>> ImportError: ld.so.1: python: fatal: relocation error: file
>> /users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so: symbol
>> etime_:
>> referenced symbol not found
>
> Most likely, that's the problem. Etime is a function which depending on
> your toolchain, is an intrinsic or not.
>
> Could you provide us a build log ? Which fortran compiler and which
> LAPACK are you using (it does not look like you are using the sun
> performance library) ?
>
> cheers,
>
> David
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
--
View this message in context: http://old.nabble.com/Compiling-scipy-on-Solaris-tp27519446p27527116.html
Sent from the Scipy-User mailing list archive at Nabble.com.
More information about the SciPy-User
mailing list