Following this link:http://www.dhondt.de/ccx_2.20.README.INSTALL I am trying to install the PaStix4Calculix but having compiling issues when I run the make_pastix.sh. First there is a line which just contains the work HEAD which throws error so I had to remove it.
Then after some time there was an issue saying in one of the files in parsec folder of Pastix4Calculix there is a line called import mpi.h and couldn’t find it the file so then I altered my environement variable and added the MPI location and then this compiles good but after some time I get another compile error which states that ther is conflicting libraries definitions for mpi.h and nompi.h where nompi.h is somewhere references in the sopalin folder inside can you help me out
The make_pastix.sh is as follows
#!/bin/bash
if ! [[ -d build ]]; then
mkdir build
fi
cd build
INSTALLPATH=“~/pastix”
CUDADIR=“/usr/lib/cuda”
PARSECDIR=“/usr/lib/parsec”
SCOTCHDIR=“/usr/lib/scotch”
HWLOCDIR=“/usr/lib/hwloc”
cmake
-DCUDA_TOOLKIT_ROOT_DIR=${CUDADIR}
-DCMAKE_INSTALL_PREFIX=${INSTALLPATH}
-DCMAKE_BUILD_TYPE=Release
-DPASTIX_WITH_PARSEC=ON
-DPARSEC_DIR=${PARSECDIR}
-DSCOTCH_DIR=${SCOTCHDIR}
-DHWLOC_DIR=${HWLOCDIR}
-DPASTIX_WITH_CUDA=ON
-DCUDA_DIR=${CUDADIR}
-DPASTIX_ORDERING_SCOTCH=ON
-DCMAKE_C_COMPILER=gcc
-DCMAKE_CXX_COMPILER=g++
-DCMAKE_Fortran_COMPILER=gfortran
-DCMAKE_C_FLAGS=“-fopenmp”
…
make -j8
make install
The error displayed is as follows, I am putting the entire error details since I couldn’t find what is the exact reason for this
Scanning dependencies of target pastix_parsec
[ 61%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_cgetrf.c.o
[ 61%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_dgetrf.c.o
[ 61%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_spotrf.c.o
[ 61%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_zgetrf.c.o
[ 61%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_chetrf.c.o
[ 61%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_sgetrf.c.o
[ 61%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_zhetrf.c.o
[ 62%] Building C object sopalin/parsec/CMakeFiles/pastix_parsec.dir/parsec_cpotrf.c.o
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:86:15: error: conflicting types for ‘MPI_User_function’
typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * );
^~~~~~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:86:15: error: conflicting types for ‘MPI_User_function’
typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * );
^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:448:15: note: previous declaration of ‘MPI_User_function’ was here
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
^~~~~~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:92:3: error: conflicting types for ‘MPI_Status’
} MPI_Status;
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:409:37: note: previous declaration of ‘MPI_Status’ was here
typedef struct ompi_status_public_t MPI_Status;
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:448:15: note: previous declaration of ‘MPI_User_function’ was here
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
^~~~~~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:92:3: error: conflicting types for ‘MPI_Status’
} MPI_Status;
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:409:37: note: previous declaration of ‘MPI_Status’ was here
typedef struct ompi_status_public_t MPI_Status;
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:172:1: error: conflicting types for ‘MPI_Gather’
MPI_Gather( const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1534:20: note: previous declaration of ‘MPI_Gather’ was here
OMPI_DECLSPEC int MPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:187:1: error: conflicting types for ‘MPI_Allreduce’
MPI_Allreduce( const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1302:20: note: previous declaration of ‘MPI_Allreduce’ was here
OMPI_DECLSPEC int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:196:1: error: conflicting types for ‘MPI_Alltoall’
MPI_Alltoall( const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1306:20: note: previous declaration of ‘MPI_Alltoall’ was here
OMPI_DECLSPEC int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:210:1: error: conflicting types for ‘MPI_Reduce’
MPI_Reduce( const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1706:20: note: previous declaration of ‘MPI_Reduce’ was here
OMPI_DECLSPEC int MPI_Reduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:172:1: error: conflicting types for ‘MPI_Gather’
MPI_Gather( const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:220:1: error: conflicting types for ‘MPI_Bcast’
MPI_Bcast( void *buffer, int count, MPI_Datatype datatype, int root,
^~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_sgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1326:20: note: previous declaration of ‘MPI_Bcast’ was here
OMPI_DECLSPEC int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype,
^~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1534:20: note: previous declaration of ‘MPI_Gather’ was here
OMPI_DECLSPEC int MPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:86:15: error: conflicting types for ‘MPI_User_function’
typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * );
^~~~~~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:187:1: error: conflicting types for ‘MPI_Allreduce’
MPI_Allreduce( const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1302:20: note: previous declaration of ‘MPI_Allreduce’ was here
OMPI_DECLSPEC int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:196:1: error: conflicting types for ‘MPI_Alltoall’
MPI_Alltoall( const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1306:20: note: previous declaration of ‘MPI_Alltoall’ was here
OMPI_DECLSPEC int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:448:15: note: previous declaration of ‘MPI_User_function’ was here
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
^~~~~~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:210:1: error: conflicting types for ‘MPI_Reduce’
MPI_Reduce( const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:92:3: error: conflicting types for ‘MPI_Status’
} MPI_Status;
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1706:20: note: previous declaration of ‘MPI_Reduce’ was here
OMPI_DECLSPEC int MPI_Reduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:409:37: note: previous declaration of ‘MPI_Status’ was here
typedef struct ompi_status_public_t MPI_Status;
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:220:1: error: conflicting types for ‘MPI_Bcast’
MPI_Bcast( void *buffer, int count, MPI_Datatype datatype, int root,
^~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_cgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1326:20: note: previous declaration of ‘MPI_Bcast’ was here
OMPI_DECLSPEC int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype,
^~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:172:1: error: conflicting types for ‘MPI_Gather’
MPI_Gather( const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1534:20: note: previous declaration of ‘MPI_Gather’ was here
OMPI_DECLSPEC int MPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:187:1: error: conflicting types for ‘MPI_Allreduce’
MPI_Allreduce( const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1302:20: note: previous declaration of ‘MPI_Allreduce’ was here
OMPI_DECLSPEC int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_zhetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:86:15: error: conflicting types for ‘MPI_User_function’
typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * );
^~~~~~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:196:1: error: conflicting types for ‘MPI_Alltoall’
MPI_Alltoall( const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1306:20: note: previous declaration of ‘MPI_Alltoall’ was here
OMPI_DECLSPEC int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
^~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:210:1: error: conflicting types for ‘MPI_Reduce’
MPI_Reduce( const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1706:20: note: previous declaration of ‘MPI_Reduce’ was here
OMPI_DECLSPEC int MPI_Reduce(const void *sendbuf, void *recvbuf, int count,
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:220:1: error: conflicting types for ‘MPI_Bcast’
MPI_Bcast( void *buffer, int count, MPI_Datatype datatype, int root,
^~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_chetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1326:20: note: previous declaration of ‘MPI_Bcast’ was here
OMPI_DECLSPEC int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype,
^~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_zhetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:448:15: note: previous declaration of ‘MPI_User_function’ was here
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
^~~~~~~~~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_zhetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:92:3: error: conflicting types for ‘MPI_Status’
} MPI_Status;
^~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_zhetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:409:37: note: previous declaration of ‘MPI_Status’ was here
typedef struct ompi_status_public_t MPI_Status;
^~~~~~~~~~
In file included from /home/vicknesh/PaStiX/pastix_src/include/pastix.h:39,
from /home/vicknesh/PaStiX/pastix_src/common/common.h:22,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_zgetrf.c:24:
/home/vicknesh/PaStiX/pastix_src/include/pastix/nompi.h:86:15: error: conflicting types for ‘MPI_User_function’
typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * );
^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/parsec/datatype.h:13,
from /usr/local/include/parsec.h:16,
from /home/vicknesh/PaStiX/pastix_src/build/sopalin/parsec/parsec_zgetrf.c:19:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:448:15: note: previous declaration of ‘MPI_User_function’ was here
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
^~~~~~~~~~~~~~~~~