Skip to content

brng=nondeterministic crashes ubuntu 20.04/python 3.7.4 #14

@jbuttle63

Description

@jbuttle63

I installed the intel python distribution containing python 3.7.4 and mkl_random 1.1.0. When I run the test_random.py script python crashes. Specifically, this is what crashes:
def test_non_deterministic(self):
rs = rnd.RandomState(brng='nondeterministic')
rs.rand(10)
rs.randint(0, 10)

Python reports the following error:
python: mkl_random/src/mkl_distributions.cpp:61: void irk_double_vec(irk_state_ *, long, double *): Assertion `err == 0' failed.

My conda package list is:
absl-py 0.9.0 py37_0
asn1crypto 0.24.0 py37_3 intel
astor 0.8.0 py37_0
bzip2 1.0.8 0 intel
c-ares 1.15.0 h7b6447c_1001
certifi 2019.9.11 py37_0 intel
cffi 1.12.3 py37_2 intel
chardet 3.0.4 py37_3 intel
conda-package-handling 1.4.0 py37_0 intel
cryptography 2.7 py37_0 intel
cycler 0.10.0 py37_7 intel
cython 0.29.13 py37ha68da19_0 intel
daal 2020.1 intel_217 intel
daal4py 2020.0 py37ha68da19_5 intel
freetype 2.10.1 1 intel
funcsigs 1.0.2 py37_7 intel
gast 0.3.3 py_0
google-pasta 0.2.0 py_0
grpcio 1.27.2 py37hf8bcb03_0
h5py 2.8.0 py37h989c5e5_3
hdf5 1.10.2 2 intel
icc_rt 2020.1 intel_217 intel
idna 2.6 py37_3 intel
impi_rt 2019.7 intel_217 intel
intel-openmp 2020.1 intel_217 intel
intel-tensorflow 2.0.0 pypi_0 pypi
intelpython 2020.0 1 intel
intelpython3_core 2020.0 0 intel
intelpython3_full 2020.0 0 intel
ipp 2020.1 intel_217 intel
joblib 0.13.2 py37_1 intel
keras-applications 1.0.8 py_0
keras-preprocessing 1.1.0 py_1
kiwisolver 1.0.1 py37_2 intel
libarchive 3.4.0 h14c3975_0 intel
libffi 3.2.1 11 intel
libgcc-ng 9.1.0 hdf63c60_0 intel
libpng 1.6.36 2 intel
libprotobuf 3.11.4 hd408876_0
libstdcxx-ng 9.1.0 hdf63c60_0 intel
libxml2 2.9.9 h14c3975_0 intel
llvmlite 0.29.0 py37hf484d3e_9 intel
lz4-c 1.8.1.2 h14c3975_0 intel
lzo 2.10 h14c3975_0 intel
markdown 3.1.1 py37_0
matplotlib 3.1.1 py37_3 intel
mkl 2020.1 intel_217 intel
mkl-service 2.3.0 py37_0 intel
mkl_fft 1.0.15 py37ha68da19_3 intel
mkl_random 1.1.0 py37ha68da19_0 intel
mpi4py 3.0.0 py37_6 intel
nose 1.3.7 py37_2 anaconda
numba 0.45.1 np117py37_6 intel
numexpr 2.7.0 py37_1 intel
numpy 1.17.4 py37ha68da19_4 intel
numpy-base 1.17.4 py37_4 intel
openssl 1.1.1d 0 intel
pandas 0.25.1 py37_3 intel
pip 19.1.1 py37_0 intel
protobuf 3.11.4 py37he6710b0_0
pycosat 0.6.3 py37_3 intel
pycparser 2.18 py37_2 intel
pyeditline 2.0.0 py37_0 intel
pyopenssl 17.5.0 py37_2 intel
pyparsing 2.2.0 py37_2 intel
pysocks 1.6.7 py37_1 intel
python 3.7.4 hf484d3e_3 intel
python-dateutil 2.8.0 py37_0 intel
python-libarchive-c 2.8 py37_13 intel
pytz 2019.1 py37_0 intel
pyyaml 5.1.1 py37_0 intel
requests 2.20.1 py37_1 intel
ruamel_yaml 0.15.64 py37_1 intel
scikit-learn 0.21.3 py37ha68da19_15 intel
scipy 1.3.2 py37ha68da19_0 intel
setuptools 41.0.1 py37_0 intel
six 1.12.0 py37_0 intel
smp 0.1.4 py37_0 intel
sqlite 3.29.0 0 intel
tbb 2020.2 intel_217 intel
tbb4py 2020.2 py37_intel_0 intel
tcl 8.6.4 24 intel
tensorboard 2.0.0 pyhb38c66f_1
tensorflow 2.0.0 py37_0 intel
tensorflow-base 2.0.1 0 intel
tensorflow-estimator 2.0.0 pyh2649769_0
termcolor 1.1.0 py37_1
tk 8.6.4 29 intel
tqdm 4.32.1 py37_0 intel
urllib3 1.24.1 py37_2 intel
werkzeug 1.0.1 py_0
wheel 0.31.0 py37_3 intel
wrapt 1.12.1 py37h7b6447c_1
xgboost 0.90 py37_2 intel
xz 5.2.4 h14c3975_7 intel
yaml 0.1.7 2 intel
zlib 1.2.11 h14c3975_7 intel
zstd 1.4.0 hf484d3e_1 intel

My python distribution is:
Python 3.7.4 (default, Nov 22 2019, 21:31:39)
[GCC 7.3.0] :: Intel(R) Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distibution

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions