Skip to content

mpi4jax with non static argument? #268

Closed Answered by PhilipVinc
elyurn asked this question in Q&A
Discussion options

You must be logged in to vote

I think the problem in your script has to do with the fact that n intervals must be static (because you have a for loop depending on it).

In get_pi_part you are saved because you do not specify it, and the default value is treated somehow as static, but if you were to specify it you'd see that your code would break.

This is not related to mpi4jax

Replies: 1 comment

Comment options

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