changed reading hint
[gromacs/adressmacs.git] / include / main.h
blobda4bb4298e6f1faeb299c84ffe3cd5f96adb4389
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 2.0
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * Please refer to:
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
23 * or e-mail to:
24 * gromacs@chem.rug.nl
26 * And Hey:
27 * Good ROcking Metal Altar for Chronical Sinners
30 #ifndef _main_h
31 #define _main_h
33 static char *SRCID_main_h = "$Id$";
35 #ifdef HAVE_IDENT
36 #ident "@(#) main.h 1.3 11/23/92"
37 #endif /* HAVE_IDENT */
39 #include <stdio.h>
40 #include "network.h"
42 extern FILE *stdlog;
43 extern int gmx_parallel; /* 1 when running in parallel */
45 extern char *par_fn(char *base,int ftp,t_commrec *cr);
46 /* Add processor id in the filename right before the extension */
48 extern void open_log(char *fn,t_commrec *cr);
49 /* Open the log file, if necessary (nprocs > 1) the logfile name is
50 * communicated around the ring.
53 extern t_commrec *init_par(int *argc,char ***argv_ptr);
54 /* Initiate the parallel computer. Return the communication record
55 * (see network.h). The command line arguments are communicated so that they can be
56 * parsed on each processor.
57 * Arguments are the number of command line arguments, and a pointer to the
58 * array of argument strings.
61 #endif /* _main_h */