Giter Club home page Giter Club logo

pymkl's People

Contributors

bsmithyman avatar denyskorzh avatar dwfmarchant avatar jcapriot avatar lheagy avatar rowanc1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pymkl's Issues

PyPI Listing

Hi Dave,

Should be straightforward to get your package listed on PyPI. When ready, you just need to tag the release (git tag v?.?.? or git tag -s v?.?.?). This should match the setup.py file. Then, you can run

python setup.py register -r pypitest

to set things up with PyPI testing, and

python setup.py register -r pypi

to do the same on the live site. After that, make testpublish and make publish should work.

http://peterdowns.com/posts/first-time-with-pypi.html

Sorted Indices?

I am having trouble on linux/mac compatibilities. Works on my mac, does not work on travis.

See simpeg/simpeg#401

@jcapriot suggested that there might be an ordering issue. I think this might be good to get into the base repo. I have wrapped it in simpeg/pymatsolver#13 but probably should be in the base one and ensuring that the final matrix is actually sorted correctly.

A = A.tocsr()
if not A.has_sorted_indices:
    A.sort_indices()

https://software.intel.com/en-us/node/470282

CAUTION
Intel MKL PARDISO column indices ja must be in increasing order per row. 
You can validate the sparse matrix structure with the matrix checker (iparm(27))

Load MKL Error for Python 3.8 on Windows

@jcapriot @dwfmarchant For recent versions of Anaconda3 for Windows OS (with Python 3.8 and possibly 3.7), the latest conda install of pymatsolver cannot import Pardiso. I have tracked down this issue to loadMKL.py in the pyMKL package.

I found that for Windows OS, the code will try to find the mkl_rt.dll in anaconda/Library/bin/. This file doesn't exist. Instead, there is a mkl_rt.1.dll. By changing the filename for the MKL library in loadMKL.py, I was able to import Pardiso from pymatsolver and run a TDEM forward model with the Pardiso solver.

Can this file be fixed so that it is up-to-date with current installations of Anaconda?

image

obtaining the L,U factors for factorizations

I noticed that the pardisoSolver.py has a factor() method but I was wondering if the python interface can access the actual L, U factors if, for example, I did an LU factorization (as well as the permutation matrices for any reorderings done).

pardisoSolver leaks memory

Repeatedly constructing and initializing instances of pardisoSolver leaks memory as the internal data is never freed.

I noticed that the class has a clear method, but it isn't automatically invoked. Perhaps it could be called in the __del__ method of the class? One would have to make sure that multiple calls to clear are safe.

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.