[Trilinos-Users] Pytrilinos Python DL module problem

Askey Scott A Capt AFIT/ENY Scott.Askey at afit.edu
Mon Oct 20 13:48:25 MDT 2008


Riccardo

Do you happen to be using 64 bit AMD hardware or need to be compliant
with it?  I had the similar issue with building python 2.5 on in a 64
bit mixed AMD /Intel environment and I could not build the  python DL
modules.   The I was able to comment out a line of the setup.py script
to get the dl module to build.  In the end I just reverted to the
systems python 2.3 (Centos 4, RHEL) .

>From your command line if  import dl does not work your python is
broken.

In your python install directory you should have
lib/python2.5/lib-dynload/dl.so

You may have a different version of python or it may be in lib64.

http://bugs.gentoo.org/show_bug.cgi?id=56621#c13

Cheers

 Scott


Date: Mon, 20 Oct 2008 17:35:36 +0200 (CEST)
From: rrossi at cimne.upc.edu
Subject: [Trilinos-Users] problems with pyTrilinos and ubuntu 8.04
To: trilinos-users at software.sandia.gov
Message-ID:
	<39102.147.83.143.248.1224516936.squirrel at webmail.cimne.upc.es>
Content-Type: text/plain; charset=iso-8859-1

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


End of Trilinos-Users Digest, Vol 38, Issue 17
**********************************************





More information about the Trilinos-Users mailing list