Skip to content

How to speed up PCMCI? #208

Answered by NH89
wang70880 asked this question in Q&A
Apr 13, 2022 · 7 comments · 7 replies
Discussion options

You must be logged in to vote

Hello Wang70880,

(i) Have you looked at the mpi4py parallelization script for pcmci :
https://github.com/jakobrunge/tigramite/blob/developer/run_pcmci_parallel.py ?
If you adapt this script, then you can use all the cores of your CPU
This requires an MPI library and its headers (e.g. Open MPI), plus the python module "mip4py" (available on either Conda or Pip).

(ii) Use version 5.x of Tigramite, ensure that you have Numba installed (Python JIT compilation) .
Compiled code is much faster than interpreted code.

(iii) If you also use Gaussian processes, ensure that Torch library and the Python module "Gpytorch" are installed and working with your GPU.

See the "Optional packages depending on …

Replies: 7 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@wang70880
Comment options

Answer selected by wang70880
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@NH89
Comment options

@NH89
Comment options

Comment options

You must be logged in to vote
4 replies
@NH89
Comment options

@NH89
Comment options

@wang70880
Comment options

@wang70880
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants