Ondřej Čertík
Ondřej Čertík
Here are some baseline benchmarks. I used the lf5 branch, commit 995bffd104013fad37aca8c10ee916b8b4044cb2. ```diff --- a/src/input.f90 +++ b/src/input.f90 @@ -76,11 +76,11 @@ MODULE input_module nthreads=2 nnested=1 ndimen=3 - nx=6 + nx=40...
``` In file included from /Users/runner/miniforge3/conda-bld/lfortran_1724523055055/work/src/libasr/pass/implied_do_loops.cpp:8: In file included from /Users/runner/miniforge3/conda-bld/lfortran_1724523055055/work/src/libasr/../libasr/pass/intrinsic_function_registry.h:4: In file included from /Users/runner/miniforge3/conda-bld/lfortran_1724523055055/work/src/libasr/../libasr/pass/intrinsic_function_registry_util.h:4: /Users/runner/miniforge3/conda-bld/lfortran_1724523055055/work/src/libasr/../libasr/pass/intrinsic_functions.h:2111:86: warning: implicit conversion from 'type' (aka 'long long') to 'double' changes value from...
```f90 program linked_read_1 ! by Ron Shepard 3 Oct 2023 implicit none type list_member_type integer :: i ! value type(list_member_type), allocatable :: prev end type list_member_type type(list_member_type), allocatable :: list,...
See https://github.com/lfortran/lfortran/pull/4665#discussion_r1722128245. This would still be a workaround, the final fix should be to not reference the symbol table at all. But in case we needed to fix another bug...
Here is another good code to try to compile: https://github.com/predsci/HipFT/blob/25c2a9c5be190b9c7e97803763ac20f5378804f2/src/hipft.f90 It's about 10,000 lines, single file. Doesn't use too many advanced features, and on a brief test the LFortran issues...
```fortran program test_random implicit none call rand() contains subroutine rand() real :: u call random_number(u) end subroutine end program ``` This produces: ```console $ lfortran d.f90 Segmentation fault ``` If...
I compiled LFortran with the following script: ```bash #!/usr/bin/env bash set -e set -x cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_FLAGS_RELEASE="-Wall -Wextra -O3 -march=native -ffast-math -funroll-loops -DNDEBUG" \ -DWITH_LLVM=yes \ -DLFORTRAN_BUILD_ALL=yes \...
I don't have enough experience to know yet, but as a user I want the compiler to help me, by default. For example, if we decide that it is a...
```console ~/repos/gui(master)$ pixi r build ✨ Pixi task (build): cmake -DCMAKE_BUILD_TYPE=Debug -B build && cd build && make ⠉ validate cache [00:00:11] [━━━━━━━━━━━━━━━━╾───] python (+8) ⠒ download & extract [00:00:11]...
In `shell`: ```console ~/repos/pixi(main)$ where pixi C:\Users\ondrejcertik\.pixi\bin\pixi.exe ~/repos/pixi(main)$ pixi self-update × pixi is not installed in the default location: │ │ - Default pixi location: C:\Users\ondrejcertik\.pixi\bin\pixi.exe │ - Pixi location...