[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] compilation error

From: Olaf Lenz
Subject: Re: [ESPResSo-users] compilation error
Date: Mon, 24 Mar 2014 17:55:57 +0100


Could you please send us the file "config.log" that you should find in the directory where you ran configure.


2014-03-24 17:00 GMT+01:00 Xikai Jiang <address@hidden>:
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!



Dr. rer. nat. Olaf Lenz
Institut für Computerphysik, Allmandring 3, D-70569 Stuttgart
Phone: +49-711-685-63607

reply via email to

[Prev in Thread] Current Thread [Next in Thread]