I want to create a vector with the size 10^15 with numpy and fill it with random numbers, but I get the following error:
Maximum allowed dimension exceeded.
Can it help if i use MPI?
Thank you
I want to create a vector with the size 10^15 with numpy and fill it with random numbers, but I get the following error:
Maximum allowed dimension exceeded.
Can it help if i use MPI?
Thank you
The Message Passing Interface (MPI) is mainly used to do parallel computations across multiple machines (nodes). Large arrays can be split into smaller arrays and stored on different machines. However, while it's of course possible to distribute the data to different nodes, you should carefully think about the necessity of doing this for your particular task. Additionally, if you are able to split your array, you could also do this on one machine. If performance is not an issue, avoid parallel computing.