[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo] Question about compilation
From: |
Axel Arnold |
Subject: |
Re: [ESPResSo] Question about compilation |
Date: |
Mon, 17 Aug 2009 09:59:18 +0200 |
User-agent: |
KMail/1.9.4 |
On Saturday 15 August 2009 14:01, Ahmad A. J. Agung wrote:
> Hi,
>
> FMIIW, I think the file $built_directory/config/myconfig.h is just a simply
> copied file from $source_directory/config/myconfig-default.h.in, containing
> the default feature of Espresso. You may prove it by modify the content of
> file $source_directory/config/myconfig-default.h.in with ANYTHING you want
> (copy the original file to another file name), then compile Espresso with
> your own "myconfig.h" in $built_directory.
>
> To see whether your modification of
> $source_directory/config/myconfig-default.h.in will affect the simulation
> result, you can compare the simulation result before and after you do this
> modification. I think the result will be same as long you use the same
> "myconfig.h" file in $built_directory.
Hi!
The myconfig.h in the config subdirectory is the fallback in case you do not
have your own myconfig.h in the source or build directory. This fallback file
will be overwritten everytime you reconfigure Espresso, so don't do any
modifications to config/myconfig.h.
To know what has been compiled into your Espresso, simply use the
command "code_info", or "puts [code_info]" in a script, which will output all
the flags that were enabled in myconfig.h. In your case, there should appear
BOND_ANGLE_COSSQUARE.
Axel
--
Dr. Axel Arnold
Fraunhofer SCAI
Schloss Birlinghoven, 53754 Sankt Augustin, Germany
Tel: +49 2241 14 2575