Comments (3)
could you try running this command instead? DEVITO_COMPILER=clang mrun python 01_script_forward.py
from stride.
Thanks so much for the reply. I tried the above and got this new error message:
clang -O3 -g -fPIC -Wall -std=c99 -Wno-unused-result -Wno-unused-variable -ffast-math -fdenormal-fp-math=ieee -march=native -shared -fopenmp /var/folders/f5/8wnxq98j4yg3kcwdnr6wxv1w0000gn/T/devito-jitcache-uid501/dc7df019512a5358be14bf326a272c25af391f6a.c -lm -o /var/folders/f5/8wnxq98j4yg3kcwdnr6wxv1w0000gn/T/devito-jitcache-uid501/dc7df019512a5358be14bf326a272c25af391f6a.dylib
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
FAILED compiler invocation: clang -O3 -g -fPIC -Wall -std=c99 -Wno-unused-result -Wno-unused-variable -ffast-math -fdenormal-fp-math=ieee -march=native -shared -fopenmp /var/folders/f5/8wnxq98j4yg3kcwdnr6wxv1w0000gn/T/devito-jitcache-uid501/dc7df019512a5358be14bf326a272c25af391f6a.c -lm -o /var/folders/f5/8wnxq98j4yg3kcwdnr6wxv1w0000gn/T/devito-jitcache-uid501/dc7df019512a5358be14bf326a272c25af391f6a.dylib
I tried installing brew llvm (according to this post: https://stackoverflow.com/questions/60005176/how-to-deal-with-clang-error-unsupported-option-fopenmp-on-travis) but still got the same error as above
from stride.
Could you try running DEVITO_COMPILER=osx
instead?
This is related to the Devito compilation stack, so youβre probably going to get more insights there.
from stride.
Related Issues (15)
- Move reflection coefficient calculation to Boundary.damping()
- Add tutorial on the use of "parameter"
- Add an option to make stride less verbose
- Updates have broken IsoElasticDevito forward modelling HOT 2
- nvhpc compiler arch
- the outputs of simulating forward model HOT 2
- RuntimeError in homogeneous_acoustic/ forward_2D.py HOT 1
- Normalization of fft in fft.magnitude_spectrum HOT 2
- Example does not run HOT 1
- Breast3D example does not have model file HOT 1
- Poor inversion results when using linear transducers. HOT 1
- Unable to install stride HOT 1
- Unable to run stride docker on M2
- 07_script_running has error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stride.