[lammps-users] what is "inttypes.h"

when i build the newest verision (06-06-05)in widows and VC++, i
fully followed by note for windows, it tells me there are two error
and some warring. the error is that file dump_dcd.cpp(18) and
dump_dcd.h (17) can not find inculde file"inttypes.h" . i also not
find it in the directory
what and where to find it ?

thanks

H.Q. Lu,

The dump_dcd is a new feature in LAMMPS and probably
no one has tried using VC++ to compile this particular
feature yet. So I'm not surprised you ran into a snag.
The easiest solution would probably be to disable the
dump_dcd capability and compile without it. Otherwise,
you could try to find a copy of the inttypes.h header
file and include it. Good luck on this, and please let
us know if you're able to get it to work.

Paul

when i build the newest verision (06-06-05)in
widows and VC++, i
fully followed by note for windows, it tells me
there are two error
and some warring. the error is that file
dump_dcd.cpp(18) and
dump_dcd.h (17) can not find inculde
file"inttypes.h" . i also not
find it in the directory
what and where to find it ?

thanks

--
Institute of applied mathematics and mechanics
Shanghai University

_______________________________________________
lammps-users mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/lammps-users

Hello everyone,

I noticed that when doing time integration using NVE with periodic boundary
conditions the volume of the simulated crystal remains constant even when
the temperature increases from 0 to the melting point; so apparently there's
no thermal expansion?

Any suggestions?

Jaime Sanchez

Hi
The thing is you are using NVE Ensemble. That means that number of particles (N), volume (V) and energy (E) are kept constant. Therefore it is totally correct that there is no thermal expansion. If you want to see thermal expansion you probably have to use another ensemble (maybe NPT).

Best regards
Christian Müller

-------- Original-Nachricht --------

Thanks for your response Christian; however I did notice some expansion
using NVE when there was a free surface and was expecting to see something
similar with the pbc.

I've been trying to use the NPT ensemble for sometime now, but have problems
with relaxing the pressure. In trying to set it to atmospheric conditions
(1.013 bar) I see that the pressure of the system shows very large
oscillations.

Thanks,
Jaime Sanchez

Thanks Paul for your advices.
I am a lerning for Lammps and Linux. Now i knew my problem comes from
the different between in windows and linux about integet define. I try
to find inttypes.h and get it ,then tell me some wrong about
<stdint.h> can not find in the inntypes.h ,so i find the stdint.h in
the net and add it , then tell me about long wrong......so i give
up . i wonder if the files i find (inttypes.h and stdint.h ) do not
fit my compile enveroment.Perhaps the files is not unique.

now i want disable the feature Dump_dcd .and i want to know how to do
,if it will be added in the header of "dump_dcd.h and dump_dcd.cpp"
like this

#ifndef DUMP_DCD_NONE
#define DUMP_DCD_NONE
#endif
...

2006/6/17, Paul Crozier <[email protected]...>:

To disable DCD as Paul suggests - simply build LAMMPS
after typing "make no-dcd", since its a package.

If you want DCD output support, here is some instructions
someone else passed along for Windows:

8. MSVC does not have a inttypes.h file. The simplest way
   to deal with this problem is to download inttypes.h from the
   following site:
   http://www.koders.com/c/fidDE7D6EFFD475FAB1B7F6A2BBA791401CFA88FFA3.aspx
   and add this file into the workspace.

Steve