|
From: | Olaf Lenz |
Subject: | Re: [ESPResSo-users] compilation error |
Date: | Mon, 24 Mar 2014 17:55:57 +0100 |
Dear Espresso:
I'm using the latest development code from the branch of Konrad. When I compile the source code (configure --without-mpi --without-cuda), I met many error messages with mpi.cpp:
source/src/mpifake/mpi.cpp(45): error: identifier "malloc" is undefined
ntype = *newtype = malloc(sizeof(struct mpifake_dtype));
source/src/mpifake/mpi.cpp(45): error: a value of type "MPI_Datatype" cannot be assigned to an entity of type "mpifake_dtype *"
ntype = *newtype = malloc(sizeof(struct mpifake_dtype));
source/src/mpifake/mpi.cpp(47): error: pointer to incomplete class type is not allowed
ntype->format = LAM_DTSTRUCT;
I also tried to compile with mpi, but still errors with:
undefined reference to 'ompi_mpi_double'
undefined reference to 'MPI_Bcast'
I'm not sure where the problem is, any help are appreciated!
Thanks!
Jimmy
[Prev in Thread] | Current Thread | [Next in Thread] |