Hi Mathi,

export PYFR_LIBRARY_PATH=(your CGNS library path)

Here is a thread about CGNS

https://groups.google.com/forum/#!topic/pyfrmailinglist/qp5r3nlsONQ

Cheers,

Niki


On 29/08/17 13:27, Ezhilmathi Krishnasamy wrote:
Hi,

I would like a test a small test case with 3D model using PyFR.
I am basically extending the cylinder model with 3D dimension.
And also instead of the cylinder I have put the sphere.

I have now with me .cgns tet mesh, but when I try to convert it,
I am getting following error.

(root) tegner-login-1$ pyfr import inc_cylinder_3d.cgns inc_cylinder_3d.pyfrm
Traceback (most recent call last):
File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/ctypesutil.py", line 32, in load_library File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libcgns.so: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/bin/pyfr", line 11, in <module>
    load_entry_point('pyfr==1.7.0', 'console_scripts', 'pyfr')()
File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/__main__.py", line 110, in main File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/__main__.py", line 121, in process_import File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/readers/__init__.py", line 19, in get_reader_by_extn File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/readers/cgns.py", line 374, in __init__ File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/readers/cgns.py", line 34, in __init__ File "/cfs/klemming/nobackup/g/gongjing/tegner/anacond3/4.4.0/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/ctypesutil.py", line 41, in load_library
OSError: Unable to load cgns


Could you please tell me what I am doing wrong.

Kind regards,
Mathi


--
You received this message because you are subscribed to the Google Groups "PyFR Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to