[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: |
Wed, 3 May 2017 14:35:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Dear Rudolf,
thanks for your reply. Everything works, when I move the myconfig.hpp
file to the build directory before I cmake.
Thanks for your help!
Best,
Clemens
On 28.04.2017 20:09, Rudolf Weeber wrote:
> Hi Clemens,
>> 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,
> this looks like the default set of features (which is used, when no myconfig
> is present)
> This typically happens, when Espresso was built in a directory initially
> without a myconfig.hp present.
> The build then falls back to the default and unfortunately remembers the fact
> that it did so, ignoring all myconfig.hpp files appearing at a later time.
>
> Please start over with an empty build directory or delete the cmake cache in
> the build directory.
> Then, the easiest way is to put the myconfig.hpp (using that name) into the
> build directory, and building without any special parameters.
>
> i.e.,
> mkdir build
> cd build
> cp desired_myconfig.hpp myconfig.hpp
> cmake source_direcotry
> make
>
> Regards, Rudolf
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [ESPResSo-users] Compilation trouble,
Clemens Jochum <=