Python ucs-4/ucs-2 incompatibility

226 Views Asked by At

I got incompatibility issue trying to link my Python interpreter(compiled with UCS-4) with the local MPICH2 library(compiled with UCS-2). the error message is shown as below:

ImportError: /home/densitymatrix4/a/gu163/.local/lib/python2.7/site-packages/mpi4py/MPI.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8

I wonder if there are any ways to solve this problem other than re-installing a UCS-2 python interpreter(since I don't have administrative privilege of the server). Such as find a MPI library based on UCS-4 ?

Or does anyone have some suggestions regarding to the problem? Thanks a lot!

0

There are 0 best solutions below