One more included-by-all header to utility/.
Mainly mechanical replacement of include paths, some reordering in C++
files. Minor clean-up in the moved files.
gmx_fatal_collective.h not moved at this point, as it is unclear whether
it should go here, or somewhere else (utility/ should not depend on
t_commrec...).
Now, it's mainly types/simple.h that prevents removing some module-level
dependencies to legacyheaders/. Finding a good location for that (or
its contents, if it needs to be split), and reorganizing the code a bit
more should now allow really putting utility/ at the bottom of the
dependency stack where it belongs.
Part of #1415.
Change-Id: I6e487566d5bd7c9ec7a1455a2d31bd6d645bada3
#include "copyrite.h"
#include "sysstuff.h"
#include "txtdump.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/xtcio.h"
#include "gromacs/fileio/enxio.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
#include "gromacs/fileio/pdbio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xvgr.h"
#include "gromacs/fileio/matio.h"
#include "index.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
#include "gromacs/fileio/confio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xvgr.h"
#include "gstat.h"
#include "index.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "random.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/futil.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "random.h"
#include "gromacs/fileio/strdb.h"
#include "gromacs/fileio/futil.h"
#include "macros.h"
#include "copyrite.h"
#include "gromacs/commandline/pargs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "random.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/futil.h"
#include "nrnb.h"
#include "gstat.h"
#include "gromacs/fileio/matio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define G_REF1 0
#include "typedefs.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/pdbio.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "mdatoms.h"
#include "coulomb.h"
#include "typedefs.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xvgr.h"
#include "gromacs/fileio/pdbio.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
void my_func(char *msg)
{
#include "thread_mpi/threads.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/network.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/mdlib/groupcoord.h"
#include "gromacs/linearalgebra/nrjac.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* We use the same defines as in mvdata.c here */
#define block_bc(cr, d) gmx_bcast( sizeof(d), &(d), (cr))
#include <errno.h>
#include "types/simple.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fft/fft.h"
#include "gromacs/math/gmxcomplex.h"
FILE* debug = 0;
#endif
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#ifdef GMX_FFT_FFTW3
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2003 David van der Spoel, Erik Lindahl, University of Groningen.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/fft/fft.h"
#include "gromacs/legacyheaders/types/simple.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "external/fftpack/fftpack.h"
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2003 David van der Spoel, Erik Lindahl, University of Groningen.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <fftw3.h>
#include "gromacs/fft/fft.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#ifdef GMX_DOUBLE
#define FFTWPREFIX(name) fftw_ ## name
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2003 David van der Spoel, Erik Lindahl, University of Groningen.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <mkl_service.h>
#include "gromacs/fft/fft.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* For MKL version (<10.0), we should define MKL_LONG. */
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "fft5d.h"
#include "pdbio.h"
#include "tpxio.h"
#include "trxio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "copyrite.h"
#include "pbc.h"
#include "mtop_util.h"
#include <string.h>
#include "futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gmxfio.h"
#include "enxio.h"
#include <string.h>
#include "futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
#include "thread_mpi/threads.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/legacyheaders/network.h"
#include "gromacs/fileio/path.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "thread_mpi/threads.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include <io.h>
#endif
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include <io.h>
#endif
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include "gromacs/utility/cstringutil.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "matio.h"
#include "gmxfio.h"
#include "gromacs/math/utilities.h"
#include "checkpoint.h"
#include "copyrite.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
struct gmx_mdoutf {
#include "pbc.h"
#include "gmxfio.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
int ai, aj;
#include <stdlib.h>
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
#include "thread_mpi/threads.h"
#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* The source code in this file should be thread-safe.
Please keep it that way. */
#endif
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/main.h"
#include "gromacs/legacyheaders/physics.h"
+
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/math/utilities.h"
#include "gromacs/utility/common.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/programcontext.h"
-#include "gmxfio.h"
static const char *modeToVerb(char mode)
{
#include "gromacs/legacyheaders/types/atoms.h"
#include "gromacs/legacyheaders/physics.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/utility/common.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
void gmx_prepare_tng_writing(const char *filename,
#include "sysstuff.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "names.h"
#include "symtab.h"
#include <string.h>
#include "sysstuff.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "txtdump.h"
#include "names.h"
#include "futil.h"
#include "xdrf.h"
#include "gromacs/fileio/timecontrol.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* defines for frame counter output */
#define SKIP1 10
#include <stdio.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "typedefs.h"
#include "xdrf.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
int xdr_real(XDR *xdrs, real *r)
#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define XTC_MAGIC 1995
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
void print_one(const output_env_t oenv, const char *base, const char *name,
const char *title, const char *ylabel, int nf, real time[],
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "correl.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2013, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#endif
#include <stdio.h>
#include "types/simple.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/*Make range-array (Permutation identity) for sorting */
void rangeArray(int *ar, int size)
#include "gromacs/utility/smalloc.h"
#include "gstat.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "index.h"
t_dlist *mk_dlist(FILE *log,
#endif
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "symtab.h"
void replace_atom(t_topology *top, int inr, char *anm, char *resnm,
#include "vec.h"
#include "index.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
const int nfp_ffn[effnNR] = { 0, 1, 2, 3, 2, 5, 7, 9, 4, 3};
#include "vec.h"
#include "gromacs/math/do_fit.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
static void my_calc_xcm(int nbb, atom_id bbind[], rvec x[], rvec xcm)
#include "vec.h"
#include "geminate.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
static void missing_code_message()
#include "gromacs/fileio/confio.h"
#include "copyrite.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
#include "vec.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "pbc.h"
#include "gromacs/fileio/futil.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "copyrite.h"
#include "gromacs/fileio/futil.h"
#include "vec.h"
#include "index.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xvgr.h"
#include "gstat.h"
#include "gromacs/fileio/trnio.h"
#include "macros.h"
#include "gromacs/fileio/enxio.h"
#include "physics.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xvgr.h"
#include "gmx_ana.h"
#include "gromacs/math/utilities.h"
#include "physics.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define MAX_ENDS 3
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/pdbio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#include "macros.h"
#include "gromacs/linearalgebra/eigensolver.h"
#include "gromacs/math/do_fit.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* print to two file pointers at once (i.e. stderr and log) */
static gmx_inline
#include "mtop_util.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void clust_size(const char *ndx, const char *trx, const char *xpm,
const char *xpmw, const char *ncl, const char *acl,
#include "vec.h"
#include "index.h"
#include "pbc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/linearalgebra/eigensolver.h"
#include "gromacs/math/do_fit.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
int gmx_covar(int argc, char *argv[])
{
#include "gmx_ana.h"
#include "macros.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define SQR(x) (pow(x, 2.0))
#define EPSI0 (EPSILON0*E_CHARGE*E_CHARGE*AVOGADRO/(KILO*NANO)) /* EPSILON0 in SI units */
#include "gmx_ana.h"
#include "macros.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
char *atomname;
#include "pbc.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
int gmx_densmap(int argc, char *argv[])
{
#include "copyrite.h"
#include "gromacs/utility/exceptions.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/programcontext.h"
#ifdef GMX_DOUBLE
#include "xvgr.h"
#include "correl.h"
#include "gmx_ana.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/math/gmxcomplex.h"
#include "gromacs/linearalgebra/nrjac.h"
#include "gromacs/utility/exceptions.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/programcontext.h"
#define e2d(x) ENM2DEBYE*(x)
#include "gmx_ana.h"
#include "gromacs/math/do_fit.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
int n;
#include "mshift.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/pdbio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xvgr.h"
#include "gromacs/fileio/matio.h"
#include "index.h"
#include "gromacs/fileio/confio.h"
#include "copyrite.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#include "macros.h"
#include "xvgr.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
int gmx_dyecoupl(int argc, char *argv[])
{
#include "gromacs/utility/smalloc.h"
#include "index.h"
#include "gromacs/fileio/confio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "physics.h"
#include "gmx_ana.h"
#include "rmpbc.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct
{
#include "disre.h"
#include "names.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/enxio.h"
#include "vec.h"
#include "gmx_ana.h"
#include "gromacs/utility/cstringutil.h"
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/enxio.h"
#include <string.h>
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include "pbc.h"
#include "force.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/math/utilities.h"
#include "macros.h"
#include "macros.h"
#include "vec.h"
#include "index.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gmx_ana.h"
int gmx_genpr(int argc, char *argv[])
#include "gstat.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
real calc_gyro(rvec x[], int gnx, atom_id index[], t_atom atom[], real tm,
rvec gvec, rvec d, gmx_bool bQ, gmx_bool bRot, gmx_bool bMOI, matrix trans)
#include "gmx_ana.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/****************************************************************************/
/* This program calculates the ordering of water molecules across a box, as */
#include "txtdump.h"
#include "physics.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "index.h"
#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include <math.h>
#include "gromacs/fileio/confio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "fitahx.h"
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#include "vec.h"
#include "index.h"
#include "pbc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gstat.h"
#include "pbc.h"
#include "gmx_ana.h"
#include "binsearch.h"
#include "powerspect.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* Print name of first atom in all groups in index file */
static void print_types(atom_id index[], atom_id a[], int ngrps,
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "pbc.h"
#include "gromacs/fileio/futil.h"
#include "vec.h"
#include "index.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define MAXNAMES 30
#define NAME_LEN 30
#include "gromacs/fileio/filenm.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/matio.h"
#include "xvgr.h"
#include "gromacs/commandline/pargs.h"
#include "macros.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/trxio.h"
static int calc_ntype(int nft, int *ft, t_idef *idef)
#include "xvgr.h"
#include "index.h"
#include "gmx_ana.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/math/do_fit.h"
#include "gromacs/fileio/confio.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define FACTOR 1000.0 /* Convert nm^2/ps to 10e-5 cm^2/s */
/* NORMAL = total diffusion coefficient (default). X,Y,Z is diffusion
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "gromacs/fileio/futil.h"
#include "index.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "gromacs/fileio/futil.h"
#include "index.h"
#include "cmat.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/****************************************************************************/
/* This program calculates the order parameter per atom for an interface or */
#include "main.h"
#include "macros.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* We use the same defines as in mvdata.c here */
#define block_bc(cr, d) gmx_bcast( sizeof(d), &(d), (cr))
#include "gromacs/utility/cstringutil.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define EPS0 8.85419E-12
#define ELC 1.60219E-19
#include "gmx_ana.h"
#include "names.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void check_box_c(matrix box)
{
#include "gromacs/commandline/pargs.h"
#include "vec.h"
#include "index.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "princ.h"
#include "rmpbc.h"
#include "gromacs/commandline/pargs.h"
#include "index.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xvgr.h"
#include "gstat.h"
#include "vec.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "pbc.h"
#include "xvgr.h"
#include "gmx_ana.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
char *label;
#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
int gmx_sans(int argc, char *argv[])
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "gromacs/fileio/futil.h"
#include "readinp.h"
#include "gromacs/fileio/trxio.h"
#include "gmx_ana.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void calc_com_pbc(int nrefat, t_topology *top, rvec x[], t_pbc *pbc,
atom_id index[], rvec xref, gmx_bool bPBC)
#include "physics.h"
#include "gmx_ana.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void calc_com_pbc(int nrefat, t_topology *top, rvec x[], t_pbc *pbc,
atom_id index[], rvec xref, int ePBC)
#include <math.h>
#include "gromacs/fileio/confio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#include "macros.h"
#include "gmx_ana.h"
#include "gromacs/linearalgebra/nrjac.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void low_print_data(FILE *fp, real time, rvec x[], int n, atom_id *index,
gmx_bool bDim[], const char *sffmt)
#include "xvgr.h"
#include "gmx_ana.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define TIME_EXPLICIT 0
#define TIME_CONTINUE 1
#include "gmx_ana.h"
#include "gromacs/math/do_fit.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include "gromacs/fileio/trxio.h"
#include "gmx_ana.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
atom_id i;
#include "gromacs/timing/walltime_accounting.h"
#include "gromacs/math/utilities.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* Enum for situations that can occur during log file parsing, the
* corresponding string entries can be found in do_the_tests() in
#include <math.h>
#include "gromacs/fileio/confio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#include "macros.h"
#include "gromacs/utility/cstringutil.h"
#include "xvgr.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
//! longest file names allowed in input files
#define WHAM_MAXFILELEN 2048
#include "pbc.h"
#include "index.h"
#include "gstat.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gmx_ana.h"
#include "gromacs/commandline/pargs.h"
#include <math.h>
#include "typedefs.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "viewit.h"
#include "gmx_ana.h"
#include "gromacs/utility/smalloc.h"
#include "bondf.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
real ellipticity(int nres, t_bb bb[])
{
#include "typedefs.h"
#include "bondf.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "rmpbc.h"
static const char *pp_pat[] = { "C", "N", "CA", "C", "N" };
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/strdb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
void check_binwidth(real binwidth)
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <stdio.h>
#include <math.h>
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gstat.h"
real LegendreP(real x, unsigned long m)
#include "gromacs/utility/smalloc.h"
#include "gromacs/fft/fft.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "interf.h"
#include "powerspect.h"
#include "gstat.h"
#include "gromacs/fileio/matio.h"
#include "copyrite.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
int nx, ny;
#include "sysstuff.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "atomprop.h"
#include "macros.h"
#include "index.h"
#include "ns.h"
#include "macros.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "mshift.h"
#include "main.h"
#include "disre.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "calcgrid.h"
/* The grid sizes below are based on timing of a 3D cubic grid in fftw
#include "vec.h"
#include "physics.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define xAI xa[0]
#define xAJ xa[1]
#include "vec.h"
#include "pbc.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "chargegroup.h"
#include "gromacs/fileio/xdrf.h"
#include "gromacs/fileio/xdr_datatype.h"
#include "gromacs/utility/baseversion.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "buildinfo.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <stdio.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* CUDA library and hardware related defines */
/* TODO list some constants instead that can be used for consistency checks to
#include "vec.h"
#include "gromacs/fileio/futil.h"
#include "xvgr.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "bondf.h"
#include "copyrite.h"
#include "disre.h"
#include "types/enums.h"
#include "types/hw_info.h"
#include "types/commrec.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gmx_fatal_collective.h"
#include "md_logging.h"
#include "gmx_cpuid.h"
#include <config.h>
#endif
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "typedefs.h"
#include "macros.h"
#include "network.h"
#include "md_logging.h"
#include "gmx_thread_affinity.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
static int
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/strdb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
const char gmx_residuetype_undefined[] = "Other";
#include "typedefs.h"
#include "macros.h"
#include "inputrec.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* The minimum number of integration steps required for reasonably accurate
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
#include "invblock.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
atom_id *make_invblock(const t_block *block, int nr)
{
#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "network.h"
#include "main.h"
#include "macros.h"
#include <string.h>
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "vec.h"
#include "gromacs/fileio/futil.h"
#include "mtop_util.h"
#include "topsort.h"
#include "symtab.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static int gmx_mtop_maxresnr(const gmx_mtop_t *mtop, int maxres_renum)
{
#include "types/commrec.h"
#include "network.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "symtab.h"
#include "vec.h"
#include "tgroup.h"
#endif
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "main.h"
#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "macros.h"
#include "nb_free_energy.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
void
gmx_nb_free_energy_kernel(const t_nblist * gmx_restrict nlist,
#include "nb_generic.h"
#include "nrnb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "nonbonded.h"
#include "nb_kernel.h"
#include "nb_generic_adress.h"
#include "nrnb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "nonbonded.h"
#include "nb_kernel.h"
#include "nb_kernel.h"
#include "nrnb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
void
gmx_nb_generic_cg_kernel(t_nblist * nlist,
#include "nb_kernel.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* Static data structures to find kernels */
#include "names.h"
#include "main.h"
#include "xvgr.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "physics.h"
#include "force.h"
#include "bondf.h"
#include "gromacs/linearalgebra/nrjac.h"
#include "gromacs/math/do_fit.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
void init_orires(FILE *fplog, const gmx_mtop_t *mtop,
rvec xref[],
#include "pbc.h"
#include "gromacs/utility/smalloc.h"
#include "txtdump.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "names.h"
#include "macros.h"
#include "gmx_omp_nthreads.h"
#include "gromacs/fileio/gmxfio.h"
#include "names.h"
#include "warninp.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
t_inpfile *read_inpfile(const char *fn, int *ninp,
warninp_t wi)
#include "vec.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
typedef struct {
#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/math/utilities.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "macros.h"
#include "index.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#endif
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "sighandler.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "mshift.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
int atom, sid;
#include <string.h>
#include "sysstuff.h"
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "txtdump.h"
#include "symtab.h"
#include "typedefs.h"
#include "topsort.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static gmx_bool ip_pert(int ftype, const t_iparams *ip)
{
#include "vec.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
int pr_indent(FILE *fp, int n)
#include "gromacs/utility/cstringutil.h"
#include "gromacs/fileio/filenm.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static const int can_view_ftp[] = {
0,
#include "gromacs/utility/smalloc.h"
#include "copyrite.h"
#include "gromacs/utility/cstringutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "warninp.h"
typedef struct warninp {
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/utility/exceptions.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/programcontext.h"
gmx_bool output_env_get_print_xvgr_codes(const output_env_t oenv)
#include "toputil.h"
#include "hackblock.h"
#include "gromacs/utility/cstringutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void clear_atom_list(int i0, atom_id a[])
{
#include "typedefs.h"
#include "physics.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "vec.h"
#include "coulomb.h"
#include "vec.h"
#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "topio.h"
#include "toputil.h"
#include "convparm.h"
#include <fcntl.h>
#include "sysstuff.h"
#include "network.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#ifdef HAVE_UNISTD_H
#include "gpp_nextnb.h"
#include "symtab.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "pgutil.h"
#include "resall.h"
#include "gen_ad.h"
#include "fflibutil.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define MAXNAME 32
#define OPENDIR '[' /* starting sign for directive */
#include "sortwater.h"
#include "gromacs/fileio/trxio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void rand_rot(int natoms, rvec x[], rvec v[], vec4 xrot[], vec4 vrot[],
gmx_rng_t rng, rvec max_rot)
#include "symtab.h"
#include "vec.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "physics.h"
#include "calch.h"
#include "genhydro.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gmxcpp.h"
typedef struct {
#include "topdirs.h"
#include "toputil.h"
#include "symtab.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "txtdump.h"
#include "gpp_atomtype.h"
#include "macros.h"
/* #define DEBUG_NNB */
#include "gpp_nextnb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "toputil.h"
typedef struct {
#include "splitter.h"
#include "gromacs/gmxpreprocess/sortwater.h"
#include "convparm.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "warninp.h"
#include "index.h"
#include "gromacs/fileio/gmxfio.h"
#include "h_db.h"
#include "gromacs/fileio/gmxfio.h"
#include "fflibutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
/* Number of control atoms for each 'add' type.
#include "gromacs/utility/cstringutil.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static int in_strings(char *key, int nstr, const char **str)
{
#include "atomprop.h"
#include "names.h"
#include "vec.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/gmxlib/conformation-utilities.h"
#include "addconf.h"
#include "nm2type.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void rd_nm2type_file(const char *fn, int *nnm, t_nm2type **nmp)
{
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/pdbio.h"
#include "toputil.h"
#include "h_db.h"
#include "macros.h"
#include "symtab.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "pdb2top.h"
#include "gpp_nextnb.h"
#include "topdirs.h"
#include "gromacs/utility/cstringutil.h"
#include "pgutil.h"
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define BUFSIZE 1024
static void atom_not_found(int fatal_errno, const char *file, int line,
#include "vec.h"
#include "hackblock.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
int gmx_protonate(int argc, char *argv[])
{
#include "readir.h"
#include "names.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define MAXPTR 254
#include "typedefs.h"
#include "physics.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "index.h"
#include "symtab.h"
#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "index.h"
#include "symtab.h"
#include "gromacs/fileio/trnio.h"
#include "txtdump.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static char *RotStr = {"Enforced rotation:"};
#include "gromacs/utility/cstringutil.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "symtab.h"
#include "macros.h"
#include "resall.h"
#include "atomprop.h"
#include "names.h"
#include "vec.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/gmxlib/conformation-utilities.h"
#include "addconf.h"
#include "resall.h"
#include "h_db.h"
#include "gromacs/utility/cstringutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "ter_db.h"
#include "toputil.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/utility/smalloc.h"
#include "toputil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gpp_atomtype.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/utility/cstringutil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "topdirs.h"
/* Must correspond to the directive enum in grompp-impl.h */
#include "names.h"
#include "gromacs/utility/cstringutil.h"
#include "symtab.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "warninp.h"
#include "vsite_parm.h"
#include "topdirs.h"
#include "readir.h"
#include "symtab.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "warninp.h"
#include "gpp_atomtype.h"
#include "gpp_bond_atomtype.h"
#include "toputil.h"
#include "topdirs.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void copy_bond (t_params *pr, int to, int from)
/* copies an entry in a bond list to another position.
#include "topdirs.h"
#include "toputil.h"
#include "symtab.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gpp_atomtype.h"
/* UTILITIES */
#include "physics.h"
#include "index.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/cstringutil.h"
#include "physics.h"
#include "macros.h"
#include "hackblock.h"
#include "nm2type.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
char atp[7] = "HCNOSX";
#define NATP (asize(atp)-1)
#include "gromacs/fileio/futil.h"
#include "fflibutil.h"
#include "hackblock.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "xlate.h"
#include "gromacs/fileio/strdb.h"
#include "names.h"
#include "gromacs/timing/wallcycle.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/*! \brief How long shall we wait in seconds until we check for a connection again? */
#define IMDLOOPWAIT 1
#include <string.h>
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "imdsocket.h"
#include "imd.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#ifdef __cplusplus
extern "C" {
#include "types/simple.h"
#include "typedefs.h"
#include "main.h"
-#include "gmx_fatal.h"
+#include "../utility/fatalerror.h"
#ifdef __cplusplus
extern "C" {
#include <config.h>
#endif
+#include <math.h>
+
#include "types/simple.h"
-#include "../math/utilities.h"
#include "typedefs.h"
#include "sysstuff.h"
-#include "gmx_fatal.h"
-#include <math.h>
#include "physics.h"
+#include "../math/utilities.h"
+#include "../utility/fatalerror.h"
+
#ifdef __cplusplus
extern "C" {
#elif 0
#include "eigensolver.h"
#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/linearalgebra/sparsematrix.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gmx_lapack.h"
#include <stdio.h>
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/vec.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gmx_lapack.h"
*/
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xdrf.h"
#include "gromacs/linearalgebra/sparsematrix.h"
-
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
/* Just a number to identify our file type */
#include <math.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
static gmx_inline
#include "pbc.h"
#include "vec.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define N 4
#include "txtdump.h"
#include "gromacs/linearalgebra/nrjac.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
real calc_similar_ind(gmx_bool bRho, int nind, atom_id *index, real mass[],
#include "typedefs.h"
#include "vec.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
real
adress_weight(rvec x,
#include "gmx_omp_nthreads.h"
#include "gromacs/fileio/gmxfio.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
typedef struct {
#include "gromacs/essentialdynamics/edsam.h"
#include "gromacs/pulling/pull.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct gmx_constr {
int ncon_tot; /* The total number of constraints */
#include "macros.h"
#include "physics.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "txtdump.h"
#include "nrnb.h"
#include "gromacs/random/random.h"
#include <stdio.h>
#include "vec.h"
#include "constr.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "pbc.h"
#include "typedefs.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gmx_fatal_collective.h"
#include "vec.h"
#include "domdec.h"
#include "nsgrid.h"
#include "network.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
static void calc_cgcm_av_stddev(t_block *cgs, int n, rvec *x, rvec av, rvec stddev,
t_commrec *cr_sum)
#include "gmx_omp_nthreads.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
typedef struct {
int nsend;
#include "force.h"
#include "gmx_omp_nthreads.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/* for dd_init_local_state */
#define NITEM_DD_INIT_LOCAL_STATE 5
#include "sysstuff.h"
#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "ebin.h"
#include "main.h"
#include "gromacs/math/utilities.h"
#include "types/commrec.h"
#include "vec.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "physics.h"
#include "coulomb.h"
#include "macros.h"
#include "gromacs/fileio/trnio.h"
#include "gromacs/fileio/xtcio.h"
#include "gromacs/timing/wallcycle.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxmpi.h"
static void init_df_history_weights(df_history_t *dfhist, t_expanded *expand, int nlim)
#include "gmx_omp_nthreads.h"
#include "gromacs/timing/wallcycle.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
void ns(FILE *fp,
t_forcerec *fr,
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "physics.h"
#include "force.h"
#include "tables.h"
#include "physics.h"
#include "domdec.h"
#include "network.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "mtop_util.h"
#include "pbc.h"
#include "nrnb.h"
#include "physics.h"
#include "domdec.h"
#include "network.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "mtop_util.h"
#include "genborn.h"
#include "physics.h"
#include "domdec.h"
#include "network.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "mtop_util.h"
#include "genborn.h"
#include "vec.h"
#include "main.h"
#include "mvdata.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "symtab.h"
#include "txtdump.h"
#include "mdatoms.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <math.h>
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "mdrun.h"
#include "md_support.h"
#include "md_logging.h"
#include <float.h>
#include <math.h>
#include "typedefs.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "mdebin.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/enxio.h"
#include "force.h"
#include "macros.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "txtdump.h"
#include "typedefs.h"
#include "update.h"
#include <cuda.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "tables.h"
#include "typedefs.h"
#include "../nbnxn_kernel_common.h"
#include "gmx_omp_nthreads.h"
#include "types/force_flags.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/*! \brief Kinds of electrostatic treatments in SIMD Verlet kernels
*/
#else /* {0} */
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#endif /* {0} */
#include "../nbnxn_kernel_common.h"
#include "gmx_omp_nthreads.h"
#include "types/force_flags.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/*! \brief Kinds of electrostatic treatments in SIMD Verlet kernels
*/
#else /* GMX_NBNXN_SIMD_2XNN */
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#endif /* GMX_NBNXN_SIMD_2XNN */
#include "../nbnxn_kernel_common.h"
#include "gmx_omp_nthreads.h"
#include "types/force_flags.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/*! \brief Kinds of electrostatic treatments in SIMD Verlet kernels
*/
#else /* GMX_NBNXN_SIMD_4XN */
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#endif /* GMX_NBNXN_SIMD_4XN */
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "typedefs.h"
#include "types/nlistheuristics.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
void reset_nlistheuristics(gmx_nlheur_t *nlh, gmx_int64_t step)
#include "ns.h"
#include "pbc.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "nrnb.h"
#include "txtdump.h"
#include "mtop_util.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
#include "nsgrid.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "network.h"
#include "domdec.h"
#include "vec.h"
#include "gromacs/utility/smalloc.h"
#include "coulomb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "pme.h"
#include "network.h"
#include "physics.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "pme.h"
#include "network.h"
#include "qmmm.h"
#include <stdio.h>
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "typedefs.h"
#include <stdlib.h>
#include "qmmm.h"
#include <stdio.h>
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "typedefs.h"
#include <stdlib.h>
#include "qmmm.h"
#include <stdio.h>
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "typedefs.h"
#include <stdlib.h>
#include "qmmm.h"
#include <stdio.h>
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "typedefs.h"
#include <stdlib.h>
#include "qmmm.h"
#include <stdio.h>
#include <string.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "typedefs.h"
#include <stdlib.h>
#include "mtop_util.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "vec.h"
#include "txtdump.h"
#include "force.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "sysstuff.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "network.h"
#include "txtdump.h"
#include "names.h"
#include "typedefs.h"
#include "names.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/futil.h"
#include "xvgr.h"
#include "vec.h"
#include "force.h"
#include "macros.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "txtdump.h"
#include "typedefs.h"
#include "update.h"
#include "types/commrec.h"
#include "ns.h"
#include "nrnb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "gromacs/fileio/futil.h"
#include "names.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "names.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "macros.h"
#include "symtab.h"
#include "index.h"
#include <vector>
#include "gromacs/legacyheaders/index.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/smalloc.h"
/********************************************************************
break;
default: /* Should not be reached */
- gmx_bug("internal error");
+ GMX_RELEASE_ASSERT(false, "Unreachable code was reached");
break;
}
}
#include <math.h>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/*! \cond libapi */
/*! \addtogroup module_simd */
#include <string.h>
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "md_logging.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "txtdump.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "atomprop.h"
#include "vec.h"
#include "pbc.h"
#include "gromacs/fileio/futil.h"
#include "sysstuff.h"
#include "txtdump.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "names.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include <math.h>
#include "index.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "sysstuff.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "txtdump.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "names.h"
#include "txtdump.h"
common.h
errorcodes.h
exceptions.h
+ fatalerror.h
file.h
flags.h
gmx_header_config.h
#endif
#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/main.h"
#include "gromacs/fileio/futil.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
int continuing(char *s)
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#include "gmx_fatal.h"
-#include "gmx_fatal_collective.h"
+#include "fatalerror.h"
+#include "gromacs/legacyheaders/gmx_fatal_collective.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include "thread_mpi/threads.h"
-#include "main.h"
-#include "types/commrec.h"
-#include "network.h"
-#include "copyrite.h"
-#include "macros.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/network.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/gmxfio.h"
* Declares fatal error handling and debugging routines for C code.
*
* \inpublicapi
+ * \ingroup module_utility
*/
-#ifndef _fatal_h
-#define _fatal_h
+#ifndef GMX_UTILITY_FATALERROR_H
+#define GMX_UTILITY_FATALERROR_H
#include <stdio.h>
-#include "types/simple.h"
+#include "../legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/md_logging.h"
#include "gromacs/utility/common.h"
#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
int gmx_omp_get_max_threads(void)
{
#include <dmalloc.h>
#endif
-#include "gromacs/legacyheaders/gmx_fatal.h"
-
+#include "gromacs/utility/fatalerror.h"
#ifdef PRINT_ALLOC_KB
#include "gromacs/utility/gmxmpi.h"
#endif
#include "gromacs/legacyheaders/checkpoint.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/main.h"
#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/filenm.h"
+#include "gromacs/utility/fatalerror.h"
int gmx_mdrun(int argc, char *argv[])
{
#include "nmol.h"
#include "manager.h"
#include "gromacs/fileio/futil.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#define MBFLAGS /* MB_APPLMODAL | */ MB_DONTSHOW
#include "xdlghi.h"
#include "dialogs.h"
#include "index.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
t_filter *init_filter(t_atoms *atoms, const char *fn, int natom_trx)
{
#include "macros.h"
#include "xutil.h"
#include "gromacs/math/3dview.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "buttons.h"
#include "manager.h"
#include "nmol.h"
#include "sysstuff.h"
#include "macros.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "typedefs.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
#include "xutil.h"
#include "xdlg.h"
#include "xmb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
/*****************************
*
* Helpful routines
#include <algorithm>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/cstringutil.h"
#include "sysstuff.h"
#include "gromacs/utility/smalloc.h"
#include <algorithm>
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "Xstuff.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2013, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "xutil.h"
#include "xdlg.h"
#include "xmb.h"
-#include "gmx_fatal.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs.bm"
#include "stop.bm"
#include "info.bm"