Giter Site home page Giter Site logo

only import test fails on c2pap about galario HOT 1 CLOSED

fredRos avatar fredRos commented on August 25, 2024
only import test fails on c2pap

from galario.

Comments (1)

fredRos avatar fredRos commented on August 25, 2024

It seems to be some problem in intel mkl that gets into the way of fftw. Nothing I need to fix in galario.

Program received signal SIGSEGV, Segmentation fault.
__kmp_register_root (initial_thread=0) at ../../src/kmp_runtime.c:3913
3913    ../../src/kmp_runtime.c: No such file or directory.
(gdb) bt
#0  __kmp_register_root (initial_thread=0) at ../../src/kmp_runtime.c:3913
#1  0x00007ffff35d6d7d in __kmp_do_serial_initialize () at ../../src/kmp_runtime.c:6693
#2  __kmp_do_middle_initialize () at ../../src/kmp_runtime.c:6779
#3  __kmp_middle_initialize () at ../../src/kmp_runtime.c:6897
#4  0x00007ffff35c0f7e in __kmp_api_omp_get_num_procs () at ../../src/kmp_ftn_entry.h:501
#5  0x00007ffff077d81d in mkl_serv_domain_get_max_threads ()
   from /home/hpc/pr85tu/ru72xaf2/.conda/envs/galario3/lib/python3.6/site-packages/numpy/core/../../../../libmkl_intel_thread.so
#6  0x00007ffff26343ab in fftw_init_threads ()
   from /home/hpc/pr85tu/ru72xaf2/.conda/envs/galario3/lib/python3.6/site-packages/numpy/core/../../../../libmkl_intel_lp64.so
#7  0x00007fffeb4146a7 in galario_init () at /home/hpc/pr85tu/ru72xaf2/workspace/galario/src/galario.cpp:108

But I want to note here that the mkl can be removed from conda to avoid this mixup. From https://docs.continuum.io/mkl-optimizations/

Uninstalling MKL

MKL takes roughly 100MB and some use cases do not need it, so users can opt out of MKL and instead use OpenBLAS for Linux or the native Accelerate Framework for MacOSX. To opt out, run conda install nomkl and then use conda install to install packages that would normally include MKL or depend on packages that include MKL, such as scipy, numpy, and pandas. Conda will install the non-MKL versions of these packages together with their dependencies. If you are using OS X or Linux, have already installed these packages or already installed all of Anaconda, and wish to switch away from MKL, use the command conda install nomkl numpy scipy scikit-learn numexpr followed by conda remove mkl mkl-service.

from galario.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.