All,

How do you control whether PyFR runs entirely on CPUs or GPUs? What if you want 
to run using both? By specifying options within [backend-openmp] that point to 
a compiler and libraries other than nvcc and cuBlAS or NVBLAS, respectively, 
are you directing PyFR to run the simulation entirely on CPUs?

Also, in the latest changes merged into master, how do you point to your metis 
installation? I’ve taken a first attempt to partition a mesh with:

pyfr-mesh partition -p metis 4 naca_0012_2d.pyfrm .

only to get the following stack trace:

Traceback (most recent call last):
  File "/Users/zdavis/Applications/PyFR/pyfr/scripts/pyfr-mesh", line 117, in 
<module>
    main()
  File "/Users/zdavis/Applications/PyFR/pyfr/scripts/pyfr-mesh", line 113, in 
main
    args.process(args)
  File "/Users/zdavis/Applications/PyFR/pyfr/scripts/pyfr-mesh", line 47, in 
process_partition
    part = get_partitioner_by_name(args.partitioner, pwts, opts)
  File "/Users/zdavis/Applications/PyFR/pyfr/partitioners/__init__.py", line 
10, in get_partitioner_by_name
    return subclass_where(BasePartitioner, name=name)(*args, **kwargs)
  File "/Users/zdavis/Applications/PyFR/pyfr/partitioners/metis.py", line 139, 
in __init__
    self._wrappers = METISWrappers()
  File "/Users/zdavis/Applications/PyFR/pyfr/partitioners/metis.py", line 40, 
in __init__
    lib = load_library('metis')
  File "/Users/zdavis/Applications/PyFR/pyfr/ctypesutil.py", line 23, in 
load_library
    raise OSError('Unable to load {0}'.format(name))
OSError: Unable to load metis


Best Regards,


Zach Davis
                Rescale, Inc.
589 Howard Street, Ste. 2
San Francisco, CA 94105

[email protected]
P: (855) 737-2253

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to