2012-01-09 00:51:04 +04:00
|
|
|
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
|
|
|
|
* vim:expandtab:shiftwidth=8:tabstop=8:
|
|
|
|
*/
|
2011-11-12 04:40:45 +04:00
|
|
|
/******************************************************************************\
|
|
|
|
* *
|
|
|
|
* Copyright (c) 2003, The Regents of the University of California *
|
|
|
|
* See the file COPYRIGHT for a complete copyright notice and license. *
|
|
|
|
* *
|
|
|
|
\******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _UTILITIES_H
|
|
|
|
#define _UTILITIES_H
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
2014-09-18 21:20:37 +04:00
|
|
|
# include "config.h"
|
2011-11-12 04:40:45 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <mpi.h>
|
|
|
|
#include "ior.h"
|
|
|
|
|
2014-09-18 21:20:37 +04:00
|
|
|
void set_o_direct_flag(int *fd);
|
|
|
|
|
2011-11-12 04:40:45 +04:00
|
|
|
char *CurrentTimeString(void);
|
|
|
|
void OutputToRoot(int, MPI_Comm, char *);
|
|
|
|
int Regex(char *, char *);
|
|
|
|
void ShowFileSystemSize(char *);
|
|
|
|
void DumpBuffer(void *, size_t);
|
|
|
|
void SeedRandGen(MPI_Comm);
|
|
|
|
void SetHints (MPI_Info *, char *);
|
|
|
|
void ShowHints (MPI_Info *);
|
|
|
|
|
|
|
|
#endif /* !_UTILITIES_H */
|