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

« back to all changes in this revision

Viewing changes to examples/COUPLE/simple/simple.cpp

  • 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:
13
13
 
14
14
// c++_driver = simple example of how an umbrella program
15
15
//              can invoke LAMMPS as a library on some subset of procs
16
 
// Syntax: c++_driver P in.lammps
 
16
// Syntax: simpleCC P in.lammps
17
17
//         P = # of procs to run LAMMPS on
18
18
//             must be <= # of procs the driver code itself runs on
19
19
//         in.lammps = LAMMPS input script
40
40
  MPI_Init(&narg,&arg);
41
41
 
42
42
  if (narg != 3) {
43
 
    printf("Syntax: c++_driver P in.lammps\n");
 
43
    printf("Syntax: simpleCC P in.lammps\n");
44
44
    exit(1);
45
45
  }
46
46