lammps | Public development project of the LAMMPS MD software package

 by   lammps C++ Version: stable_23Jun2022_update4 License: GPL-2.0

kandi X-RAY | lammps Summary

kandi X-RAY | lammps Summary

lammps is a C++ library typically used in Simulation applications. lammps has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

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

            kandi-support Support

              lammps has a medium active ecosystem.
              It has 1696 star(s) with 1522 fork(s). There are 118 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 53 open issues and 865 have been closed. On average issues are closed in 67 days. There are 14 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of lammps is stable_23Jun2022_update4

            kandi-Quality Quality

              lammps has no bugs reported.

            kandi-Security Security

              lammps has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              lammps is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              lammps releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lammps
            Get all kandi verified functions for this library.

            lammps Key Features

            No Key Features are available at this moment for lammps.

            lammps Examples and Code Snippets

            No Code Snippets are available at this moment for lammps.

            Community Discussions

            QUESTION

            How to run lammps with GPU package in windows10?
            Asked 2021-Apr-21 at 11:38

            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:38

            Error 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).

            Source https://stackoverflow.com/questions/67190415

            QUESTION

            What‘s mean of *=*gpu in conda/pip install?
            Asked 2020-Dec-23 at 11:28

            What's means of *=*gpu in conda/pip install?

            See below:

            ...

            ANSWER

            Answered 2020-Dec-23 at 11:28

            The syntax allows you specify the version and build type of the package.

            Source https://stackoverflow.com/questions/65402208

            QUESTION

            Slicing a portion of a text file with similar start and end strings in python
            Asked 2020-Nov-02 at 17:10

            I want to slice the following text

            ...

            ANSWER

            Answered 2020-Nov-02 at 17:04

            You can use re module for the task:

            Source https://stackoverflow.com/questions/64649845

            QUESTION

            How to subdivide atoms into groups of three according to their bonding data that is imported from a LAMMPS output file via Pandas?
            Asked 2020-Apr-11 at 18:13

            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:13

            I'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

            Source https://stackoverflow.com/questions/61045690

            QUESTION

            How to use bash for loop with sed to search and replace the string in a file repeatedly?
            Asked 2020-Apr-11 at 00:31

            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:18

            Diving in directories on each iteration with cd would just add unneccessary complexity to your code. Simply write

            Source https://stackoverflow.com/questions/61150398

            QUESTION

            How to untar a file
            Asked 2019-Aug-03 at 13:40

            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:13

            I usually use this command to extract the tar.gz to the same directory:

            Source https://stackoverflow.com/questions/57335266

            QUESTION

            Reading only specific portion of a text file and output them to diffrent text files
            Asked 2019-Aug-01 at 21:51

            I have a a big text file which content something of the following:

            ...

            ANSWER

            Answered 2019-Aug-01 at 21:51

            If 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

            Source https://stackoverflow.com/questions/57316303

            QUESTION

            Processing data swapped over files BASH
            Asked 2018-May-20 at 00:17

            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)

            enter image description here

            EDIT 3 : MINIMAL COMPLETE EXAMPLE

            Script :

            ...

            ANSWER

            Answered 2018-May-20 at 00:17

            I 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:

            Source https://stackoverflow.com/questions/50427071

            QUESTION

            Build failure of OpenMPI due to _noalias when using mpicxx
            Asked 2018-Jan-01 at 15:44

            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:45

            Actually, this a fairly well-known issue, and there are three solutions.

            1. Use GCC rather than an Intel compiler (possibly not desirable).
            2. Use the -restrict flag while compiling (I'm assuming by appending it when running make, like make CXX_FLAGS=-restrict
            3. 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.

            Source https://stackoverflow.com/questions/47965041

            QUESTION

            Calculation of Contact/Coordination number with Periodic Boundary Conditions
            Asked 2017-Feb-24 at 17:35

            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:27

            Yes, 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?

            Source https://stackoverflow.com/questions/42397870

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install lammps

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link