SIONlib
1.7.0
Scalable I/O library for parallel access to task-local files
src
parlib
sion_omp_internal_gen.c
Go to the documentation of this file.
1
/****************************************************************************
2
** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3
*****************************************************************************
4
** Copyright (c) 2008-2016 **
5
** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6
** **
7
** See the file COPYRIGHT in the package base directory for details **
8
****************************************************************************/
9
14
#include <stdlib.h>
15
#include <stdio.h>
16
#include <stdarg.h>
17
#include <string.h>
18
#include <time.h>
19
20
#if defined(_BGL)
21
#include <rts.h>
22
#ifndef __USE_FILE_OFFSET64
23
#define __USE_FILE_OFFSET64
24
#endif
25
#endif
26
27
#include <sys/time.h>
28
29
#include <sys/types.h>
30
#include <fcntl.h>
31
32
#include <unistd.h>
33
34
#include "
sion.h
"
35
#include "
sion_debug.h
"
36
#include "sion_error_handler.h"
37
#include "
sion_internal.h
"
38
#include "
sion_fd.h
"
39
#include "
sion_filedesc.h
"
40
#include "
sion_printts.h
"
41
42
#include "
sion_omp_internal_gen.h
"
43
44
#ifdef SION_OMP
45
46
#include "omp.h"
47
48
int
_sion_errorprint_omp(
int
rc,
int
level,
const
char
*format, ...)
49
{
50
int
rank=-1, thread;
51
va_list ap;
52
53
thread = omp_get_thread_num();
54
55
va_start(ap, format);
56
rc=__sion_errorprint_vargs(rc, level, rank, thread, format, ap);
57
va_end(ap);
58
59
return
(rc);
60
}
61
62
/* end of ifdef OMP */
63
#endif
sion.h
sion_fd.h
sion_filedesc.h
sion_omp_internal_gen.h
sion_debug.h
sion_printts.h
Sion Time Stamp Header.
sion_internal.h
Generated by
1.8.15