# Using CellListMap.jl within Agents.jl framework

**URL:** <https://discourse.julialang.org/t/using-celllistmap-jl-within-agents-jl-framework/84709>\
**Category:** Modelling & Simulations\
**Tags:** question\
**Created:** [July 24, 2022, 12:45pm UTC](https://discourse.julialang.org/t/using-celllistmap-jl-within-agents-jl-framework/84709 "2022-07-24T12:45:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Post date:** [July 24, 2022, 2:20pm UTC](https://discourse.julialang.org/t/using-celllistmap-jl-within-agents-jl-framework/84709/2 "2022-07-24T14:20:08Z")

</div>

Hello,

I had no idea about the existence of CellListMap.jl. Sounds like this could be wonderfully integrated with Agents.jl and accelerate existing functions like `interacting_pairs` we have there… I wish the authors of the package had contacted us about this!

In the meantime, @ehsani63 are you perhaps interested in contributing an **integration example** in our documentation, similar to the integration examples with e.g., DifferentialEquations.jl or other packages?

Now to your question:

> [@ehsani63](#):
>
> My setup is straightforward

I don’t think this is a good assumption to make! E.g., the code you provide is not runnable, nor do you provide any error stacktraces about what the **actual** error is. I’d advise you to make a **Minimal Working Example** or look here for more info on helping us help you: [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757)

Nevertheless it seems to me that the error probably comes from the `map_pairwise!` function.

---

_[View the full topic](https://discourse.julialang.org/t/using-celllistmap-jl-within-agents-jl-framework/84709)._
