[lammps-users] make LAMMPS in Windows

Hello everyone,

I just wanted to add a couple of things when compiling LAMMPS on Windows that are not listed in the notes in src\make\windows

  1. add the line #include “erfc.h” in the following files:

pair_coul_long.cpp
pair_lj_charmm_coul_long.cpp
pair_lj_cut_coul_long.cpp

  1. disable dump DCD in style.h
    I’m using Visual Studio 2008 in a Win XP and if I don’t disable this option the code does not compile.

  2. in read_restart.cpp comment line
    #include “dirent.h”
    then comment lines 323 to 340
    I’m not using read_restart in Windows runs so even though this allows the code to compile successfully I don’t necessarily know what this will do if you use this command in windows

Jaime

I'll add these to the notes file.

Thanks,
Steve