# Cuda compilation error

**URL:** <https://pyfr.discourse.group/t/cuda-compilation-error/967>\
**Category:** Errors\
**Created:** [2 November 2023 11:05 UTC](https://pyfr.discourse.group/t/cuda-compilation-error/967 "2023-11-02T11:05:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frankx9](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@Frankx9](https://pyfr.discourse.group/u/Frankx9)\
**Post date:** [2 November 2023 11:05 UTC](https://pyfr.discourse.group/t/cuda-compilation-error/967/1 "2023-11-02T11:05:40Z")

</div>

Hello,

today I’m having this compilation error on CUDA from the develop branch of pyFR

```auto
    raise RuntimeError(log.value.decode())
RuntimeError: kernel.cu(40): error: user-defined literal operator not found
      ulout_v[ulout_vix[BLK_IDX + X_IDX] + SOA_SZ*(3)] = (583.3367859280097c)/0.3999999999999999
                                                          ^

kernel.cu(33): warning #177-D: variable "norm_nl" was declared but never referenced
      fpdtype_t norm_nl[] = { (1 / mag_nl)*nlin_v[ldnlin*(0) + X_IDX + BLK_IDX*2], (1 / mag_nl)*nlin_v[ldnlin*(1) + X_IDX + BLK_IDX*2] };
                ^

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

1 error detected in the compilation of "kernel.cu".

application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1

```

Is it a bug?

Regards

---

<div class="post-metadata">

**Author:** ![WillT](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@WillT](https://pyfr.discourse.group/u/WillT)\
**Post date:** [2 November 2023 11:58 UTC](https://pyfr.discourse.group/t/cuda-compilation-error/967/2 "2023-11-02T11:58:19Z")

</div>

> [@Frankx9](#):
>
> `(583.3367859280097c)/0.3999999999999999`

What is the `c` doing here?
