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

Segmantation fault with latest libopenblas 0.3.10 #101

Closed
bgruening opened this issue Jul 18, 2020 · 19 comments · Fixed by #102 or #103
Closed

Segmantation fault with latest libopenblas 0.3.10 #101

bgruening opened this issue Jul 18, 2020 · 19 comments · Fixed by #102 or #103

Comments

@bgruening
Copy link

Issue:

We got a coredump with the latest version 0.3.10 (build 2): https://travis-ci.com/github/lldelisle/pyGenomeTracks/jobs/362129644#L974

libopenblas-0.3.9 seems to work for us. Both versions (also 0.3.10-openmp_h709eae2_2) seems to cause the segfault.

$ python
Python 3.7.6 | packaged by conda-forge | (default, Jun  1 2020, 18:57:50) 
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> t = np.array([[1, 0.5], [-1, 0.5]])
>>> matrix_a = np.dot([(1,2)], t)
>>> matrix_a = np.dot([(1,2) for i in range(100)], t)
>>> matrix_a = np.dot([(1,2) for i in range(1000)], t)
>>> matrix_a = np.dot([(1,2) for i in range(10000)], t)
>>> matrix_a = np.dot([(1,2) for i in range(100000)], t)
>>> matrix_a = np.dot([(1,2) for i in range(1000000)], t)
Speicherzugriffsfehler (Speicherabzug geschrieben)

$ conda install libopenblas=0.3.9
Collecting package metadata (repodata.json): done
Solving environment: \ WARNING conda.resolve:_get_sat_solver_cls(57): Could not run SAT solver through interface 'pycryptosat'.
done

## Package Plan ##

  environment location: /home/bag/miniconda3/envs/pgt

  added / updated specs:
    - libopenblas=0.3.9


The following NEW packages will be INSTALLED:

  llvm-openmp        conda-forge/linux-64::llvm-openmp-10.0.0-hc9558a2_0

The following packages will be DOWNGRADED:

  _openmp_mutex                                   4.5-0_gnu --> 4.5-1_llvm
  libblas                                 3.8.0-17_openblas --> 3.8.0-16_openblas
  libcblas                                3.8.0-17_openblas --> 3.8.0-16_openblas
  liblapack                               3.8.0-17_openblas --> 3.8.0-16_openblas
  libopenblas                    0.3.10-pthreads_hb3c22a3_2 --> 0.3.9-h5ec1e0e_0


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(pgt) bag@bag:~/projects/code/pyGenomeTracks$ python
Python 3.7.6 | packaged by conda-forge | (default, Jun  1 2020, 18:57:50) 
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> t = np.array([[1, 0.5], [-1, 0.5]])
>>> matrix_a = np.dot([(1,2)], t)
>>> matrix_a = np.dot([(1,2) for i in range(100)], t)
>>> matrix_a = np.dot([(1,2) for i in range(1000)], t)
>>> matrix_a = np.dot([(1,2) for i in range(10000)], t)
>>> matrix_a = np.dot([(1,2) for i in range(100000)], t)
>>> matrix_a = np.dot([(1,2) for i in range(1000000)], t)
>>> 





Environment (conda list):
# packages in environment at /home/bag/miniconda3/envs/pgt:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       0_gnu    conda-forge
argcomplete               1.12.0             pyh9f0ad1d_0    conda-forge
argh                      0.26.2                py37_1001    conda-forge
asciitree                 0.3.3                      py_2    conda-forge
attrs                     19.3.0                     py_0    conda-forge
bedtools                  2.29.2               hc088bd4_0    bioconda
biopython                 1.76             py37h516909a_0    conda-forge
blosc                     1.19.0               he1b5a44_0    conda-forge
bokeh                     2.1.1            py37hc8dfbb8_0    conda-forge
bzip2                     1.0.8                h516909a_2    conda-forge
ca-certificates           2020.6.20            hecda079_0    conda-forge
certifi                   2020.6.20        py37hc8dfbb8_0    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
cloudpickle               1.5.0                      py_0    conda-forge
cooler                    0.8.9              pyh864c0ab_0    bioconda
cycler                    0.10.0                     py_2    conda-forge
cytoolz                   0.10.1           py37h516909a_0    conda-forge
dask                      2.21.0                     py_0    conda-forge
dask-core                 2.21.0                     py_0    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
dill                      0.3.2              pyh9f0ad1d_0    conda-forge
distributed               2.21.0           py37hc8dfbb8_0    conda-forge
expat                     2.2.9                he1b5a44_2    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.2               he06d7ca_0    conda-forge
fsspec                    0.7.4                      py_0    conda-forge
future                    0.18.2           py37hc8dfbb8_1    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
gffutils                  0.10.1                     py_0    bioconda
ghostscript               9.22              hf484d3e_1001    conda-forge
glib                      2.65.0               h6f030ca_0    conda-forge
gst-plugins-base          1.14.5               h0935bb2_2    conda-forge
gstreamer                 1.14.5               h36ae1b5_2    conda-forge
h5py                      2.10.0          nompi_py37h90cd8ad_103    conda-forge
hdf5                      1.10.6          nompi_h3c11f04_100    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
hicmatrix                 13                         py_0    bioconda
htslib                    1.10.2               hd3b49d5_1    bioconda
icu                       64.2                 he1b5a44_1    conda-forge
importlib-metadata        1.7.0            py37hc8dfbb8_0    conda-forge
importlib_metadata        1.7.0                         0    conda-forge
intervaltree              3.0.2                      py_0    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jpeg                      9d                   h516909a_0    conda-forge
kiwisolver                1.2.0            py37h99015e2_0    conda-forge
krb5                      1.17.1               hfafb76e_1    conda-forge
lcms2                     2.11                 hbd6801e_0    conda-forge
ld_impl_linux-64          2.34                 h53a641e_7    conda-forge
libblas                   3.8.0               17_openblas    conda-forge
libcblas                  3.8.0               17_openblas    conda-forge
libclang                  9.0.1           default_hde54327_0    conda-forge
libcurl                   7.71.1               hcdd3856_2    conda-forge
libdeflate                1.6                  h516909a_0    conda-forge
libedit                   3.1.20191231         h46ee950_1    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgfortran-ng            7.5.0                hdf63c60_6    conda-forge
libgomp                   9.2.0                h24d8f2e_2    conda-forge
libiconv                  1.15              h516909a_1006    conda-forge
liblapack                 3.8.0               17_openblas    conda-forge
libllvm9                  9.0.1                he513fc3_1    conda-forge
libopenblas               0.3.10          pthreads_hb3c22a3_2    conda-forge
libpng                    1.6.37               hed695b0_1    conda-forge
libssh2                   1.9.0                hab1572f_4    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libtiff                   4.1.0                hc7e4089_6    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libwebp-base              1.1.0                h516909a_3    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxkbcommon              0.10.0               he1b5a44_0    conda-forge
libxml2                   2.9.10               hee79883_0    conda-forge
locket                    0.2.0                      py_2    conda-forge
lz4-c                     1.9.2                he1b5a44_1    conda-forge
lzo                       2.10              h14c3975_1000    conda-forge
markupsafe                1.1.1            py37h8f50634_1    conda-forge
matplotlib                3.1.1                    py37_2    conda-forge
matplotlib-base           3.1.1            py37h250f245_2    conda-forge
mock                      4.0.2            py37hc8dfbb8_0    conda-forge
more-itertools            8.4.0                      py_0    conda-forge
msgpack-python            1.0.0            py37h99015e2_1    conda-forge
multiprocess              0.70.10          py37h8f50634_0    conda-forge
ncurses                   6.2                  he1b5a44_1    conda-forge
nose                      1.3.7           py37hc8dfbb8_1004    conda-forge
nspr                      4.26                 he1b5a44_0    conda-forge
nss                       3.47                 he751ad9_0    conda-forge
numexpr                   2.7.1            py37h0da4684_1    conda-forge
numpy                     1.19.0           py37h8960a57_0    conda-forge
olefile                   0.46                       py_0    conda-forge
openssl                   1.1.1g               h516909a_0    conda-forge
packaging                 20.4               pyh9f0ad1d_0    conda-forge
pairix                    0.3.7            py37h84994c4_0    bioconda
pandas                    1.0.5            py37h0da4684_0    conda-forge
partd                     1.1.0                      py_0    conda-forge
pathlib                   1.0.1            py37hc8dfbb8_2    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pillow                    7.2.0            py37h718be6c_1    conda-forge
pip                       20.1.1                     py_1    conda-forge
pluggy                    0.13.1           py37hc8dfbb8_2    conda-forge
psutil                    5.7.2            py37h8f50634_0    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
py                        1.9.0              pyh9f0ad1d_0    conda-forge
pybedtools                0.8.1            py37h8270d21_2    bioconda
pybigwig                  0.3.17           py37h960e705_2    bioconda
pyfaidx                   0.5.9              pyh4c3bd37_0    bioconda
pygenometracks            3.5                      pypi_0    pypi
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py37h8685d9f_3    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pysam                     0.16.0.1         py37hc334e0b_1    bioconda
pytables                  3.6.1            py37h56451d4_2    conda-forge
pytest                    5.4.3            py37hc8dfbb8_0    conda-forge
python                    3.7.6           cpython_h8356626_6    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2020.1             pyh9f0ad1d_0    conda-forge
pyyaml                    5.3.1            py37h8f50634_0    conda-forge
qt                        5.12.5               hd8c4c69_1    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
scipy                     1.5.1            py37ha3d9a3c_0    conda-forge
setuptools                49.2.0           py37hc8dfbb8_0    conda-forge
simplejson                3.17.2           py37h8f50634_0    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sortedcontainers          2.2.2              pyh9f0ad1d_0    conda-forge
sqlite                    3.32.3               hcee41ef_1    conda-forge
tblib                     1.6.0                      py_0    conda-forge
tk                        8.6.10               hed695b0_0    conda-forge
toolz                     0.10.0                     py_0    conda-forge
tornado                   6.0.4            py37h8f50634_1    conda-forge
tqdm                      4.48.0             pyh9f0ad1d_0    conda-forge
typing_extensions         3.7.4.2                    py_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_0    conda-forge
wheel                     0.34.2                     py_1    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.1.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.5                h6597ccf_1    conda-forge


Details about conda and system ( conda info ):
$ conda info

     active environment : pgt
    active env location : /home/bag/miniconda3/envs/pgt
            shell level : 1
       user config file : /home/bag/.condarc
 populated config files : /home/bag/.condarc
          conda version : 4.8.3
    conda-build version : 3.4.2
         python version : 2.7.15.final.0
       virtual packages : __glibc=2.31
       base environment : /home/bag/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/bag/miniconda3/pkgs
                          /home/bag/.conda/pkgs
       envs directories : /home/bag/miniconda3/envs
                          /home/bag/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.22.0 CPython/2.7.15 Linux/5.4.0-40-generic ubuntu/20.04 glibc/2.31
                UID:GID : 1000:1000
             netrc file : /home/bag/.netrc
           offline mode : False

@bgruening
Copy link
Author

ping @lldelisle and @isuruf

@isuruf
Copy link
Member

isuruf commented Jul 18, 2020

Can you try setting the env variable OPENBLAS_CORETYPE=Nehalem ?
Can you also run lscpu ?

@bgruening
Copy link
Author

That worked!

(pgt) bag@bag:~/projects/code/pyGenomeTracks$ export OPENBLAS_CORETYPE=Nehalem
(pgt) bag@bag:~/projects/code/pyGenomeTracks$ python
Python 3.7.6 | packaged by conda-forge | (default, Jun  1 2020, 18:57:50) 
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> t = np.array([[1, 0.5], [-1, 0.5]])
>>> matrix_a = np.dot([(1,2) for i in range(1000000)], t)
$ lscpu
Architektur:                     x86_64
CPU Operationsmodus:             32-bit, 64-bit
Byte-Reihenfolge:                Little Endian
Adressgrößen:                    39 bits physical, 48 bits virtual
CPU(s):                          8
Liste der Online-CPU(s):         0-7
Thread(s) pro Kern:              2
Kern(e) pro Socket:              4
Sockel:                          1
NUMA-Knoten:                     1
Anbieterkennung:                 GenuineIntel
Prozessorfamilie:                6
Modell:                          142
Modellname:                      Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
Stepping:                        12
CPU MHz:                         900.014
Maximale Taktfrequenz der CPU:   4100,0000
Minimale Taktfrequenz der CPU:   400,0000
BogoMIPS:                        3799.90
Virtualisierung:                 VT-x
L1d Cache:                       128 KiB
L1i Cache:                       128 KiB
L2 Cache:                        1 MiB
L3 Cache:                        6 MiB
NUMA-Knoten0 CPU(s):             0-7
Vulnerability Itlb multihit:     KVM: Mitigation: Split huge pages
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds:             Mitigation; TSX disabled
Vulnerability Tsx async abort:   Mitigation; TSX disabled
Markierungen:                    fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon
                                  pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe p
                                 opcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vp
                                 id ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_a
                                 ct_window hwp_epp md_clear flush_l1d arch_capabilities

@isuruf please note that this is also crashing on Travis and at least one other computer.

@isuruf
Copy link
Member

isuruf commented Jul 18, 2020

Can you send a PR to revert the kernel/ changes in OpenMathLib/OpenBLAS#2516 ?

@bgruening
Copy link
Author

I can try to revert this PR. Should we pull our packages?

@isuruf
Copy link
Member

isuruf commented Jul 18, 2020

I'd rather not. Pulling latest will result in segfaults for others

@bgruening
Copy link
Author

I think the impact is rather big of this issue and its not clear how long it will take to fix it upstream. Reverting is not as easy. I will have time today in the evening to try again.

@isuruf isuruf mentioned this issue Jul 19, 2020
5 tasks
@isuruf isuruf reopened this Jul 20, 2020
@isuruf
Copy link
Member

isuruf commented Jul 20, 2020

@lldelisle, what do you get with lscpu?

Also, can you try building openblas master?

@lldelisle
Copy link

$ lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtua
                                 l
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              2
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           78
Model name:                      Intel(R) Core(TM) i7-6600U CPU @
                                  2.60GHz
Stepping:                        3
CPU MHz:                         1400.015
CPU max MHz:                     3400.0000
CPU min MHz:                     400.0000
BogoMIPS:                        5602.18
Virtualization:                  VT-x
L1d cache:                       64 KiB
L1i cache:                       64 KiB
L2 cache:                        512 KiB
L3 cache:                        4 MiB
NUMA node0 CPU(s):               0-3
Vulnerability Itlb multihit:     KVM: Mitigation: Split huge page
                                 s
Vulnerability L1tf:              Mitigation; PTE Inversion; VMX c
                                 onditional cache flushes, SMT vu
                                 lnerable
Vulnerability Mds:               Vulnerable: Clear CPU buffers at
                                 tempted, no microcode; SMT vulne
                                 rable
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barr
                                 iers and __user pointer sanitiza
                                 tion
Vulnerability Spectre v2:        Mitigation; Full generic retpoli
                                 ne, STIBP disabled, RSB filling
Vulnerability Srbds:             Vulnerable: No microcode
Vulnerability Tsx async abort:   Vulnerable: Clear CPU buffers at
                                 tempted, no microcode; SMT vulne
                                 rable
Flags:                           fpu vme de pse tsc msr pae mce c
                                 x8 apic sep mtrr pge mca cmov pa
                                 t pse36 clflush dts acpi mmx fxs
                                 r sse sse2 ss ht tm pbe syscall 
                                 nx pdpe1gb rdtscp lm constant_ts
                                 c art arch_perfmon pebs bts rep_
                                 good nopl xtopology nonstop_tsc 
                                 cpuid aperfmperf pni pclmulqdq d
                                 tes64 monitor ds_cpl vmx smx est
                                  tm2 ssse3 sdbg fma cx16 xtpr pd
                                 cm pcid sse4_1 sse4_2 x2apic mov
                                 be popcnt aes xsave avx f16c rdr
                                 and lahf_lm abm 3dnowprefetch cp
                                 uid_fault epb invpcid_single pti
                                  tpr_shadow vnmi flexpriority ep
                                 t vpid ept_ad fsgsbase tsc_adjus
                                 t bmi1 hle avx2 smep bmi2 erms i
                                 nvpcid rtm mpx rdseed adx smap c
                                 lflushopt intel_pt xsaveopt xsav
                                 ec xgetbv1 xsaves dtherm ida ara
                                 t pln pts hwp hwp_notify hwp_act
                                 _window hwp_epp

@lldelisle
Copy link

Also, can you try building openblas master?

Can you tell me how to do that?

@lldelisle
Copy link

git clone and make?

@isuruf
Copy link
Member

isuruf commented Jul 20, 2020

Yes, git clone and make DYNAMIC_ARCH=1 BINARY=64 NO_LAPACK=0 TARGET=PRESCOTT NO_AFFINITY=1 USE_THREAD=1 NUM_THREADS=128 USE_OPENMP=0
and then make install PREFIX=$CONDA_PREFIX

@lldelisle
Copy link

Is this normal?

(testOpenBlas) [ldelisle@SV-49-002 OpenBLAS]$ make DYNAMIC_ARCH=1 BINARY=64 NO_LAPACK=0 TARGET=PREFIX NO_AFFINITY=1 USE_THREAD=1 NUM_THREADS=128 USE_OPENMP=0
getarch.c:1210:2: error: #error "The TARGET specified on the command line or in Makefile.rule is not supported. Please choose a target from TargetList.txt"
 1210 | #error "The TARGET specified on the command line or in Makefile.rule is not supported. Please choose a target from TargetList.txt"
      |  ^~~~~
make: *** [Makefile.prebuild:66: getarch] Error 1

Then it continues...

@isuruf
Copy link
Member

isuruf commented Jul 20, 2020

Sorry, I made a mistake. Can you try, make DYNAMIC_ARCH=1 BINARY=64 NO_LAPACK=0 TARGET=PRESCOTT NO_AFFINITY=1 USE_THREAD=1 NUM_THREADS=128 USE_OPENMP=0 ?

@lldelisle
Copy link

No problem, it is running with the new command.

@lldelisle
Copy link

.....
imax.c:(.text+0x10): undefined reference to `icamax_k'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:164: cblat1] Error 1
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(zaxpy.o): in function `zaxpy_':
zaxpy.c:(.text+0x9a): undefined reference to `zaxpy_k'
/usr/bin/ld: zaxpy.c:(.text+0xe0): undefined reference to `zaxpy_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(zswap.o): in function `zswap_':
zswap.c:(.text+0x37): undefined reference to `zswap_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(zcopy.o): in function `zcopy_':
copy.c:(.text+0x19): undefined reference to `zcopy_k'
/usr/bin/ld: copy.c:(.text+0x30): undefined reference to `zcopy_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(zscal.o): in function `zscal_':
zscal.c:(.text+0x53): undefined reference to `zscal_k'
/usr/bin/ld: zscal.c:(.text+0xa2): undefined reference to `zscal_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(zdscal.o): in function `zdscal_':
zscal.c:(.text+0x80): undefined reference to `zscal_k'
/usr/bin/ld: zscal.c:(.text+0xd1): undefined reference to `zscal_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(zdotc.o): in function `zdotc_':
zdot.c:(.text+0x19): undefined reference to `zdotc_k'
/usr/bin/ld: zdot.c:(.text+0x30): undefined reference to `zdotc_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(zdotu.o): in function `zdotu_':
zdot.c:(.text+0x19): undefined reference to `zdotu_k'
/usr/bin/ld: zdot.c:(.text+0x30): undefined reference to `zdotu_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(dzasum.o): in function `dzasum_':
asum.c:(.text+0xc): undefined reference to `zasum_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(dznrm2.o): in function `dznrm2_':
nrm2.c:(.text+0xc): undefined reference to `znrm2_k'
/usr/bin/ld: ../libopenblasp-r0.3.10.dev.a(izamax.o): in function `izamax_':
imax.c:(.text+0x10): undefined reference to `izamax_k'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:167: zblat1] Error 1
make[1]: Leaving directory '/home/ldelisle/Documents/mygit/OpenBLAS/test'
make: *** [Makefile:140: tests] Error 2


@isuruf
Copy link
Member

isuruf commented Jul 22, 2020

@bgruening, @lldelisle, can you send a PR to port OpenMathLib/OpenBLAS#2729 to this repo?

@isuruf
Copy link
Member

isuruf commented Jul 23, 2020

Ping on this, @bgruening, @lldelisle

@h-vetinari
Copy link
Member

@isuruf: @bgruening, @lldelisle, can you send a PR to port OpenMathLib/OpenBLAS#2729 to this repo?

Done in #103.

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