Seems that using python2.7 instead of python3.8 solved the above issue.
However, I got another error about MPI_Status.
[ 73%] Building C object CMakeFiles/pastix.dir/sopalin/coeftab.c.o
[ 75%] Building C object CMakeFiles/pastix.dir/sopalin/schur.c.o
In file included from /usr/local/PaStiX/pastix_src/include/pastix.h:39:0,
from /usr/local/PaStiX/pastix_src/common/common.h:22,
from /usr/local/PaStiX/pastix_src/bcsc/bvec.c:15:
/usr/local/PaStiX/pastix_src/include/pastix/nompi.h:21:22: error: two or more data types in declaration specifiers #define MPI_Datatype int
^
/usr/local/PaStiX/pastix_src/include/pastix/nompi.h:25:22: error: two or more data types in declaration specifiers #define MPI_Comm int
^
/usr/local/PaStiX/pastix_src/include/pastix/nompi.h:22:22: error: two or more data types in declaration specifiers #define MPI_Op int
^
/usr/local/PaStiX/pastix_src/include/pastix/nompi.h:23:22: error: two or more data types in declaration specifiers #define MPI_Request int
^
/usr/local/PaStiX/pastix_src/include/pastix/nompi.h:26:22: error: two or more data types in declaration specifiers #define MPI_Fint int
^
In file included from /usr/local/include/parsec/datatype.h:13:0,
from /usr/local/include/parsec.h:16,
from /usr/local/PaStiX/pastix_src/bcsc/bvec.c:19:
/usr/local/include/mpi.h:587:16: error: redefinition of ‘struct MPI_Status’
typedef struct MPI_Status {
^~~~~~~~~~
In file included from /usr/local/PaStiX/pastix_src/include/pastix.h:39:0,
from /usr/local/PaStiX/pastix_src/common/common.h:22,
from /usr/local/PaStiX/pastix_src/bcsc/bvec.c:15:
/usr/local/PaStiX/pastix_src/include/pastix/nompi.h:88:16: note: originally defined here
typedef struct MPI_Status{
^~~~~~~~~~
With adding -DPASTIX_WITH_MPI=ON in make_pastix.sh, it seems OK.
Then when compiling ccx_2.19 with pastix, same error as kmallick had.
/usr/bin/ld: …/…/…/PaStiX/pastix_i8/lib/libpastix.a(isched_hwloc.c.o): undefined reference to symbol ‘hwloc_bitmap_iszero’
/usr/bin/ld: …/…/…/PaStiX/hwloc_i8/lib/libhwloc.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile_i8:39: ccx_2.19_i8] Error 1
Unfortunately, I didn’t get succeed when adding …/…/…/PaStiX/hwloc_i8/lib/libhwloc.so to the end as Kmallick did.