Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using CyLP in PyART #136

Open
tanelv opened this issue Nov 30, 2021 · 2 comments
Open

Error when using CyLP in PyART #136

tanelv opened this issue Nov 30, 2021 · 2 comments

Comments

@tanelv
Copy link

tanelv commented Nov 30, 2021

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
@YuanLijun-1224
Copy link

How did you solve it? I also had the same problem.

@tanelv
Copy link
Author

tanelv commented Mar 23, 2022

For me installing in Python 3.6 worked as explained here:
ARM-DOE/pyart#1022 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants