Rust rsmpi';mpi=0.5.4';由于函数调用明显拼写错误,无法编译

Rust rsmpi';mpi=0.5.4';由于函数调用明显拼写错误,无法编译,rust,openmpi,rust-cargo,Rust,Openmpi,Rust Cargo,这就是我得到的。我已经把货物清理干净了,重建的也没有用。我不确定这是rsmpi还是ffi库的问题。我知道rsmpi datatype.rs的git文件似乎具有函数调用的正确拼写 有什么想法吗 谢谢 泰勒。 对不起,我找到了。对不起,我看得不够远。我想这个问题很快就会通过更新得到解决 cannot find function, tuple struct or tuple variant `MPI_Type_hvector` in module `ffi` --> /home/zaylo

这就是我得到的。我已经把货物清理干净了,重建的也没有用。我不确定这是rsmpi还是ffi库的问题。我知道rsmpi datatype.rs的git文件似乎具有函数调用的正确拼写

有什么想法吗

谢谢

泰勒。

对不起,我找到了。对不起,我看得不够远。我想这个问题很快就会通过更新得到解决

cannot find function, tuple struct or tuple variant `MPI_Type_hvector` in module `ffi`
   --> /home/zaylor/.cargo/registry/src/github.com-1ecc6299db9ec823/mpi-0.5.4/src/datatype.rs:212:18
    |
212 |             ffi::MPI_Type_hvector(count, blocklength, stride, oldtype.as_raw(), &mut newtype);
    |                  ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `MPI_Type_vector`
    | 
   ::: /home/zaylor/Documents/rust/primes_mpi/target/debug/build/mpi-sys-c8a00d923d3087b4/out/functions_and_types.rs:974:2
    |
974 |  pub fn MPI_Type_vector ( count : :: std :: os :: raw :: c_int , blocklength : :: std :: os :: raw :: c_int , stride : :: std :: os :: raw :: c_int , oldtype : MPI_Datatype , newtype : * mut MPI_Datatype , ) -> :: std :: os :: raw :: c_int...
    |  ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ similarly named function `MPI_Type_vector` defined here

error: aborting due to previous error

For more information about this error, try `rustc --explain E0425`.
error: could not compile `mpi`.