00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _util_group_linkage_h
00029 #define _util_group_linkage_h
00030
00031 #ifndef __PIC__
00032
00033 #ifdef HAVE_CONFIG_H
00034 #include <scconfig.h>
00035 #endif
00036
00037 #include <util/group/memproc.h>
00038
00039 namespace sc {
00040 static ForceLink<ProcMessageGrp> group_force_link_0_;
00041 static ForceLink<ProcMemoryGrp> group_force_link_1_;
00042 }
00043
00044 # ifdef HAVE_SYSV_IPC
00045 # include <util/group/messshm.h>
00046 namespace sc {
00047 static ForceLink<ShmMessageGrp> group_force_link_a_;
00048 }
00049 # endif
00050
00051 # if defined(HAVE_PTHREAD)
00052 # include <util/group/thpthd.h>
00053 namespace sc {
00054 static ForceLink<PthreadThreadGrp> group_force_link_c_;
00055 }
00056 # endif
00057
00058 #if defined(HAVE_MPI)
00059 # include <util/group/memmtmpi.h>
00060 namespace sc {
00061 static ForceLink<MTMPIMemoryGrp> group_force_link_g_;
00062 }
00063 #endif
00064
00065 #if defined(HAVE_ARMCI)
00066 # include <util/group/memarmci.h>
00067 namespace sc {
00068 static ForceLink<ARMCIMemoryGrp> group_force_link_h_;
00069 }
00070 #endif
00071
00072 #endif
00073
00074
00075 #endif