Thank you Prof. Pierre Jolivet. Let me try to fix the install errors first, and I may come back to you if I will not fix it. Can I ask you a question about transferMat(), it seems the vectorial fespace function is not allowed? I did
func PV1=[P2,P2,P1];
func PV2=[P2,P2];
Mat A,K,P;
buildDmesh(Th);
{
macro def(i)[i, i#B, i#C]//
macro init(i)[i, i, i]//
createMat(Th, A, PV1)
}
buildDmesh(Ths);
{
macro def(i)[i, i#B]//
macro init(i)[i, i]//
createMat(Ths, K, PV2)
}
transferMat(Ths, PV2, K, Th, PV1, A, P)
and I came across the follow errors:
[scsywan@login2.arc4 fsi_two_meshes]$ singularity run -e --env OMP_NUM_THREADS=1 --bind /nobackup:/nobackup …/freefem.sif ff-mpirun -n 2 $PWD/fsi_2d.edp -v 0
‘/usr/freefem/ff-petsc/r/bin/mpiexec’ -n 2 /usr/freefem/bin/FreeFem+±mpi -nw /nobackup/scsywan/fsi_two_meshes/fsi_2d.edp -v 0
the array size must be 2 not 1
current line = 1304 mpirank 1 / 2
the array size must be 2 not 1
Error line number 1304, in file macro: transferBase in /usr/freefem/lib/ff++/4.7-1/idp/macro_ddm.idp, before token ;
Invalide array size for vectorial fespace function
current line = 1304 mpirank 0 / 2
Compile error : Invalide array size for vectorial fespace function
line number :1304, ;
error Compile error : Invalide array size for vectorial fespace function
line number :1304, ;
code = 1 mpirank: 0