user law non available

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Christine Leroy

user law non available

Post by Christine Leroy »

hello,
 
In the fluid properties panel, I can't choose tu user law option. I've seen on the forum that this depends on the mei module. But as it seems to be quite specific from a computer to another and don't want to make mistakes, I will try to give you as much information as I can about my configuration.
If I launch python and try to import mei :
[root@mediceo6NB SRC]# python
Python 2.6.2 (r262:71600, Jun  4 2010, 18:28:58)
[GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mei
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named mei
>>>
 
The mei.so or mei.py are in the following directories:
 
[root@mediceo6NB SRC]# locate mei.so
/home/leroy/software/saturne/cs-203/lib/libmei.so
/home/leroy/software/saturne/cs-203/lib/libmei.so.0
/home/leroy/software/saturne/cs-203/lib/libmei.so.0.0.0
/home/leroy/software/saturne/cs-203/lib64/python2.6/site-packages/mei/_mei.so
/home/leroy/software/saturne/cs-203/lib64/python2.6/site-packages/mei/_mei.so.0
/home/leroy/software/saturne/cs-203/lib64/python2.6/site-packages/mei/_mei.so.0.0.0 [root@mediceo6NB SRC]# locate mei.py
/home/leroy/SATURNE_src/mei-1.0.3/swig/mei.py
/home/leroy/SATURNE_src/mei-1.0.3.build/swig/mei.py
/home/leroy/software/saturne/cs-203/lib/python2.6/site-packages/mei/mei.py
/home/leroy/software/saturne/cs-203/lib/python2.6/site-packages/mei/mei.pyc
/home/leroy/software/saturne/cs-203/lib/python2.6/site-packages/mei/mei.pyo
 
Any idea of what I should do?
 
PS: when compiling mei, everything was ok.
 
installation of MEI:
-------------------
cd ..  (back to SATURNE_src directory)
unzip mei-103.zip
mkdir mei-1.0.3.build
cd mei-1.0.3.build
../mei-1.0.3/configure --prefix=/home/leroy/software/saturne/cs-203 --with-bft=/home/leroy/software/saturne/cs-203  --with-python_exec=/usr/bin --with-swig_exec=/usr/bin (/usr/bin per Python is specific to the configuration of my pc)  ok

make ok
make install ok

during make install, following messages :
Libraries have been installed in: /home/leroy/software/saturne/cs-203/lib
Libraries have been installed in: /home/leroy/software/saturne/cs-203/lib64/python2.6/site-packages/mei

make clean ok

Thank you very much by advance.

Christine
Post Reply