Dear developers I'm trying to use parallel computing and I ran the command 'mpirun -np 4 ./app'
In this case, there are two problems. *First,* I encountered error message /// [0]PETSC ERROR: [1]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- [1]PETSC ERROR: Invalid argument [1]PETSC ERROR: Comm must be of size 1 /// The code on the error position is MatCreateSeqDense(PETSC_COMM_SELF, nns, ns, NULL, &Kns)); Could "MatCreateSeqDense" not be used in parallel computing? *Second*, the same error message is repeated as many times as the number of cores. if I use command -np 4, then the error message is repeated 4 times. Could you recommend some advice related to this? Best, Seung Lee Kwon -- Seung Lee Kwon, Ph.D.Candidate Aerospace Structures and Materials Laboratory Department of Mechanical and Aerospace Engineering Seoul National University Building 300 Rm 503, Gwanak-ro 1, Gwanak-gu, Seoul, South Korea, 08826 E-mail : [email protected] Office : +82-2-880-7389 C. P : +82-10-4695-1062
