Computational Materials Modelling Using LAMMPS: Installation and running of LAMMPS

Installation and running of LAMMPS

LAMMPS Installation

Installation in windows 


2. Click on 32-bit available versions with all available installer versions or 64-bit available versions with all available installer versions as per your system configuration.

3. Download LAMMPS 32-bit-19 April 2020.exe or LAMMPS 64-bit-19 April 2020.exe as per your system configuration. These are the latest version available when I am making the blog. You can download whatever the latest version available.

Installation in Ubuntu and other LINUX systems

2. Follow the instruction given for the installation.

Installation in Mac

1. Go to Brew and install Homebrew.

2. Open terminal and go to home directory.

3. Type brew install lammps and press enter. Make sure that you have stable internet connection while doing this. As you will see LAMMPS will get installed.

4. Visit https://lammps.sandia.gov/doc/Install_mac.html for further details on installation.

Running LAMMPS in Windows

1. Open command prompt 
2. Go to the directory where you have your input script by using "cd" command in command prompt 
3. Type "lmp_serial.exe<inputscript.in" and press enter (replace "inputscript.in" with input file name. Your input file can be in ".in" or ".txt" format).

Running LAMMPS in Linux and Mac

1. Open terminal 
2. Go to "LAMMPS_test_run" folder by using "cd" command in the terminal 
3. Type "lmp_serial -in inputscript.in" and press enter (replace "inputscript.in" with input file name. Your input file can be in ".in" or ".txt" format).


So these are the steps for installation and running of LAMMPS. If you have any difficulty do mention in comment session or contact me through E-Mail.

6 comments:

  1. I have a macbook, please let us know about installation procedure in macbook.

    ReplyDelete
    Replies
    1. I have updated the installation and running process for LAMMPS in Mac. Try it and if you have any difficulty let me know.

      Delete
  2. This is very interesting. It is highly helpful and I need your help in guiding me further till I master the use of LAMMPS. Thanks so much.

    ReplyDelete
    Replies
    1. I am happy to help you. Do follow the blog for further updates. Contact me through email for further queries.

      Delete
  3. I have installed lammps but how can i start lammps and how can i check where my lammps directory is present

    ReplyDelete