Hi Emre,

Thanks for your interest in PyFR.

configparser.NoOptionError: No option 'cblas' in section: 'backend-openmp’

Seems like you have not set cblas in the ini file (as per the User Guide 
http://www.pyfr.org/user_guide.php)

Cheers

Peter

Dr Peter Vincent MSci ARCS DIC PhD
Senior Lecturer and EPSRC Early Career Fellow
Department of Aeronautics
Imperial College London
South Kensington
London
SW7 2AZ
UK

web: 
www.imperial.ac.uk/aeronautics/research/vincentlab<http://www.imperial.ac.uk/aeronautics/research/vincentlab>
twitter: @Vincent_Lab<https://twitter.com/Vincent_Lab>





On 30 Mar 2016, at 17:49, emre 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

I am a newbie to Linux and to PyFr. I have to work on a virtual machine for the 
moment. And for the time being I try to use PyFR with OpenMp but no chance so 
far. This is the error I get:

 /Documents/examples/couette_flow_2d$ sudo pyfr run -b openmp -p 
couette_flow_2d.pyfrm couette_flow_2d.ini

Traceback (most recent call last):
  File "/usr/lib/python3.4/configparser.py", line 762, in get
    value = d[option]
  File "/usr/lib/python3.4/collections/__init__.py", line 814, in __getitem__
    return self.__missing__(key)            # support subclasses that define 
__missing__
  File "/usr/lib/python3.4/collections/__init__.py", line 806, in __missing__
    raise KeyError(key)
KeyError: 'cblas'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/pyfr", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.4/dist-packages/pyfr/scripts/main.py", line 109, 
in main
    args.process(args)
  File "/usr/local/lib/python3.4/dist-packages/pyfr/scripts/main.py", line 230, 
in process_run
    args, NativeReader(args.mesh), None, Inifile.load(args.cfg)
  File "/usr/local/lib/python3.4/dist-packages/pyfr/scripts/main.py", line 208, 
in _process_common
    backend = get_backend(args.backend, cfg)
  File "/usr/local/lib/python3.4/dist-packages/pyfr/backends/__init__.py", line 
11, in get_backend
    return subclass_where(BaseBackend, name=name.lower())(cfg)
  File "/usr/local/lib/python3.4/dist-packages/pyfr/backends/openmp/base.py", 
line 43, in __init__
    self._providers = [k(self) for k in kprovcls]
  File "/usr/local/lib/python3.4/dist-packages/pyfr/backends/openmp/base.py", 
line 43, in <listcomp>
    self._providers = [k(self) for k in kprovcls]
  File "/usr/local/lib/python3.4/dist-packages/pyfr/backends/openmp/cblas.py", 
line 53, in __init__
    libname = backend.cfg.getpath('backend-openmp', 'cblas', abs=False)
  File "/usr/local/lib/python3.4/dist-packages/pyfr/inifile.py", line 66, in 
getpath
    path = self.get(section, option, default, vars)
  File "/usr/local/lib/python3.4/dist-packages/pyfr/inifile.py", line 49, in get
    val = self._cp.get(section, option, vars=vars)
  File "/usr/lib/python3.4/configparser.py", line 765, in get
    raise NoOptionError(option, section)
configparser.NoOptionError: No option 'cblas' in section: 'backend-openmp'

Could you tell me what is wrong please? I installed OpenBlas and changed the 
numpy site config file accordingly.

Additionally, I have been trying to find the best way to use PyFR for the last 
couple of days.

At school, I have access to a  PC with a quadro 600 GPU (just single precision, 
CUDA 2.0) but I cannot install Linux. So I have to use the virtual machine with 
which I cannot use the GPU. At home I do not have a compute GPU. So I have to 
use OpenMp on a Windows machine. I installed Anaconda and Visual Studio  Python 
tools. I would appreciate any suggestions about how I can install OpenMP to 
Win64. If I can succesfully run the examples on my home PC, I will try the same 
approach at the school on multi-cpu.

Thanks,

I wish you all a nice day,

Cheers,

Emre

--
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