[Trilinos-Users] [EXTERNAL] pytrilinos submodules import error
Veltz Romain
romain.veltz at inria.fr
Fri Feb 20 14:45:47 MST 2015
Hi,
On 20 Feb 2015, at 17:24, Bill Spotz <wfspotz at sandia.gov> wrote:
> Romain,
>
> During configuration, PyTrilinos now looks for mpi4py, and if it finds it, enables some interoperability with it. The main advantage is it allows you to define sub-communicators if you want them.
>
> I have run into a problem on the Mac where mpi4py tries to load its MPI.so but instead gets Boost's mpi.so. Could this be happening to you?
Difficult to know for me, is there a command to help me find out?
>
> I should probably add a way to explicitly turn mpi4py support off.
If you think it would help me, I am listening…
Thank you again,
Bests,
>
> -Bill
Romain
>
> On Feb 20, 2015, at 6:58 AM, Veltz Romain <romain.veltz at inria.fr> wrote:
>
>> Hi,
>>
>> I am trying to use PyTrilinos on a Mac. The compilation went well as well as the test, the cmake is in the file attached.
>> When, I try to import Epetra (for example), I get the following set fault.
>>
>> Does anyone have an idea please?
>>
>> Thank you for your help,
>>
>> Bests,
>>
>> Romain
>>
>> ipython-2.7 -c "from PyTrilinos import Epetra"
>> [toto:93842] *** Process received signal ***
>> [toto:93842] Signal: Segmentation fault: 11 (11)
>> [toto:93842] Signal code: Address not mapped (1)
>> [toto:93842] Failing at address: 0x440000b0
>> [toto:93842] [ 0] 2 libsystem_platform.dylib 0x00007fff92f415aa _sigtramp + 26
>> [toto:93842] [ 1] 3 ??? 0x0000000000000000 0x0 + 0
>> [toto:93842] [ 2] 4 MPI.so 0x000000010a8a889d __pyx_f_6mpi4py_3MPI_startup + 141
>> [toto:93842] [ 3] 5 MPI.so 0x000000010a885e53 initMPI + 16275
>> [toto:93842] [ 4] 6 Python 0x00000001068313bc _PyImport_LoadDynamicModule + 140
>> [toto:93842] [ 5] 7 Python 0x00000001068310a6 import_submodule + 278
>> [toto:93842] [ 6] 8 Python 0x0000000106830b88 load_next + 280
>> [toto:93842] [ 7] 9 Python 0x000000010682e72e PyImport_ImportModuleLevel + 654
>> [toto:93842] [ 8] 10 Python 0x000000010680ce37 builtin___import__ + 135
>> [toto:93842] [ 9] 11 Python 0x0000000106777ca3 PyObject_Call + 99
>> [toto:93842] [10] 12 Python 0x0000000106777e0b PyObject_CallFunction + 251
>> [toto:93842] [11] 13 Python 0x000000010682e380 PyImport_Import + 416
>> [toto:93842] [12] 14 _Epetra.so 0x0000000107d9714d init_Epetra + 5293
>> [toto:93842] [13] 15 Python 0x00000001068313bc _PyImport_LoadDynamicModule + 140
>> [toto:93842] [14] 16 Python 0x000000010682f9c1 imp_load_module + 289
>> [toto:93842] [15] 17 Python 0x0000000106816f16 PyEval_EvalFrameEx + 20486
>> [toto:93842] [16] 18 Python 0x00000001068197e2 fast_function + 194
>> [toto:93842] [17] 19 Python 0x00000001068150b5 PyEval_EvalFrameEx + 12709
>> [toto:93842] [18] 20 Python 0x0000000106811c9d PyEval_EvalCodeEx + 1725
>> [toto:93842] [19] 21 Python 0x00000001068115d6 PyEval_EvalCode + 54
>> [toto:93842] [20] 22 Python 0x000000010682d2dc PyImport_ExecCodeModuleEx + 236
>> [toto:93842] [21] 23 Python 0x000000010683048d load_source_module + 1069
>> [toto:93842] [22] 24 Python 0x00000001068310a6 import_submodule + 278
>> [toto:93842] [23] 25 Python 0x0000000106830e90 ensure_fromlist + 496
>> [toto:93842] [24] 26 Python 0x000000010682e7d6 PyImport_ImportModuleLevel + 822
>> [toto:93842] [25] 27 Python 0x000000010680ce37 builtin___import__ + 135
>> [toto:93842] [26] 28 Python 0x0000000106777ca3 PyObject_Call + 99
>> [toto:93842] [27] 29 Python 0x0000000106814af5 PyEval_EvalFrameEx + 11237
>> [toto:93842] [28] 30 Python 0x0000000106811c9d PyEval_EvalCodeEx + 1725
>> [toto:93842] [29] 31 Python 0x0000000106816a3f PyEval_EvalFrameEx + 19247
>> [toto:93842] *** End of error message ***
>> Segmentation fault: 11
>> toto:v11.12.1 rveltz$
>>
>>
>>
>> <script copy.sh>_______________________________________________
>> Trilinos-Users mailing list
>> Trilinos-Users at software.sandia.gov
>> https://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 **
>
Veltz Romain
Neuromathcomp Project Team
Inria Sophia Antipolis Méditerranée
2004 Route des Lucioles-BP 93
FR-06902 Sophia Antipolis
Tel: +33 4 92 38 76 90
http://www-sop.inria.fr/members/Romain.Veltz/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150220/62f3cfc3/attachment.html>
More information about the Trilinos-Users
mailing list