[Trilinos-Users] [Pytrilinos-users] Some Days the Fun Never Stops
Bill Spotz
wfspotz at sandia.gov
Sat Mar 7 14:05:43 MST 2009
No, this is an improvement. But shared libraries can be a little more
touchy to use. This message is saying that the libraries are found
but that an (actually all) MPI symbol(s) is (are) undefined.
Different systems and MPI versions behave differently, but you appear
to need to run PyTrilinos scripts under mpirun or mpiexec, etc.
On Mar 7, 2009, at 3:53 PM, Matt G wrote:
> I came up with a new interesting glitch:
>
> Originally my installation (prefixed to my home directory on the HPC
> here) could not find "libteuchos.so" located in my local lib
> directory, but after doing:
>
> export LD_LIBRARY_PATH=/home/u27/mgoodman/lib
>
> I get a new and not very meaningful error message:
>
> In [1]: from PyTrilinos import *
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent
> call last)
>
> /homeB/home4/u24/agh/<ipython console> in <module>()
>
> /home/u27/mgoodman/lib/python2.6/site-packages/PyTrilinos/Teuchos.py
> in <module>()
> 43 """
> 44
> ---> 45 import _Teuchos
> 46 import new
> 47 new_instancemethod = new.instancemethod
>
> ImportError: /home/u27/mgoodman/lib/libepetra.so: undefined symbol:
> _ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb
>
> Which looks much uglier, frankly. Are my libraries landing in the
> wrong directories somehow?
>
> Any thoughts?
> -Matt
> <ATT00001.txt>
** 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