4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
27 * Good ROcking Metal Altar for Chronical Sinners
33 static char *SRCID_main_h = "$Id$";
40 #ident "@(#) main.h 1.3 11/23/92"
41 #endif /* HAVE_IDENT */
47 extern int gmx_parallel; /* 1 when running in parallel */
49 extern char *par_fn(char *base,int ftp,t_commrec *cr);
50 /* Add processor id in the filename right before the extension */
52 extern void open_log(char *fn,t_commrec *cr);
53 /* Open the log file, if necessary (nprocs > 1) the logfile name is
54 * communicated around the ring.
57 extern t_commrec *init_par(int *argc,char ***argv_ptr);
58 /* Initiate the parallel computer. Return the communication record
59 * (see network.h). The command line arguments are communicated so that they can be
60 * parsed on each processor.
61 * Arguments are the number of command line arguments, and a pointer to the
62 * array of argument strings.