WallLoaderRunnable
Dear,
As a new user of Esys, I tryed the following script (named test.py):
from esys.lsm import *
from esys.lsm.util import *
from esys.lsm.geometry import *
from WallLoader import WallLoaderRunnable
Then, after I ran this script:
mpirun -np 2 esysparticle test.py
And I got the following error:
Traceback (most recent call last):
File "test.py", line 4, in <module>
from WallLoader import WallLoaderRunnable
ImportError: No module named WallLoader
I use ESyS-Particle-
Do you know where the problem come from ?
Best regards,
Romain
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2017-07-10
- Last reply:
- 2017-07-10
Dion Weatherley (d-weatherley) said : | #1 |
Hi Romain,
The problem is that python cannot find a file called WallLoader.py. This file is described in the Tutorial and defines a Runnable for moving planar walls in ESyS-Particle simulations. It is not part of the base install of ESyS-Particle so you will need to copy this from the Tutorial.
Alternatively, simply remove the line "from WallLoader import WallLoaderRunnable" from your test script.
Cheers,
Dion
Can you help with this problem?
Provide an answer of your own, or ask Romain for more information if necessary.