1 /* begin_generated_IBM_copyright_prolog */ 2 /* */ 3 /* This is an automatically generated copyright prolog. */ 4 /* After initializing, DO NOT MODIFY OR MOVE */ 5 /* --------------------------------------------------------------- */ 6 /* Licensed Materials - Property of IBM */ 7 /* Blue Gene/Q 5765-PER 5765-PRP */ 8 /* */ 9 /* (C) Copyright IBM Corp. 2011, 2012 All Rights Reserved */ 10 /* US Government Users Restricted Rights - */ 11 /* Use, duplication, or disclosure restricted */ 12 /* by GSA ADP Schedule Contract with IBM Corp. */ 13 /* */ 14 /* --------------------------------------------------------------- */ 15 /* */ 16 /* end_generated_IBM_copyright_prolog */ 17 /* (C)Copyright IBM Corp. 2007, 2011 */ 18 /** 19 * \file include/mpidi_platform.h 20 * \brief ??? 21 */ 22 23 24 #ifndef __include_mpidi_platform_h__ 25 #define __include_mpidi_platform_h__ 26 27 /* Default values */ 28 29 #define MPIDI_MAX_CONTEXTS 64 30 /** This is not the real value, but should default to something larger than PAMI_DISPATCH_SEND_IMMEDIATE_MAX */ 31 #define MPIDI_SHORT_LIMIT 555 32 /** This is set to 4 BGQ torus packets (+1, because of the way it is compared) */ 33 #define MPIDI_EAGER_LIMIT 2049 34 /** This is set to 0 which effectively disables the eager protocol for local transfers */ 35 #define MPIDI_EAGER_LIMIT_LOCAL 0 36 /* Default features */ 37 #define USE_PAMI_RDMA 1 38 #define USE_PAMI_CONSISTENCY PAMI_HINT_ENABLE 39 #undef OUT_OF_ORDER_HANDLING 40 #undef RDMA_FAILOVER 41 42 #define ASYNC_PROGRESS_MODE_DEFAULT 0 43 44 #ifdef __BGQ__ 45 #undef MPIDI_EAGER_LIMIT_LOCAL 46 #define MPIDI_EAGER_LIMIT_LOCAL 64 47 #define MPIDI_MAX_THREADS 64 48 #define MPIDI_MUTEX_L2_ATOMIC 1 49 #define MPIDI_OPTIMIZED_COLLECTIVE_DEFAULT 1 50 #define PAMIX_IS_LOCAL_TASK 51 #define PAMIX_IS_LOCAL_TASK_STRIDE (4) 52 #define PAMIX_IS_LOCAL_TASK_BITMASK (0x40) 53 54 #undef ASYNC_PROGRESS_MODE_DEFAULT 55 #define ASYNC_PROGRESS_MODE_DEFAULT 1 56 57 static const char _ibm_release_version_[] = "V1R2M0"; 58 #endif 59 60 #ifdef __PE__ 61 #undef USE_PAMI_CONSISTENCY 62 #define USE_PAMI_CONSISTENCY PAMI_HINT_DISABLE 63 #undef MPIDI_EAGER_LIMIT 64 #define MPIDI_EAGER_LIMIT 65536 65 #undef MPIDI_EAGER_LIMIT_LOCAL 66 #define MPIDI_EAGER_LIMIT_LOCAL 1048576 67 #define OUT_OF_ORDER_HANDLING 1 68 #define MPIDI_STATISTICS 1 69 #define MPIDI_PRINTENV 1 70 #define MPIDI_OPTIMIZED_COLLECTIVE_DEFAULT 0 71 #undef USE_PAMI_RDMA 72 #define RDMA_FAILOVER 73 #define MPIDI_BANNER 1 74 #define MPIDI_NO_ASSERT 1 75 #define PAMIX_IS_LOCAL_TASK 76 #define PAMIX_IS_LOCAL_TASK_STRIDE (1) 77 #define PAMIX_IS_LOCAL_TASK_BITMASK (0x01) 78 79 #undef ASYNC_PROGRESS_MODE_DEFAULT 80 #define ASYNC_PROGRESS_MODE_DEFAULT 2 81 82 /* When the Pok build team extracts this file from CMVC, %W% will expand to */ 83 /* a string with the current release, for example ppe_rbarlx. */ 84 /* If this file is cloned from GIT then %W% will not be expanded. The */ 85 /* banner code has accounted for this situation. */ 86 static const char _ibm_release_version_[] = "%W%"; 87 88 #endif 89 90 91 #endif 92