Dear all,
I've been successfully running PyFR 1.6.0 on Ubuntu 16.04 but when I try to
run PyFR 1.6.0 on a MacBook Pro with Sierra 10.12.4 I get an error which I
have pasted below.
I came across a similar issue on this mailing list that suggested
installing clang-omp with brew, but it appears the clang-omp package no
longer exists. It seems to have been replaced by llvm but I think I am
having trouble installing it properly as I get the same error as before.
Has anybody else come across this problem? Any help would be greatly
appreciated.
Kind regards,
Tom
Traceback (most recent call last):
File "/Users/tomgoode/VirtualEnvs/pyfr_env/bin/pyfr", line 11, in <module>
load_entry_point('pyfr==1.6.0', 'console_scripts', 'pyfr')()
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/__main__.py",
line 110, in main
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/__main__.py",
line 235, in process_run
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/__main__.py",
line 216, in _process_common
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/solvers/__init__.py",
line 16, in get_solver
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/integrators/__init__.py",
line 43, in get_integrator
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/integrators/std/controllers.py",
line 14, in __init__
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/integrators/std/steppers.py",
line 8, in __init__
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/integrators/std/base.py",
line 12, in __init__
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/integrators/base.py",
line 59, in __init__
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/solvers/base/system.py",
line 65, in __init__
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/solvers/base/system.py",
line 174, in _gen_kernels
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/solvers/baseadvec/elements.py",
line 80, in <lambda>
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/backends/base/backend.py",
line 166, in kernel
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/backends/openmp/gimmik.py",
line 34, in mul
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/util.py",
line 35, in __call__
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/backends/openmp/provider.py",
line 13, in _build_kernel
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pyfr-1.6.0-py3.5.egg/pyfr/backends/openmp/compiler.py",
line 58, in __init__
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pytools/prefork.py",
line 223, in call_capture_output
return forker.call_capture_output(cmdline, cwd, error_on_nonzero)
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pytools/prefork.py",
line 180, in call_capture_output
error_on_nonzero)
File
"/Users/tomgoode/VirtualEnvs/pyfr_env/lib/python3.5/site-packages/pytools/prefork.py",
line 162, in _remote_invoke
raise result
pytools.prefork.ExecError: error invoking 'cc -shared -std=c99 -Ofast
-march=native -fopenmp -fPIC -o libtmp.dylib tmp.c -lm': status 1 invoking
'cc -shared -std=c99 -Ofast -march=native -fopenmp -fPIC -o libtmp.dylib
tmp.c -lm': b"clang: error: unsupported option '-fopenmp'\nclang: error:
unsupported option '-fopenmp'\n"
--
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.