Giter Site home page Giter Site logo

Segmentation fault about asl HOT 5 CLOSED

avtechscientific avatar avtechscientific commented on July 30, 2024
Segmentation fault

from asl.

Comments (5)

AvtechScientific avatar AvtechScientific commented on July 30, 2024

Hi @markmal,

the issue you are facing doesn't seem to be an ASL bug.

  1. try to use ASL Ubuntu package: http://packages.ubuntu.com/xenial/libasl-dev
  2. Make sure the problem is not in your OpenCL driver (try ASL on another device). Intel's driver had some issues in the past: https://github.com/AvtechScientific/ASL/wiki/Deployment

All the best!

from asl.

markmal avatar markmal commented on July 30, 2024

Thanks!
It looks like it is Intel driver issue. All works fine with Beignet. If only intel-beignet-x86_64-linux-gnu.icd in /etc/OpenCL/vendors.
Placing Intel 14.2 icd there causes seg fault.

Beignet calculates flow/locomotive example more than 2 hours. I am not sure if it is normal.

What Intel driver would you recommend?
On Intel page I see multiple drivers: Intel intel-opencl-r3.0 (SRB3), intel-opencl-2.0-2.0 driver for Linux, OpenCL™ Runtime 16.1.1 (just CPU).
Please advice.

from asl.

AvtechScientific avatar AvtechScientific commented on July 30, 2024

Beignet calculates flow/locomotive example more than 2 hours. I am not sure if it is normal.

Default parameters have high resolution and are tuned towards GPUs. Try to reduce the resolution by increasing 'dx'.

What Intel driver would you recommend?

Once the issue was discovered - we have offered our assistance to Intel in fixing that bug, but have faced little interest on their part. We don't use their hardware so we can't recommend any particular driver. If you manage to solve this problem by substituting the driver by another one, please, let other users know, through this wiki-page: https://github.com/AvtechScientific/ASL/wiki/Deployment .

Thank you!

from asl.

markmal avatar markmal commented on July 30, 2024

Default parameters have high resolution and are tuned towards GPUs. Try to reduce the resolution by increasing 'dx'.

It is ok. I was just wandering, if this is normal for Intel GPU (that has just 16 graphical cores).

I am not sure if I will try Intel drivers because they require to patch and rebuild kernel. I do not think it make sense for the little built in Intel HD card.
I better consider a real graphic card like NVidia or Radeon.
I hope their drivers are good?

Thanks!

from asl.

AvtechScientific avatar AvtechScientific commented on July 30, 2024

Yes, Nvidia and AMD drivers are much better. With regards which one of them to take see our benchmarks for Nvidia:

http://asl.org.il/benchmarks/multicomponent_flow/#computation-times

If you need benchmarks for modern high-end AMD graphic cards - email us and we will provide you with relevant contacts inside of AMD who might provide this data. Some AMD cards might demonstrate even better performance than that mentioned above.

from asl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.