aehogan / lammps-induced-dipole-polarization-pair-style Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/lammps-induced-dipole-polarization-pair-style
License: GNU General Public License v2.0
Automatically exported from code.google.com/p/lammps-induced-dipole-polarization-pair-style
License: GNU General Public License v2.0
Hi,
I met errors when compile:
$ make mpi
make[1]: Entering directory `/HOME/nscc-gz_pinchen/sf_box/lammps-PIM2/lammps-induced-dipole-polarization-pair-style/src/Obj_mpi'
cc -O -o fastdep.exe ../DEPEND/fastdep.c
make[1]: Leaving directory `/HOME/nscc-gz_pinchen/sf_box/lammps-PIM2/lammps-induced-dipole-polarization-pair-style/src/Obj_mpi'
make[1]: Entering directory `/HOME/nscc-gz_pinchen/sf_box/lammps-PIM2/lammps-induced-dipole-polarization-pair-style/src/Obj_mpi'
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -I/usr/local/mpi3-dynamic/include -I/WORK/app/intel/composer_xe_2015.1.133/mkl/include/fftw -c ../angle.cpp
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -I/usr/local/mpi3-dynamic/include -I/WORK/app/intel/composer_xe_2015.1.133/mkl/include/fftw -c ../angle_hybrid.cpp
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -I/usr/local/mpi3-dynamic/include -I/WORK/app/intel/composer_xe_2015.1.133/mkl/include/fftw -c ../angle_zero.cpp
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -I/usr/local/mpi3-dynamic/include -I/WORK/app/intel/composer_xe_2015.1.133/mkl/include/fftw -c ../atom.cpp
../atom.cpp(23): catastrophic error: cannot open source file "atom_vec_ellipsoid.h"
#include "atom_vec_ellipsoid.h"
^
compilation aborted for ../atom.cpp (code 4)
make[1]: *** [atom.o] Error 4
make[1]: Leaving directory `/HOME/nscc-gz_pinchen/sf_box/lammps-PIM2/lammps-induced-dipole-polarization-pair-style/src/Obj_mpi'
make: *** [mpi] Error 2
Then I copy atom_vec_ellipsoid.h from src of lammps-31Mar17; then some miss files like:accelerator_kokkos.h, dihedral_hybrid*,improper_hybrid.*,math_complex.h...
and then:
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -I/usr/local/mpi3-dynamic/include -I/WORK/app/intel/composer_xe_2015.1.133/mkl/include/fftw -c ../special.cpp
../special.cpp(595): error: pointer to incomplete class type is not allowed
memoryKK->grow_kokkos(atomKK->k_special,atom->special,
^
compilation aborted for ../special.cpp (code 2)
make[1]: *** [special.o] Error 2
I do not need kokkos, so i comment out this line in special.cpp. Finally, The compilation passed. When I test Bulk H2 example, I got an error:
Reading data file ...
orthogonal box = (-10.7974 -10.7974 -10.7974) to (10.7974 10.7974 10.7974)
1 by 1 by 1 MPI processor grid
reading atoms ...
750 atoms
scanning bonds ...
4 = max bonds/atom
reading bonds ...
600 bonds
Finding 1-2 1-3 1-4 neighbors ...
special bond factors lj: 0 0 0
special bond factors coul: 0 0 0
4 = max # of 1-2 neighbors
3 = max # of 1-3 neighbors
3 = max # of 1-4 neighbors
4 = max # of special neighbors
Setting atom values ...
ERROR: Cannot set this attribute for this atom style (../set.cpp:179)
Last command: set type 1 static_polarizability 0.69380 #H2G
yhrun: error: cn10986: task 0: Exited with exit code 1
I found that the static_polarizability_flag could not get vaule, So I give 1 to static_polarizability_flag directly in atom.cpp, but error still occured:
yhrun -n 1 lmp_mpi -in h2.input
.....
Finding 1-2 1-3 1-4 neighbors ...
special bond factors lj: 0 0 0
special bond factors coul: 0 0 0
4 = max # of 1-2 neighbors
3 = max # of 1-3 neighbors
3 = max # of 1-4 neighbors
4 = max # of special neighbors
Setting atom values ...
yhrun: error: cn10432: task 0: Segmentation fault
I tracked this bug for missing creating memory for static_polarizability. Then I met a lot of errors of "Segmentation fault".
Finally, I want to ask if I make a mistake when compile, or my compiling environment is wrong? I found that you have executed the example of Bulk H2 with log.lammps, or the current version of lammps is not stable?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.