diff --git a/.github/workflows/fpm.yml b/.github/workflows/fpm.yml index d2db04aff..abcb974a4 100644 --- a/.github/workflows/fpm.yml +++ b/.github/workflows/fpm.yml @@ -26,7 +26,6 @@ jobs: toolchain: {compiler: nvidia-hpc} - os: macos-latest - - toolchain: {compiler: nvidia-hpc} steps: - name: Checkout code diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c3f6bc2f..c1a7c4bf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - Implemented memory cleanup in the examples and tests. - Added cleanup for colormap type in the ppm examples. - Added screenshots to the README file. +- Included nvidia compiler in the CI. +- Added missing allocation for `Tgc` in the `compute_Xg_nurbs_1d` subroutine. ### Changed @@ -29,5 +31,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ### Removed -- Excluded macOS from CI due to a problem with fpm. -- Excluded NVIDIA from CI due to a problem with ForColormap or a bug with the NVIDIA compiler. +- Excluded macOS from CI due to a problem with fpm. \ No newline at end of file diff --git a/src/forcad_nurbs_curve.f90 b/src/forcad_nurbs_curve.f90 index c03ce521f..0b2ba6b01 100644 --- a/src/forcad_nurbs_curve.f90 +++ b/src/forcad_nurbs_curve.f90 @@ -1504,6 +1504,7 @@ impure function compute_Xg_nurbs_1d(Xt, knot, degree, nc, ng, Xc, Wc) result(Xg) integer :: i allocate(Xg(ng, size(Xc,2))) + allocate(Tgc(nc)) !$OMP PARALLEL DO PRIVATE(Tgc) do i = 1, ng Tgc = basis_bspline(Xt(i), knot, nc, degree)