You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restore the declaration of pivot and info variables, which were removed in the PR. These are necessary for the dgesv LAPACK solver call and their absence will cause a compilation error.
real(dp) :: fvec(n), fjac(n,n), jinv(n,n)
+integer :: pivot(n), info
[To ensure code accuracy, apply this suggestion manually]
Suggestion importance[1-10]: 9
__
Why: The PR incorrectly removed the pivot and info variable declarations, which are required by the dgesv LAPACK routine, causing a compilation error. This suggestion correctly restores them.
High
Remove dead code from loop
Remove the unreachable cut detection logic from the initialization loop in advance_to_cut. The condition if(i.gt.nplagr ...) is always false within this loop, making the code dead.
do i = 1, nplagr
call tstep(si, f, z, ierr)
if (ierr.ne.0) exit
self%par_inv = self%par_inv + z(5)**2 ! parallel adiabatic invariant
self%orb_sten(1:5, i) = z
self%orb_sten(6, i) = self%par_inv
!-------------------------------------------------------------------------
- ! Tip detection and interpolation-+ ! Tip detection
if(self%alam_prev.lt.0.d0.and.z(5).gt.0.d0) then
self%itip=0 !<=tip has been passed
end if
self%itip=self%itip+1
self%alam_prev=z(5)
-- !<=use only initialized stencil- if(i.gt.nplagr .and. self%itip.eq.nplagr/2) then- cut_type = 0- call plag_coeff(nplagr, nder, 0d0, self%orb_sten(5, self%ipoi), &- self%coef)- var_cut = matmul(self%orb_sten(:, self%ipoi), self%coef(0,:))- var_cut(2) = modulo(var_cut(2), twopi)- var_cut(3) = modulo(var_cut(3), twopi)- self%par_inv = self%par_inv - var_cut(6)- return- end if-- ! End tip detection and interpolation+ ! End tip detection
!-------------------------------------------------------------------------
- ! Periodic boundary footprint detection and interpolation-+ ! Periodic boundary footprint detection
if(z(3).gt.dble(self%kper+1)*self%fper) then
self%iper=0 !<=periodic boundary has been passed
phiper=dble(self%kper+1)*self%fper
self%kper=self%kper+1
elseif(z(3).lt.dble(self%kper)*self%fper) then
self%iper=0 !<=periodic boundary has been passed
phiper=dble(self%kper)*self%fper
self%kper=self%kper-1
endif
self%iper=self%iper+1
-- !<=use only initialized stencil- if(i.gt.nplagr .and. self%iper.eq.nplagr/2) then- cut_type = 1- !<=stencil around periodic boundary is complete, interpolate- call plag_coeff(nplagr, nder, 0d0, self%orb_sten(3, self%ipoi) - &- phiper, self%coef)- var_cut = matmul(self%orb_sten(:, self%ipoi), self%coef(0,:))- var_cut(2) = modulo(var_cut(2), twopi)- var_cut(3) = modulo(var_cut(3), twopi)- return- end if-- ! End periodic boundary footprint detection and interpolation+ ! End periodic boundary footprint detection
!-------------------------------------------------------------------------
- end do+ end do
Apply / Chat
Suggestion importance[1-10]: 7
__
Why: The suggestion correctly identifies dead code within the first do loop, where the condition i.gt.nplagr can never be met, making the enclosed logic unreachable.
Medium
General
Use tolerance for zero check
Replace the direct comparison of floating-point values with zero with a check against a small tolerance (e.g., 1.0e-12_dp) for robustness.
Why: The suggestion correctly points out that comparing floating-point numbers directly to zero is fragile and recommends using a small tolerance, which is a standard best practice.
Failed test name: test_chartmap_ncsx_map2disc_wall_offset
Failure summary:
The action failed during the CTest phase because 1 out of 47 tests failed: - test_chartmap_ncsx_map2disc_wall_offset (shown as test #4) failed with an assertion/tolerance check:
chartmap wall deviates from buffered VMEC boundary: max_to_buffer=6.801169e-03 m (tol 1.000000e-03) at phi=0.253866 This caused ctest to return a non-zero exit status (Errors while running CTest), which then made the make test-fast target fail (Makefile:47: test-fast), and the GitHub Action step exited with code 2 (Process completed with exit code 2).
Relevant error logs:
1: Runner name: 'debian'2: Runner group name: 'default'
...
25: ssh-user: git26: persist-credentials: true27: clean: true28: sparse-checkout-cone-mode: true29: fetch-tags: false30: show-progress: true31: lfs: false32: submodules: false33: set-safe-directory: true34: env:35: LIBNEO_BRANCH: feature/fpm-bind36: ##[endgroup]37: Syncing repository: itpplasma/SIMPLE38: ##[group]Getting Git version info39: Working directory is '/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE'40: Unexpected error attempting to determine if executable file exists '/home/ert/.npm-global/bin/git': Error: EACCES: permission denied, stat '/home/ert/.npm-global/bin/git'41: Unexpected error attempting to determine if executable file exists '/home/ert/code/.venv/bin/git': Error: EACCES: permission denied, stat '/home/ert/code/.venv/bin/git'42: Unexpected error attempting to determine if executable file exists '/home/ert/code/scripts/git': Error: EACCES: permission denied, stat '/home/ert/code/scripts/git'43: [command]/usr/bin/git version
...
433: [78/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_colors.f90-pp.f90434: [79/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_constants.f90-pp.f90435: [80/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_context.f90-pp.f90436: [81/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_ci_performance_monitor.f90-pp.f90437: [82/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_contour_algorithms.f90-pp.f90438: [83/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_constants.f90-pp.f90439: [84/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_examples.f90-pp.f90440: [85/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_colormap.f90-pp.f90441: [86/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_contour_regions.f90-pp.f90442: [87/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_files.f90-pp.f90443: [88/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_processor.f90-pp.f90444: [89/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_media.f90-pp.f90445: [90/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_text.f90-pp.f90446: [91/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_coordinate_validation.f90-pp.f90447: [92/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_paths.f90-pp.f90448: [93/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_errors.f90-pp.f90449: [94/957] Building Fortran preprocessed _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_output.f90-pp.f90
...
596: [241/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/libneo_kinds.f90.o597: [242/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/coordinates/libneo_coordinate_conventions.f90.o598: [243/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/canonical_coordinates_mod.f90.o599: [244/957] Building Fortran preprocessed src/CMakeFiles/simple.dir/diag/diag_albert.f90-pp.f90600: [245/957] Building Fortran object _deps/libneo-build/src/contrib/CMakeFiles/CONTRIB.dir/minpack_interfaces.f90.o601: [246/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_constants.f90.o602: [247/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_animation_constants.f90.o603: [248/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_constants.f90.o604: [249/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/coordinates/cylindrical_cartesian.f90.o605: [250/957] Building C object _deps/libneo-build/CMakeFiles/neo.dir/src/local_rusage.c.o606: [251/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/math_constants.f90.o607: [252/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/binsrc.f90.o608: [253/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/coordinates/libneo_coordinates_base.f90.o609: [254/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_contour_algorithms.f90.o610: [255/957] Building Fortran object _deps/libneo-build/CMakeFiles/neo.dir/src/rusage_type.f90.o611: [256/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_errors.f90.o612: [257/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_bmp.f90.o
...
772: 16 | subroutine text(x, y, text_content, coord_type, font_size, rotation, alignment, has_bbox, ha)773: | 1774: Warning: Unused dummy argument ‘y’ at (1) [-Wunused-dummy-argument]775: [288/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_system_secure.f90.o776: [289/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_utils_sort.f90.o777: [290/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_doc_source.f90.o778: [291/957] Building Fortran object _deps/libneo-build/src/field/CMakeFiles/neo_field.dir/biotsavart_field.f90.o779: [292/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_testing.f90.o780: [293/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_streamline_placement.f90.o781: [294/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_streamline_integrator.f90.o782: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_streamline_integrator.f90:80:29:783: 80 | real(wp) :: tolerance, h_new784: | 1785: Warning: Unused variable ‘tolerance’ declared at (1) [-Wunused-variable]786: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_streamline_integrator.f90:77:37:787: 77 | real(wp) :: x, y, t, h, x_new, y_new, error_est788: | 1789: Warning: Unused variable ‘x_new’ declared at (1) [-Wunused-variable]790: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_streamline_integrator.f90:77:44:791: 77 | real(wp) :: x, y, t, h, x_new, y_new, error_est792: | 1
...
1041: [370/957] Building Fortran preprocessed _deps/libneo-build/src/efit_to_boozer/CMakeFiles/efit_to_boozer.dir/spline_and_interpolate_magdata.f90-pp.f901042: [371/957] Generating Fortran dyndep file _deps/libneo-build/CMakeFiles/vmec_to_chartmap.x.dir/Fortran.dd1043: [372/957] Building Fortran preprocessed _deps/libneo-build/src/efit_to_boozer/CMakeFiles/efit_to_boozer.dir/rhs.f90-pp.f901044: [373/957] Building Fortran object src/CMakeFiles/simple.dir/timing.f90.o1045: [374/957] Building Fortran object src/CMakeFiles/simple.dir/field/field_can_test.f90.o1046: [375/957] Building Fortran preprocessed _deps/libneo-build/src/species/CMakeFiles/species.dir/species.f90-pp.f901047: [376/957] Building Fortran object _deps/libneo-build/src/magfie/CMakeFiles/magfie.dir/amn_mod.f90.o1048: [377/957] Building Fortran object _deps/libneo-build/src/magfie/CMakeFiles/magfie.dir/bdivfree_mod.f90.o1049: [378/957] Building Fortran object _deps/libneo-build/src/magfie/CMakeFiles/magfie.dir/theta_rz_mod.f90.o1050: [379/957] Building Fortran object _deps/libneo-build/src/magfie/CMakeFiles/magfie.dir/extract_fluxcoord_mod.f90.o1051: [380/957] Building Fortran object _deps/libneo-build/src/magfie/CMakeFiles/magfie.dir/inthecore_mod.f90.o1052: [381/957] Building Fortran object _deps/libneo-build/src/magfie/CMakeFiles/magfie.dir/period_mod.f90.o1053: [382/957] Building Fortran object src/CMakeFiles/simple.dir/collis_alphas.f90.o1054: [383/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_streamplot_matplotlib.f90.o1055: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_streamplot_matplotlib.f90:257:16:1056: 257 | if (error == 0.0_wp) then1057: | 1
...
2286: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_io.f90:126:36:2287: 126 | subroutine savefig(filename, dpi, transparent, bbox_inches)2288: | 12289: Warning: Unused dummy argument ‘dpi’ at (1) [-Wunused-dummy-argument]2290: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_io.f90:126:49:2291: 126 | subroutine savefig(filename, dpi, transparent, bbox_inches)2292: | 12293: Warning: Unused dummy argument ‘transparent’ at (1) [-Wunused-dummy-argument]2294: [673/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_animation_pipeline.f90.o2295: [674/957] Building Fortran object _deps/fortplot-build/CMakeFiles/fortplot.dir/src/fortplot_matplotlib_plotting.f90.o2296: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:333:59:2297: 333 | subroutine add_3d_plot(x, y, z, label, linestyle, color, linewidth, marker, markersize)2298: | 12299: Warning: Unused dummy argument ‘color’ at (1) [-Wunused-dummy-argument]2300: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:259:91:2301: 259 | subroutine add_errorbar(x, y, xerr, yerr, fmt, label, capsize, linestyle, marker, color)2302: | 1
...
2358: | 12359: Warning: Unused variable ‘i’ declared at (1) [-Wunused-variable]2360: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:54:57:2361: 54 | subroutine bar(x, height, width, bottom, label, color, edgecolor, align)2362: | 12363: Warning: Unused dummy argument ‘color’ at (1) [-Wunused-dummy-argument]2364: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:54:68:2365: 54 | subroutine bar(x, height, width, bottom, label, color, edgecolor, align)2366: | 12367: Warning: Unused dummy argument ‘edgecolor’ at (1) [-Wunused-dummy-argument]2368: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:65:20:2369: 65 | integer :: i2370: | 12371: Warning: Unused variable ‘i’ declared at (1) [-Wunused-variable]2372: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:41:61:2373: 41 | subroutine errorbar(x, y, xerr, yerr, fmt, label, capsize, linestyle, marker, color)2374: | 12375: Warning: Unused dummy argument ‘capsize’ at (1) [-Wunused-dummy-argument]2376: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:41:87:2377: 41 | subroutine errorbar(x, y, xerr, yerr, fmt, label, capsize, linestyle, marker, color)2378: | 12379: Warning: Unused dummy argument ‘color’ at (1) [-Wunused-dummy-argument]2380: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:41:45:2381: 41 | subroutine errorbar(x, y, xerr, yerr, fmt, label, capsize, linestyle, marker, color)2382: | 12383: Warning: Unused dummy argument ‘fmt’ at (1) [-Wunused-dummy-argument]2384: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:41:80:2385: 41 | subroutine errorbar(x, y, xerr, yerr, fmt, label, capsize, linestyle, marker, color)2386: | 12387: Warning: Unused dummy argument ‘marker’ at (1) [-Wunused-dummy-argument]2388: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:41:34:2389: 41 | subroutine errorbar(x, y, xerr, yerr, fmt, label, capsize, linestyle, marker, color)2390: | 12391: Warning: Unused dummy argument ‘xerr’ at (1) [-Wunused-dummy-argument]2392: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/fortplot-src/src/fortplot_matplotlib_plotting.f90:41:40:2393: 41 | subroutine errorbar(x, y, xerr, yerr, fmt, label, capsize, linestyle, marker, color)2394: | 1
...
2769: Constructing wrapper function "f2py_vmec_wrappers.vmec_field_wrapper"...2770: a_theta,a_phi,da_theta_ds,da_phi_ds,aiota,sqg,alam,dl_ds,dl_dt,dl_dp,bctrvr_vartheta,bctrvr_varphi,bcovar_s,bcovar_vartheta,bcovar_varphi = vmec_field_wrapper(s,theta,varphi)2771: Constructing wrapper function "f2py_vmec_wrappers.vmec_field_cylindrical_wrapper"...2772: br,bphi,bz,bmag = vmec_field_cylindrical_wrapper(s,theta,varphi)2773: Wrote C/API module "_magfie" to file "./_magfiemodule.c"2774: Fortran 90 wrappers are saved to "./_magfie-f2pywrappers2.f90"2775: [729/957] Building Fortran preprocessed _deps/libneo-build/CMakeFiles/_magfie.dir/src/f2py_interfaces/f2py_vmec_support.f90-pp.f902776: [730/957] Building Fortran preprocessed _deps/libneo-build/CMakeFiles/_magfie.dir/_magfie-f2pywrappers2.f90-pp.f902777: [731/957] Building Fortran preprocessed _deps/libneo-build/CMakeFiles/_magfie.dir/src/magfie/magfie_vmec.f90-pp.f902778: [732/957] Building Fortran preprocessed _deps/libneo-build/CMakeFiles/_magfie.dir/_magfie-f2pywrappers.f-pp.f2779: [733/957] Building Fortran preprocessed _deps/libneo-build/CMakeFiles/_magfie.dir/src/f2py_interfaces/f2py_vmec_wrappers.f90-pp.f902780: [734/957] Building Fortran preprocessed _deps/libneo-build/CMakeFiles/_magfie.dir/src/f2py_interfaces/f2py_magfie.f90-pp.f902781: [735/957] Generating Fortran dyndep file _deps/libneo-build/CMakeFiles/_magfie.dir/Fortran.dd2782: [736/957] Building Fortran object _deps/libneo-build/CMakeFiles/_magfie.dir/_magfie-f2pywrappers.f.o2783: [737/957] Generating _efit_to_boozermodule.c, _efit_to_boozer-f2pywrappers.f, _efit_to_boozer-f2pywrappers2.f902784: OSError: [Errno 2] No such file or directory: '/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/magfie/field_divB0.f90'. Skipping file "/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/magfie/field_divB0.f90".2785: OSError: [Errno 2] No such file or directory: '/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/magfie/field_eq_mod.f90'. Skipping file "/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/magfie/field_eq_mod.f90".2786: OSError: [Errno 2] No such file or directory: '/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/spl_three_to_five.f90'. Skipping file "/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/spl_three_to_five.f90".2787: OSError: [Errno 2] No such file or directory: '/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/plag_coeff.f90'. Skipping file "/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/plag_coeff.f90".2788: OSError: [Errno 2] No such file or directory: '/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/binsrc.f90'. Skipping file "/home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/src/binsrc.f90".2789: get_useparameters: mapping for {'only': 1, 'map': {'psimax': 'psimax'}} not impl.
...
3306: LIBNEO_BRANCH: feature/fpm-bind3307: ##[endgroup]3308: cmake --build build --config Release3309: [1/1] cd /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/libneo-src/extra/MyMPILib && /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/_deps/libneo-src/extra/MyMPILib/Scripts/do_versioning.sh3310: Versioning MyMPILib...3311: cd build && ctest --test-dir test --output-on-failure -LE "slow|regression"3312: Internal ctest changing into directory: /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/test3313: Test project /home/github-runner/actions-runner/_work/SIMPLE/SIMPLE/build/test3314: Start 1: generate_chartmap_map2disc3315: 1/47 Test #1: generate_chartmap_map2disc ...................... Passed 8.21 sec3316: Start 2: generate_chartmap_ncsx_map2disc3317: 2/47 Test #2: generate_chartmap_ncsx_map2disc ................. Passed 8.80 sec3318: Start 3: generate_chartmap_ncsx_map2disc_wall3319: 3/47 Test #3: generate_chartmap_ncsx_map2disc_wall ............ Passed 9.82 sec3320: Start 4: test_chartmap_ncsx_map2disc_wall_offset3321: 4/47 Test #4: test_chartmap_ncsx_map2disc_wall_offset .........***Failed 0.64 sec3322: chartmap wall deviates from buffered VMEC boundary: max_to_buffer=6.801169e-03 m (tol 1.000000e-03) at phi=0.253866
...
3394: 40/47 Test #54: test_orbit_refcoords_rk45_plot .................. Passed 0.89 sec3395: Start 55: test_orbit_chartmap_comparison3396: 41/47 Test #55: test_orbit_chartmap_comparison .................. Passed 6.04 sec3397: Start 56: test_chartmap_refcoords_config3398: 42/47 Test #56: test_chartmap_refcoords_config .................. Passed 0.36 sec3399: Start 59: test_orbit_chartmap_comparison_plot3400: 43/47 Test #59: test_orbit_chartmap_comparison_plot ............. Passed 0.77 sec3401: Start 60: test_orbit_chartmap_comparison_map2disc3402: 44/47 Test #60: test_orbit_chartmap_comparison_map2disc ......... Passed 6.20 sec3403: Start 61: test_orbit_chartmap_comparison_plot_map2disc3404: 45/47 Test #61: test_orbit_chartmap_comparison_plot_map2disc .... Passed 0.81 sec3405: Start 62: test_chartmap_refcoords_config_map2disc3406: 46/47 Test #62: test_chartmap_refcoords_config_map2disc ......... Passed 0.36 sec3407: Start 73: test_engineering3408: 47/47 Test #73: test_engineering ................................ Passed 1.37 sec3409: 98% tests passed, 1 tests failed out of 473410: Label Time Summary:3411: engineering = 1.37 sec*proc (1 test)3412: integration = 175.88 sec*proc (23 tests)3413: performance = 0.53 sec*proc (1 test)3414: plot = 4.52 sec*proc (7 tests)3415: python = 80.49 sec*proc (15 tests)3416: system = 18.80 sec*proc (3 tests)3417: unit = 5.57 sec*proc (5 tests)3418: Total Test time (real) = 221.03 sec3419: The following tests FAILED:3420: 4 - test_chartmap_ncsx_map2disc_wall_offset (Failed) integration plot python3421: Errors while running CTest3422: make: *** [Makefile:47: test-fast] Error 83423: ##[error]Process completed with exit code 2.3424: ##[group]Run actions/upload-artifact@v43425: with:3426: name: test-results3427: path: build/Testing/3428:
3429: if-no-files-found: warn3430: compression-level: 63431: overwrite: false3432: include-hidden-files: false3433: env:3434: LIBNEO_BRANCH: feature/fpm-bind3435: ##[endgroup]3436: ##[warning]No files were found with the provided path: build/Testing/. No artifacts will be uploaded.3437: Post job cleanup.3438: Unexpected error attempting to determine if executable file exists '/home/ert/.npm-global/bin/git': Error: EACCES: permission denied, stat '/home/ert/.npm-global/bin/git'3439: Unexpected error attempting to determine if executable file exists '/home/ert/code/.venv/bin/git': Error: EACCES: permission denied, stat '/home/ert/code/.venv/bin/git'3440: Unexpected error attempting to determine if executable file exists '/home/ert/code/scripts/git': Error: EACCES: permission denied, stat '/home/ert/code/scripts/git'3441: [command]/usr/bin/git version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Summary
Testing
PR Type
Bug fix, Enhancement
Description
Replace local
dpkind definitions with intrinsiciso_fortran_envimportFix cut detector stencil initialization to avoid out-of-bounds array access
Remove unused variables and clean up compiler warnings across modules
Improve code formatting and fix floating-point comparison logic
Diagram Walkthrough
File Walkthrough
2 files
Remove local dp definition and unused variableRemove unused ierr_orbit variable declaration4 files
Add iso_fortran_env import, remove local dp definitionAdd iso_fortran_env import, remove unused variablesAdd iso_fortran_env import, remove local dp definitionAdd iso_fortran_env import, improve subroutine signatures3 files
Fix stencil initialization and refactor loop logicFix floating-point zero comparison logicRemove unused import and fix shift calculation