Hello, I need help with the distributed use of mpiexec. I have defined a set of machines in a host file and setup the network (firewall port redirection...) successfully. I can start OpenCarp on a single machine (remote or local) with multiple processes defined by -n argument or by the host file (list), but as soon as I try to use multiple machines it comes to an error. As long as the proc count -np is fullfilled by the first machine it works, but as soon as the process count reaches machine 2 it fails.
Maybe someone has a hint or the solution. (WSL/Ubuntu LTS 2404, OpenCarp15 )
Thnx in advance
here's my call
mpiexec -f ~/mpi_hosts -np 2 -bootstrap ssh -bootstrap-exec "$HOME/mpi_ssh_bootstrap.sh" openCARP +F <...>
my mpi_hosts file like (tried different process counts)
<ipAddr1>:1
<ipAddr2>:1
and the error msg
[0]PETSC ERROR: --------------------- Error Message -----------------------------------------------------[0]PETSC ERROR: General MPI error
[0]PETSC ERROR: MPI error 1 Invalid buffer pointer Ignore the following value 22
[0]PETSC ERROR: See
https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.17.1, Apr 28, 2022
[0]PETSC ERROR: openCARP on a named <...> by <...>
[0]PETSC ERROR: Configure options PETSC_ARCH=docker-opt --prefix=/usr/local/lib/opencarp/lib/petsc --download-mpich --download-fblaslapack --download-metis --download-parmetis --download-hypre --with-debugging=0 COPTFLAGS=-O2 CXXOPTFLAGS=-O2 FOPTFLAGS=-O2
[0]PETSC ERROR: #1 PetscOptionsGetenv() at /tmp/petsc-3.17.1/src/sys/utils/pdisplay.c:62
[0]PETSC ERROR: #2 PetscStrreplace() at /tmp/petsc-3.17.1/src/sys/utils/str.c:1119
[0]PETSC ERROR: #3 PetscOptionsFilename() at /tmp/petsc-3.17.1/src/sys/objects/options.c:396
[0]PETSC ERROR: #4 PetscOptionsInsertFile() at /tmp/petsc-3.17.1/src/sys/objects/options.c:621
[0]PETSC ERROR: #5 PetscOptionsInsert() at /tmp/petsc-3.17.1/src/sys/objects/options.c:839
[0]PETSC ERROR: #6 PetscInitialize_Common() at /tmp/petsc-3.17.1/src/sys/objects/pinit.c:933
[0]PETSC ERROR: #7 PetscInitialize() at /tmp/petsc-3.17.1/src/sys/objects/pinit.c:1224