JGCRI / cassandra

Human-earth system multi-scale model coupling framework
Other
6 stars 3 forks source link

Large python arrays cannot be passed via MPI #53

Open rplzzz opened 5 years ago

rplzzz commented 5 years ago

We should address the issue discovered by having large arrays being passed from one node to another. The issue is that numpy arrays have an attribute nbytes which is an integer describing how many bytes are in the array. When nbytes is greater than a C int (2**31 - 1), MPI errors, as it cannot convert the number.