here is one example with the shared objects listed at the bottom.
I don’t think this has ever worked right I just didn’t need it for initial testing.
Thanks.
cat advection-TS-2d-PETSc.edp.log
‘/home/ubuntu/dev/freefem/install2/ff-petsc/r/bin/mpiexec’ -np 4 …/…/src/mpi/FreeFem+±mpi -nw ‘./advection-TS-2d-PETSc.edp’
try initfile : freefem++.pref
load path :
…/…/plugin/mpi/
…/…/plugin/seq/
(.)
include path :
…/…/idp/
(.)
try initfile : freefem++.pref
load path :
…/…/plugin/mpi/
…/…/plugin/seq/
(.)
include path :
…/…/idp/
(.)
try initfile : freefem++.pref
load path :
…/…/plugin/mpi/
…/…/plugin/seq/
(.)
include path :
…/…/idp/
(.)
try initfile : freefem++.pref
load path :
…/…/plugin/mpi/
…/…/plugin/seq/
(.)
include path :
…/…/idp/
(.)
initparallele rank 0 on 4
initparallele rank 1 on 4
ARGV 1 -nw initparallele rank 2 on 4
ARGV 1 -nw
ARGV 2 ./advection-TS-2d-PETSc.edp
ARGV 2 ./advection-TS-2d-PETSc.edp
fn: initparallele rank 3 on fn: ./advection-TS-2d-PETSc.edp
./advection-TS-2d-PETSc.edp
ARGV 1 -nw
ARGV 2 ./advection-TS-2d-PETSc.edp
fn: ./advection-TS-2d-PETSc.edp4
ARGV 1 -nw
ARGV 2 ./advection-TS-2d-PETSc.edp
fn: ./advection-TS-2d-PETSc.edp-- FreeFem++ v4.12 (Sun Jan 22 17:51:12 EST 2023 - git no git)
file : ./advection-TS-2d-PETSc.edp verbosity= 5
Load: Load: Load: Load: lg_fem lg_mesh glumesh2D glumesh2D glumesh2D glumesh2D lg_mesh3 eigenvalue parallelempi
PreEnv load :funcTemplate
PreEnv load :funcTemplate
PreEnv load :funcTemplate
PreEnv load :funcTemplate
(load: dlopen …/…/plugin/mpi/funcTemplate.so 0x25cacd0)PreEnv load :myfunction
PreEnv load :myfunction
PreEnv load :myfunction
PreEnv load :myfunction
(load: dlopen …/…/plugin/mpi/myfunction.so 0x25cc460)PreEnv load :MUMPS_seq
PreEnv load :MUMPS_seq
PreEnv load :MUMPS_seq
PreEnv load :MUMPS_seq
init MUMPS_SEQ: MPI_Init
init MUMPS_SEQ: MPI_Init
init MUMPS_SEQ: MPI_Init
init MUMPS_SEQ: MPI_Init
Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(59): MPI_Init(argc=0x7ffce8e1ae0c, argv=0x7ffce8e1ae10) failed
internal_Init(39): Cannot call MPI_INIT or MPI_INIT_THREAD more than once
Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(59): MPI_Init(argc=0x7fff97490a6c, argv=0x7fff97490a70) failed
internal_Init(39): Cannot call MPI_INIT or MPI_INIT_THREAD more than once
Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(59): MPI_Init(argc=0x7ffe9b7d4a6c, argv=0x7ffe9b7d4a70) failed
internal_Init(39): Cannot call MPI_INIT or MPI_INIT_THREAD more than once
Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(59): MPI_Init(argc=0x7fff34e525bc, argv=0x7fff34e525c0) failed
internal_Init(39): Cannot call MPI_INIT or MPI_INIT_THREAD more than once
marchywka@happy:/home/ubuntu/dev/freefem/FreeFem-sources-master/examples/hpddm$ ldd /home/ubuntu/dev/freefem/install2/ff-petsc/r/bin/mpiexec
linux-vdso.so.1 => (0x00007ffe804b0000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f198bf2d000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f198c411000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f198bd10000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f198b946000)
/lib64/ld-linux-x86-64.so.2 (0x00007f198c236000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f198b73e000)
marchywka@happy:/home/ubuntu/dev/freefem/FreeFem-sources-master/examples/hpddm$ marchywka@happy:/home/ubuntu/dev/freefem/FreeFem-sources-master/examples/hpddm$ marchywka@happy:/home/ubuntu/dev/freefem/FreeFem-sources-master/examples/hpddm$ marchywka@happy:/home/ubuntu/dev/freefem/FreeFem-sources-master/examples/hpddm$ marchywka@happy:/home/ubuntu/dev/freefem/FreeFem-sources-master/examples/hpddm$ ldd …/…/src/mpi/FreeFem+±mpi
linux-vdso.so.1 => (0x00007fffe954d000)
libumfpack.so.5 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libumfpack.so.5 (0x00007fb17ed28000)
libcholmod.so.3 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libcholmod.so.3 (0x00007fb17ea1d000)
liblapack.so.3 => /usr/lib/liblapack.so.3 (0x00007fb17e225000)
libblas.so.3 => /usr/lib/libblas.so.3 (0x00007fb17dfe7000)
libmpi.so.12 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libmpi.so.12 (0x00007fb17d8dd000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb17d6d9000)
libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007fb17d3ae000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb17d0a5000)
libhdf5_serial.so.10 => /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.10 (0x00007fb17cc07000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb17c9ea000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb17c668000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb17c452000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb17c088000)
libamd.so.2 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libamd.so.2 (0x00007fb17be7e000)
libsuitesparseconfig.so.5 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libsuitesparseconfig.so.5 (0x00007fb17bc7b000)
libcolamd.so.2 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libcolamd.so.2 (0x00007fb17ba73000)
libccolamd.so.2 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libccolamd.so.2 (0x00007fb17b866000)
libcamd.so.2 => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libcamd.so.2 (0x00007fb17b65a000)
libmetis.so => /home/ubuntu/dev/freefem/install2/ff-petsc/r/lib/libmetis.so (0x00007fb17b3e8000)
libatlas.so.3 => /usr/lib/libatlas.so.3 (0x00007fb17ae4a000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fb17f1c4000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb17ac42000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb17eff0000)
libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007fb17aa03000)
libsz.so.2 => /usr/lib/x86_64-linux-gnu/libsz.so.2 (0x00007fb17a800000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb17a5e6000)
libaec.so.0 => /usr/lib/x86_64-linux-gnu/libaec.so.0 (0x00007fb17a3de000)