~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to examples/COUPLE/simple/README

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
The 3 codes do the same thing, so you can compare them to see how to
14
14
drive LAMMPS in this manner. The C driver is similar in spirit to what
15
 
one could use to write a scripting language interface.  The Fortran
16
 
driver in addition requires a wrapper library that interfaces the C
17
 
interface of the LAMMPS library to Fortran and also translates the MPI
18
 
communicator from Fortran to C.
 
15
one could use to write a scripting language interface.  See
 
16
python/examples/simple.py for an example of using Python as a wrapper
 
17
in that way.  The Fortran driver in addition requires a wrapper
 
18
library that interfaces the C interface of the LAMMPS library to
 
19
Fortran and also translates the MPI communicator from Fortran to C.
19
20
 
20
21
First, you must build LAMMPS as a library, either static or shared.
21
22
See http://lammps.sandia.gov/doc/Section_start.html#start_5 for