Using Parameters.jl with Distributed.jl makes an error

Thank you very much for leaving the comments.
Ultimately, I truncated my codes into pieces and examined which part was causing the endless computation.

  1. Parameters package does work with Distributed. You were entirely correct.

  2. Essentially, I was using a Nelder Mead multi-start algorithm to minimize a loss function with respect to a solution of NLsolve. I solve a system of non-linear equations that takes around 5 seconds for each parameter combination.

  3. I fixed 7 parameters and left only one parameter to be chosen, and I imposed a very tight lower and upper bound. However, the minimization never ends.

I’m trying to figure out how to solve this part. I agree with your point, but I’m reluctant to write down the codes to replace a package I currently use.