From: Daniel W. <dan...@gm...> - 2010-05-11 14:01:34
|
Was there a previous pysparse installation? On Mon, May 10, 2010 at 12:59 PM, Eddie Schwalbach <e-s...@no...> wrote: > I'm trying to install pysparse on a Linux cluster with ATLAS 3.8.3 (which > was built with full LAPACK support). ATLAS is located at > /software/ATLAS/3.8.3 > and I'm using Python2.6.4 which is located in the nonstandard location > /home/ejs698/software (which is at the beginning of my PATH and PYTHONPATH). > > I've modified the setup.py file to include the appropriate (I think) library > directories: > > library_dirs_list= > ['/software/ATLAS/3.8.3/lib/','/home/ejs698/software/lib/','/usr/bin/lib/'] > libraries_list = ['f77blas', 'cblas', 'atlas', 'lapack', 'gfortran'] > > I also have the environment variables: > LD_LIBRARY_PATH > /opt/moab/lib:/opt/torque/lib::/software/ATLAS/3.8.3/lib:/home/ejs698/software/lib > ATLAS /software/ATLAS/3.8.3 (this was necessary for getting numpy built > against the correct ATLAS libraries) > > I don't see errors when I run python setup.py install, or when I try > from pysparse import * > However, if I attempt to run any of the tests in the Examples directory, I > get: > > [ejs698@quser04 Examples]$ python jdsym_test.py > Traceback (most recent call last): > File "jdsym_test.py", line 1, in <module> > from pysparse import spmatrix, jdsym, itsolvers > ImportError: /software/ATLAS/lib/liblapack.so: cannot open shared object > file: No such file or directory > > This seems to indicate that pysparse is looking in the wrong place for the > lapack libraries (the correct location is > /software/ATLAS/3.8.3/lib/liblapack.so). Have I missed some environment > variable or setting in the setup.py to properly specify these library > locations? > > Any suggestions are appreciated, and thanks in advance, > > Eddie Schwalbach > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Pysparse-users mailing list > Pys...@li... > https://lists.sourceforge.net/lists/listinfo/pysparse-users > > -- Daniel Wheeler |