: A JNI error has occurred, please check your installation and try again at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethodssun
我正在尝试用java创建一个分布式MPI类,它将为我做一些计算。不幸的是,MPI.Init似乎需要在主类中的argv,argc。有没有办法在这个类中初始化MPI?public class distributed {
public distributed(int mat[][],int n,int m) throws MPIException {MPI.Init(argv); // issue is here,i dont have "argv" to in