[Trilinos-Users] problems with pyTrilinos and ubuntu 8.04

Bill Spotz wfspotz at sandia.gov
Mon Oct 20 13:06:33 MDT 2008


Riccardo,

This is a bug submitted by someone else, and the fix is simple.  In  
PyTrilinos/__init__.py, change

     except SystemError, ImportError:

to

     except (SystemError, ImportError):

This has been fixed for future releases, but 9.0.0 still has the bug.

On Oct 20, 2008, at 11:35 AM, rrossi at cimne.upc.edu wrote:
> Dear all,
>
> first of all i apologise for my previous post, as following the  
> manual i
> finally managed to have a correct compilation of the trilinos  
> including
> all the shared libraries.
>
> Unfortunately even if the compilation arrives completely to its end,  
> all
> of the tests fail for my
> pyTrilinos
> with the error message
>
> import dl
> ImportError: No module named dl
>
> the same error message appears with both 9.0 and 8.08
>
> googling i realized that this error is not new, however i could not  
> find
> (or did not understand) how to work around this...
>
> my system is Ubuntu 8.04.
> I use
> python 2.5.2
> swig 1.3.33
>
> my configuration command is :
>
> ../configure    --with-mpi-compilers FFLAGS=-fPIC CFLAGS=-fPIC
> CXXFLAGS=-fPIC  --enable-amesos    --enable-anasazi  --enable-aztecoo
> --enable-didasko   --enable-epetra    --enable-epetraext   --enable- 
> ifpack
>  --enable-ml  --enable-pytrilinos   --enable-teuchos   --enable- 
> triutils
> --enable-galeri
>
> any help would be greatly appreciated
>
> thanks in advance
> Riccardo
>
>
>
>
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users

** Bill Spotz                                              **
** Sandia National Laboratories  Voice: (505)845-0170      **
** P.O. Box 5800                 Fax:   (505)284-0154      **
** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **







More information about the Trilinos-Users mailing list