espressomd-users
[Top][All Lists]
Advanced

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

Re: [ESPResSo-users] Compilation trouble


From: Clemens Jochum
Subject: Re: [ESPResSo-users] Compilation trouble
Date: Fri, 28 Apr 2017 18:59:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Dear Rudolf,

thanks for your message.
I think the python branch is already default. I was already on it, without explicitly changing to it.

Your way works, however "code_info.features()" lists:

BOND_ANGLE, BUCKINGHAM, COMFIXED, COMFORCE, CONSTRAINTS, ELECTROSTATICS, EXCLUSIONS, EXTERNAL_FORCES, FFTW, FORCE_CORE, H5MD, LENNARD_JONES, LENNARD_JONES_GENERIC, LJCOS, LJCOS2, MASS, MORSE, MPI_CORE, NPT, P3M, PARTIAL_PERIODIC, SOFT_SPHERE, TABULATED,

which I think are all available features, instead of the few I wanted to compile. So it seems like make does not take my config into account, even though cmake knows the path. I had a similar problem on my computer, which is why I used:
[...]$ ~/build/pypresso$ make myconfig=myconfig.hpp

But on the cluster this does not work. I'll see if I can get it to run with a different compiler.


Best,
Clemens

On 27.04.2017 18:45, Rudolf Weeber wrote:
Hi,
On Thu, Apr 27, 2017 at 05:25:22PM +0200, Clemens Jochum wrote:
Dear all,

[...]$ ~/build/pypresso$ make myconfig=myconfig.hpp
Is this supposed to work with the CMake build system, at all?

Probably, the way to set this is to do

cmake path_to_source
ccmake path_to_source
and then change the value of MYCONFIG_NAME
or from the shell
cmake -D MYCONFIG_NAME=path_to_myconfig path_to_source

Haven't tried any of them, though.

If that's not the issue, on an other note: are you using the same compiler on your own machine and the cluster?

In case, you intend to use the python interface, please also make sure, you use thew "python" branch from github.com/espressomd/espresso rather than the master branch or the last release.

Regards, Rudolf




reply via email to

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