# Getting "UndefVarError: N0f8 not defined" error using @distributed

**URL:** <https://discourse.julialang.org/t/getting-undefvarerror-n0f8-not-defined-error-using-distributed/47230>\
**Category:** General Usage\
**Tags:** question\
**Created:** [September 24, 2020, 11:34pm UTC](https://discourse.julialang.org/t/getting-undefvarerror-n0f8-not-defined-error-using-distributed/47230 "2020-09-24T23:34:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![libensvivit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/libensvivit/32/19006_2.png) [@libensvivit](https://discourse.julialang.org/u/libensvivit)\
**Post date:** [September 24, 2020, 11:34pm UTC](https://discourse.julialang.org/t/getting-undefvarerror-n0f8-not-defined-error-using-distributed/47230/1 "2020-09-24T23:34:04Z")

</div>

> using Distributed  
> @everywhere using Colors;
> 
> @sync @distributed for i = 1:10  
> zeros(RGB{N0f8}, 10, 10);  
> end

I’m having error running this code, why my workers don’t see the Colors module?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 25, 2020, 8:30am UTC](https://discourse.julialang.org/t/getting-undefvarerror-n0f8-not-defined-error-using-distributed/47230/2 "2020-09-25T08:30:24Z")

</div>

What is `N0f8`?

```julia
julia> using Colors

julia> RGB{N0f8}
ERROR: UndefVarError: N0f8 not defined
Stacktrace:
 [1] top-level scope at REPL[4]:1

```

---

<div class="post-metadata">

**Author:** ![libensvivit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/libensvivit/32/19006_2.png) [@libensvivit](https://discourse.julialang.org/u/libensvivit)\
**Post date:** [September 28, 2020, 4:18pm UTC](https://discourse.julialang.org/t/getting-undefvarerror-n0f8-not-defined-error-using-distributed/47230/3 "2020-09-28T16:18:01Z")

</div>

It came out that RGB without {N0f8} is enough and as I understand it needs ColorVectorSpace module to be used everywhere, and don’t forget to add workers via **addprocs(4)** before **@everywhere using …**  
My problem is solved now.
