1 /* Configuration header file for GA 2 * 3 * The following INTERNAL GA parameters can be customized: 4 * - max number of arrays 5 * - range of message passing tag/type values 6 * - length of message buffer(s) 7 * - max number of processors 8 * - disabling MA use 9 * 10 */ 11 #ifndef _GACONFIG_H 12 #define _GACONFIG_H 13 14 #include "gacommon.h" 15 16 /* max number of global arrays */ 17 #define MAX_ARRAYS 32768 18 19 /* max number of mutexes */ 20 #define MAX_MUTEXES 32768 21 22 /* there are 20 message-passing tags/types numbered from GA_MSG_OFFSET up */ 23 #define GA_MSG_OFFSET 32000 24 25 /* max number of dimensions 26 * Now set in global.h and global.fh so users can access the value. 27 * We set the macro used internally from the gacommon.h value. 28 */ 29 #define MAXDIM GA_MAX_DIM 30 31 /* uncoment the following line to never use MA (Memory Allocator) for 32 * storing data in global arrays (not temporary buffers!) */ 33 #define AVOID_MA_STORAGE 34 35 /* maxiumum accesses stored for read cache*/ 36 #define MAXCACHE GA_MAX_CACHE 37 38 #endif /* _GACONFIG_H */ 39