# Pmap suddenly after running for some time gives Load Error

**URL:** <https://discourse.julialang.org/t/pmap-suddenly-after-running-for-some-time-gives-load-error/87646>\
**Category:** General Usage\
**Tags:** pmap\
**Created:** [September 22, 2022, 2:08pm UTC](https://discourse.julialang.org/t/pmap-suddenly-after-running-for-some-time-gives-load-error/87646 "2022-09-22T14:08:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mb96](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mb96/32/45786_2.png) [@mb96](https://discourse.julialang.org/u/mb96)\
**Post date:** [September 22, 2022, 2:08pm UTC](https://discourse.julialang.org/t/pmap-suddenly-after-running-for-some-time-gives-load-error/87646/1 "2022-09-22T14:08:46Z")

</div>

## I am paralellizing, with the library Distributed (pmap method), calling the JuMP solver Ipopt across different agents (“utilities”). The results for each agent are then vertically concatenated into a DataFrame. The code runs well even for hours but then suddenly it breaks with the following error:

## ERROR: LoadError: On worker 2: MethodError: Cannot `convert` an object of type Symbol to an object of type AbstractVector Closest candidates are: convert(::Type{T}, ::Factorization) where T\<:AbstractArray at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/LinearAlgebra/src/factorization.jl:58 convert(::Type{T}, ::T) where T\<:AbstractArray at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/base/abstractarray.jl:16 convert(::Type{T}, ::T) where T at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/base/essentials.jl:218

## Here is a screenshot of the code where the pmap happens on the last line of the screenshot.

## ![Captura de Pantalla 2022-09-22 a la(s) 10.03.30](https://global.discourse-cdn.com/julialang/original/3X/0/d/0d66aec9e5355ebe0ac5105fe944eb1c230aec94.png)

Any help would be very much appreciated. Just for reference: utility\_id is an Integer.
