[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo-users] Compilation trouble
From: |
Rudolf Weeber |
Subject: |
Re: [ESPResSo-users] Compilation trouble |
Date: |
Fri, 28 Apr 2017 20:09:32 +0200 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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