I'm currently trying to run a parallel code example given in Qutip User's Guide version 4.4, on page 69, which simulates a Landau-Zener-Interferometry map. The code is not "ready to go", so you have to add a litle bit more lines to implement it. Whenever I run the code I get errors related to the parfor or parallel_map functions. I'm a little bit of a noobie in Python and Qutip and I can't find the way to get around this. The last set of errors which appear after running the code are:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "Lz_py.py", line 35, in <module>
a,b = parallel_map(task,range(len(eps_list)),task_args=(eps_list,))
File "/home/diego/anaconda3/lib/python3.7/site-packages/qutip/parallel.py", line 260, in parallel_map
return [ar.get() for ar in async_res]
File "/home/diego/anaconda3/lib/python3.7/site-packages/qutip/parallel.py", line 260, in <listcomp>
return [ar.get() for ar in async_res]
File "/home/diego/anaconda3/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
ImportError: Building module cqobjevo_compiled_coeff_7879700862880314382 failed: ["distutils.errors.CompileError: command 'gcc' failed with exit status 1\n"]