LFortran issue with array variable in Fortran: kernel dead

Dear Fortran users and experts,

I installed LFortran as mentioned on the LFortran website using conda.

It seems to work for string, integer, and reals. But for the real array for size>1, there seems some issue. The Jupyter kernel is dead when I execute the cell containing the real array.

Specifically, the following set of statements leads to


dead kernel:

real :: a(3) a = [2.,23.,4.] print *, a

For clarity, I am attaching a screenshot.

PS: thank you all for your efforts to bring Fortran to the limelight.

Welcome to the forum. I think the problem is due to LFortran not yet implementing array constructors, as mentioned here.

Thank you for the information!!