47 |
|
{ |
48 |
|
mBEvent mpiEventContainer; |
49 |
|
int mpiStatus; |
50 |
– |
int mpiError; |
50 |
|
|
51 |
|
|
52 |
|
if (the_event == NULL) mpiStatus = MPI_INTERFACE_DONE; |
81 |
|
mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int |
82 |
|
break; |
83 |
|
|
84 |
+ |
case ZCONSTRAINT: |
85 |
+ |
mpiEventContainer.type = mpiZCONSTRAINT; |
86 |
+ |
mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int |
87 |
+ |
break; |
88 |
+ |
|
89 |
|
case COMPONENT: |
90 |
|
mpiEventContainer.type = mpiCOMPONENT; |
91 |
|
mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int |
168 |
|
// Everybody but node 0 runs this |
169 |
|
void mpiEventLoop(void) |
170 |
|
{ |
167 |
– |
int mpiError; |
171 |
|
int mpiContinue; |
172 |
|
|
173 |
|
#ifdef MPIBASS_VERBOSE |
184 |
|
" MEMBER %d\n" |
185 |
|
" CONSTRAINT %d\n" |
186 |
|
" ORIENTATION %d\n" |
187 |
< |
" START_INDEX %d\n" |
187 |
> |
" ZCONSTRAINT %d\n" |
188 |
|
" BLOCK_END %d\n" |
189 |
|
"\n", |
190 |
|
worldRank, |
191 |
|
MOLECULE, ATOM, BOND, BEND, TORSION, COMPONENT, |
192 |
|
POSITION, ASSIGNMENT, MEMBER, CONSTRAINT, ORIENTATION, |
193 |
< |
START_INDEX, BLOCK_END ); |
193 |
> |
ZCONSTRAINT, BLOCK_END ); |
194 |
|
#endif |
195 |
|
|
196 |
|
MPI_Bcast(&mpiContinue,1,MPI_INT,0,MPI_COMM_WORLD); |
212 |
|
{ |
213 |
|
event the_event; |
214 |
|
mBEvent mpiEventContainer; |
212 |
– |
int mpiError; |
215 |
|
|
214 |
– |
|
216 |
|
|
217 |
|
MPI_Bcast(&mpiEventContainer,1,mpiBASSEventType,0,MPI_COMM_WORLD); |
218 |
|
|
241 |
|
the_event.event_type = TORSION; |
242 |
|
the_event.evt.blk_index = mpiEventContainer.i1; |
243 |
|
break; |
244 |
+ |
|
245 |
+ |
case mpiZCONSTRAINT: |
246 |
+ |
the_event.event_type = ZCONSTRAINT; |
247 |
+ |
the_event.evt.blk_index = mpiEventContainer.i1; |
248 |
+ |
break; |
249 |
|
|
250 |
|
case mpiCOMPONENT: |
251 |
|
the_event.event_type = COMPONENT; |
350 |
|
|
351 |
|
|
352 |
|
void mpiInterfaceExit(void){ |
347 |
– |
int mpiError; |
353 |
|
int mpiStatus = MPI_INTERFACE_ABORT; |
354 |
|
|
355 |
|
MPI_Bcast(&mpiStatus,1,MPI_INT,0,MPI_COMM_WORLD); |