SIONlib  1.7.0
Scalable I/O library for parallel access to task-local files
sion_platform.h
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 #ifndef SION_SION_PLATFORM_H
15 #define SION_SION_PLATFORM_H
16 
17 /* Blue Gene/L */
18 #if defined(__blrts__)
19 #define _SION_BGL
20 #if !defined(_BGL)
21 #define _BGL
22 #endif
23 
24 /* Blue Gene/P */
25 #elif defined(__bgp__)
26 #if !defined(_SION_BGP)
27 #define _SION_BGP
28 #endif
29 #if !defined(_BGP)
30 #define _BGP
31 #endif
32 
33 /* Blue Gene/Q */
34 #elif defined(__bgq__)
35 #if !defined(_SION_BGQ)
36 #define _SION_BGQ
37 #endif
38 #if !defined(_BGQ)
39 #define _BGQ
40 #endif
41 
42 /* AIX */
43 #elif defined(_AIX)
44 #if !defined(_SION_AIX)
45 #define _SION_AIX
46 #endif
47 
48 /* Cray XT (catamount) */
49 #elif defined(__LIBCATAMOUNT__)
50 #define _SION_CATAMOUNT
51 
52 /* Sun Solaris systems */
53 #elif defined(__sun) && defined(__SVR4)
54 #define _SION_SUNSOL
55 
56 #elif defined(__linux__)
57 #if !defined(_SION_LINUX)
58 #define _SION_LINUX
59 #endif
60 
61 #endif
62 
63 #endif