61 pastix_int_t clustsrc,
62 pastix_int_t clustdst,
63 pastix_int_t sync_comm_nbr,
67 assert((clustsrc >= 0) && (clustsrc < ctrl->clustnbr));
68 assert((clustdst >= 0) && (clustdst < ctrl->clustnbr));
69 assert((sync_comm_nbr > 0) && (sync_comm_nbr <= ctrl->clustnbr));
71 if(clustsrc == clustdst)
81 switch (sync_comm_nbr)
85 *startup = SHARED_STARTUP_1;
86 *bandwidth = SHARED_BANDWIDTH_1;
90 *startup = SHARED_STARTUP_2;
91 *bandwidth = SHARED_BANDWIDTH_2;
97 *startup = SHARED_STARTUP_4;
98 *bandwidth = SHARED_BANDWIDTH_4;
101 *startup = SHARED_STARTUP_8;
102 *bandwidth = SHARED_BANDWIDTH_8;
108 switch (sync_comm_nbr)
112 *startup = CLUSTER_STARTUP_1;
113 *bandwidth = CLUSTER_BANDWIDTH_1;
117 *startup = CLUSTER_STARTUP_2;
118 *bandwidth = CLUSTER_BANDWIDTH_2;
124 *startup = CLUSTER_STARTUP_4;
125 *bandwidth = CLUSTER_BANDWIDTH_4;
128 *startup = CLUSTER_STARTUP_8;
129 *bandwidth = CLUSTER_BANDWIDTH_8;
165 pastix_int_t procnum = pastix_data->inter_node_procnum;
166 pastix_int_t procnbr = pastix_data->inter_node_procnbr;
167 pastix_int_t *iparm = pastix_data->iparm;
168 double *dparm = pastix_data->dparm;
176 pastix_print_error(
"blendCtrlInit: Illegal ctrl parameter\n" );
181 pastix_print_error(
"blendCtrlInit: Illegal procnum parameter\n" );
186 pastix_print_error(
"blendCtrlInit: Illegal procnbr parameter\n" );
189 if( local_coresnbr < 1 )
191 pastix_print_error(
"blendCtrlInit: Illegal local_coresnbr parameter\n" );
194 if( local_thrdsnbr < 1 )
196 pastix_print_error(
"blendCtrlInit: Illegal local_thrdsnbr parameter\n" );
199 if( procnum >= procnbr )
201 pastix_print_error(
"blendCtrlInit: Incompatible values of procnum(%d) and procnbr (%d)\n",
202 (
int) procnum, (
int) procnbr);
208 #if defined(PASTIX_DEBUG_BLEND)
228 pastix_print_error(
"Parameter error : blocksize max < blocksize min (cf. iparm.txt)." );
240 (pastix_data->dir_local == NULL) )
244 ctrl->
dirname = pastix_data->dir_local;
281 #ifdef PASTIX_DYNSCHED
282 MALLOC_INTERN(ctrl->btree, 1, BubbleTree);