Giter Club home page Giter Club logo

Comments (9)

kkaryos avatar kkaryos commented on June 22, 2024 1

Yes, I have managed to make it work with arrays , but it's not really appropriate for my application (this is just a minimal reproducible example for the error).
Ah, I see. Then we will have to wait until that bug report is resolved :(.
It's ok , thanks for your help

The kernel restarts running the last cell (In[5]).

Do you know which kernel you are running? xeus-cling, xeus-cpp?
xeus-cling, but I don't think this is the problem because I also get errors when running it in vscode with clad "Built from source".

Can you submit a bug report for the crash if it happens in xeus-cpp or via the static compiler?

Yes, I will ...

from clad.

vgvassilev avatar vgvassilev commented on June 22, 2024

This worked for me:

image

Perhaps the problem is the jupyter kernel somehow?

Can you take a look at our binder service here: https://mybinder.org/v2/gh/vgvassilev/clad/master?labpath=%2Fdemos%2FJupyter%2FIntro.ipynb

from clad.

kkaryos avatar kkaryos commented on June 22, 2024

Thank you very much!
The problem seams to be with the use of vectors.I have noticed that when there is a vector in any form in the function, it crashes, even when I am just accessing an element of the vector. The same does not happen with arrays...

Capture d’écran du 2024-05-22 09-41-40
Capture d’écran du 2024-05-22 09-42-01

from clad.

kkaryos avatar kkaryos commented on June 22, 2024

Also the kernel restart on it's own:
Capture d’écran du 2024-05-22 16-18-34

from clad.

vgvassilev avatar vgvassilev commented on June 22, 2024

Perhaps you are hitting #750. Can you use a fixed-size array in your example until the issue is fixed?

Also, in what context the kernel is automatically restarted?

from clad.

kkaryos avatar kkaryos commented on June 22, 2024

Yes, I have managed to make it work with arrays , but it's not really appropriate for my application (this is just a minimal reproducible example for the error).
The kernel restarts running the last cell (In[5]).

from clad.

vgvassilev avatar vgvassilev commented on June 22, 2024

Yes, I have managed to make it work with arrays , but it's not really appropriate for my application (this is just a minimal reproducible example for the error).

Ah, I see. Then we will have to wait until that bug report is resolved :(.

The kernel restarts running the last cell (In[5]).

Do you know which kernel you are running? xeus-cling, xeus-cpp?

from clad.

kkaryos avatar kkaryos commented on June 22, 2024

Yes, I have managed to make it work with arrays , but it's not really appropriate for my application (this is just a minimal reproducible example for the error).

Ah, I see. Then we will have to wait until that bug report is resolved :(.
It's ok , thanks for your help

The kernel restarts running the last cell (In[5]).

Do you know which kernel you are running? xeus-cling, xeus-cpp?
xeus-cling, but I don't think this is the problem because I also get errors when running it in vscode with clad "Built from source".

from clad.

vgvassilev avatar vgvassilev commented on June 22, 2024

Yes, I have managed to make it work with arrays , but it's not really appropriate for my application (this is just a minimal reproducible example for the error).
Ah, I see. Then we will have to wait until that bug report is resolved :(.
It's ok , thanks for your help

The kernel restarts running the last cell (In[5]).

Do you know which kernel you are running? xeus-cling, xeus-cpp?
xeus-cling, but I don't think this is the problem because I also get errors when running it in vscode with clad "Built from source".

Can you submit a bug report for the crash if it happens in xeus-cpp or via the static compiler?

from clad.

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.