lammps | Public development project of the LAMMPS MD software package
kandi X-RAY | lammps Summary
kandi X-RAY | lammps Summary
This is the LAMMPS software package. LAMMPS stands for Large-scale Atomic/Molecular Massively Parallel Simulator. Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This software is distributed under the GNU General Public License. LAMMPS is a classical molecular dynamics simulation code designed to run efficiently on parallel computers. It was developed at Sandia National Laboratories, a US Department of Energy facility, with funding from the DOE. It is an open-source code, distributed freely under the terms of the GNU Public License (GPL) version 2. The primary author of the code is Steve Plimpton, who can be emailed at sjplimp@sandia.gov. The LAMMPS WWW Site at www.lammps.org has more information about the code and its uses.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lammps
lammps Key Features
lammps Examples and Code Snippets
Community Discussions
Trending Discussions on lammps
QUESTION
I installed LAMMPS on WIndows 10 to perform calculations on the GPU. Calculations on a very small scale completed without any problems, but when calculating a structure of some scale, I got the following error.
OpenCL error in file '/home/akohlmey/compile/lammps-packages/mingw-cross/lammps/lib/gpu/geryon/ocl_kernel.h' in line 467 : -4.
What kind of operation can I do to solve this? My English is poor, but thank you for your kindness.
...ANSWER
Answered 2021-Apr-21 at 11:38Error code -4
hints to failed memory allocation, especially if not enough memory is available on the device. Maybe your calculations require too much memory. Also check if you selected the correct device (dedicated GPU rather than CPU or integrated graphics with small memory capacity).
QUESTION
What's means of *=*gpu
in conda/pip install
?
See below:
...ANSWER
Answered 2020-Dec-23 at 11:28The syntax allows you specify the version and build type of the package.
QUESTION
I want to slice the following text
...ANSWER
Answered 2020-Nov-02 at 17:04You can use re
module for the task:
QUESTION
I am a newbie at programming and molecular dynamic simulations. I am using LAMMPS to simulate a physical vapor deposition (PVD) process and to determine the interactions between atoms in different timesteps.
After I perform a molecular dynamics simulation, LAMMPS provides me an output bonds file that contains records of every individual atom( as atom ID), their types (numbers reciprocating to particular elements), and information of other atoms that are bonded with those particular atoms. A typical bonds file looks like this.
I aim to sort atoms according to their types (like Group1: Oxygen-Hydrogen-Hydrogen) in three groups by considering their bonding information from bond output file and count the number of groups for each timestep. I used pandas and created a dataframe for each timestep.
...ANSWER
Answered 2020-Apr-11 at 18:13I'm not sure I understood the logic, see if this helps for 100000 trios it took 41 seconds loc, get_loc are very expansive actions, so instead put your table in a dictionary and instead of validation that everything is unique, put it in a set
QUESTION
I am not very familiar with bash programming. And I tried to write a bash script to reduce my work. what I want is to open the in.lammps file in every folder in this directory and replace some string in the in.lammps file. but it shows such an error. and I also did try:
...ANSWER
Answered 2020-Apr-11 at 00:18Diving in directories on each iteration with cd
would just add unneccessary complexity to your code. Simply write
QUESTION
I am trying to untar a file (new to Bash on Ubuntu on Windows), but it's showing an error. I have saved the file on the proper directory.
drsonamani@LAPTOP-23SII9GR:/$ tar xvzf lammps-stable.tar.gz
tar (child): lammps-stable.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Any help
...ANSWER
Answered 2019-Aug-03 at 04:13I usually use this command to extract the tar.gz to the same directory:
QUESTION
I have a a big text file which content something of the following:
...ANSWER
Answered 2019-Aug-01 at 21:51If you know how many lines to skip and how many to read then use for
-loop with next()
to skip lines and readline()
to read lines
QUESTION
First, I would like to apologize for my extremely basic knowledge about coding. Then I hope that I will be able to express myself correctly about my issue. Do no hesitate to ask for further clarifications or anything else...
I'm encountering troubles postprocessing data...
My goal is to recombine data which were swapped.
EDIT : here is a .rar folder containing my test example which works and the one that I try to make working... (do not be afraid by the time it requires to process the data)
https://drive.google.com/file/d/1AEPUc8haT5_Z3LR3jnZZlpyfxhdDwwo6/view?usp=sharing
EDIT 2 : Here is what I expect on paper (Its my TestReorder3OK folder in my rar archive)
EDIT 3 : MINIMAL COMPLETE EXAMPLE
Script :
...ANSWER
Answered 2018-May-20 at 00:17I think I understand what you're trying do do now and this GNU awk script (for ARGIND, ENDFILE and inbuilt open file management) will do it:
QUESTION
I tried to install lammps on my department machine with a newer version of 11Aug17. However, mpicxx gives error to the following lines:
...ANSWER
Answered 2017-Dec-25 at 01:45Actually, this a fairly well-known issue, and there are three solutions.
- Use GCC rather than an Intel compiler (possibly not desirable).
- Use the
-restrict
flag while compiling (I'm assuming by appending it when running make, likemake CXX_FLAGS=-restrict
- Just remove those two files from the build.
If you really want to try, you could also try to remove the _noalias
keyword using sed or awk from the two offending files: pair_list.h
and pair_list.cpp
, or just define _noalias
to be an empty keyword, as suggested by jww in the comments.
QUESTION
I have data for N atoms including the radius of each atom, the position of each atom and the box dimensions. I want to calculate the number of atoms each atom is in contact with and store the result. This is equivalent to calculating the number of atoms within a specified cutoff distance.
The box has periodic boundary conditions, and hence a difficulty arises in remapping atoms such that the distance calculated between each atom is the minimum possible.
Here is what I have so far:
...ANSWER
Answered 2017-Feb-22 at 18:27Yes, the double-touch issue explains the problem with the 8-atom simulation. Double-touch pairs are 1-8 and 3-6, both of those wrapping through the x dimension. Note the instances in which a difference in one of the dimensions is close to Lx/2, while the other two distances are relatively small. This means that the atoms reach fully around your space-wrap and touch on the other side. Your current code counts only one of the touches.
To fix this, look at touching pairs for distance values in the range Lx-radius - radius (repeating for Ly and Lz). Any you find need to be "inverted": distance = Lx-distance. Then you look for another set of touches involving only those touching pairs you changed.
Note that this can happen only when a box dimension is less than twice the radius. Can you provide error output for such a case? Since you're getting the problem for a larger box, the above issue won't solve the problem with the larger set. Perhaps something with 8 atoms, but a box size of 2.1?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lammps
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page