CyLP
CyLP copied to clipboard
Error when using CyLP in PyART
I am trying to use PyART function phase_proc_lp (pyart.correct.phase_proc_lp(radar, 2.0, self_const = 12000.0, low_z=0.0, high_z=53.0, min_phidp=0.01, min_ncp=0.3, min_rhv=0.8, LP_solver='cylp_mp', proc=15)) on CENTOS 7 which makes use of the CyLP package, but I am running into an error *** Error in `python': free(): invalid pointer: 0x000055a16c1efc68 ***
see cylp_log2.txt for full error log.
I installed following these instructions https://github.com/coin-or/CyLP from scratch:
wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
bash Anaconda3-2021.11-Linux-x86_64.sh
conda create -n pyart_py38 python=3.8 arm_pyart coin-or-cbc numba gdal -c conda-forge
conda activate pyart_py38
conda install -c conda-forge pkg-config
pip install cylp
How did you solve it? I also had the same problem.
For me installing in Python 3.6 worked as explained here: https://github.com/ARM-DOE/pyart/issues/1022#issuecomment-983463463