No module named esys.lsm

Asked by Bin Cheng

Hello, I tried to install ESyS-Particle-2.3.1 on super computer.

I have successfully installed all the required dependencies and ESyS-Paticle according to the ESyS-Particle Build and Installation Notes. But when I tried to test the build, I got the following error message :

>>> from esys.lsm import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named esys.lsm

I have added the ESyS-Particle installation paths to environment variables as noted in Build and Installation Notes:

export PATH=/WORK/pp345/ESyS-Particle/BUILD/esys-particle/install/bin:$PATH
export LD_LIBRARY_PATH=/WORK/pp345/ESyS-Particle/BUILD/esys-particle/install/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=/WORK/pp345ESyS-Particle/BUILD/esys-particle/install/lib:$LIBRARY_PATH
export PYTHONPATH=/WORK/pp345/ESyS-Particle/BUILD/esys-particle/install/lib/python2.6/site-pachages/:$PYTHONPATH

Additionally, I did find the folders named esys and lsm in ../python2.6/site-packages/...

Would you give me some suggestions on what my problem is?

Best Regards,

Bin

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Bin Cheng
Solved:
Last query:
Last reply:
Revision history for this message
Bin Cheng (bincheng) said :
#1

Ok, I have reinstalled ESyS-Particle-2.3.2 and succeed.

But, when I tried to run the first code, I got the following error message.

[pp345@ln1%tianhe2-C bin]$ mpirun -np 2 `which esysparticle` bingle.py
_create_ep, create command failed: Operation not permitted
GLEX_ERR(ln1): _init_glex(608), _create_ep: system error
_create_ep, create command failed: Operation not permitted
GLEX_ERR(ln1): _init_glex(608), _create_ep: system error
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(498)........:
MPID_Init(187)...............: channel initialization failed
MPIDI_CH3_Init(89)...........:
MPID_nem_init(320)...........:
MPID_nem_glex_init(74).......:
MPIDI_nem_glex_init_glex(610): Cannot create GLEX endpoint.
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(498)........:
MPID_Init(187)...............: channel initialization failed
MPIDI_CH3_Init(89)...........:
MPID_nem_init(320)...........:
MPID_nem_glex_init(74).......:
MPIDI_nem_glex_init_glex(610): Cannot create GLEX endpoint.
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 31745 RUNNING AT ln1
= EXIT CODE: 1
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================

Would you give me some suggestions on what my problem is?

Best Regards,

Bin

Revision history for this message
Bin Cheng (bincheng) said :
#2

Rerun the Path command, and the problem is solved.

export PATH=/WORK/pp345/ESyS-Particle/BUILD/esys-particle/install/bin:$PATH
export LD_LIBRARY_PATH=/WORK/pp345/ESyS-Particle/BUILD/esys-particle/install/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=/WORK/pp345ESyS-Particle/BUILD/esys-particle/install/lib:$LIBRARY_PATH
export PYTHONPATH=/WORK/pp345/ESyS-Particle/BUILD/esys-particle/install/lib/python2.6/site-packages/:$PYTHONPATH

Revision history for this message
RODOLFO JAVIER TALAVERA (rodolfo1995) said :
#3

Bin Cheng (bincheng)

Write this into terminal?