9 void faster::worker::run(){
20 size_t * lineSizes = NULL;
22 std::string name, name2;
23 std::vector<unsigned long int> idV;
26 comm->probeMsgs(tag, msgSrc);
39 comm->recvCreateFDD(
id, tType, size);
41 createFDD(
id, tType, size);
47 comm->recvCreateIFDD(
id, kType, tType, size);
49 createIFDD(
id, kType, tType, size);
54 comm->recvCreateFDDGroup(
id, kType, idV);
56 createFDDGroup(
id, kType, idV );
62 comm->recvDiscardFDD(
id);
68 case MSG_FDDSETDATAID:
70 comm->recvFDDSetData(
id, data, size);
72 setFDDData(
id, data, size);
76 case MSG_FDDSET2DDATAID:
79 comm->recvFDDSetData(
id, data, lineSizes, size);
81 setFDDData(
id, data, lineSizes, size);
86 case MSG_FDDSETIDATAID:
88 comm->recvFDDSetIData(
id, keys, data, size);
90 setFDDIData(
id, keys, data, size);
94 case MSG_FDDSET2DIDATAID:
96 comm->recvFDDSetIData(
id, keys, data, lineSizes, size);
98 setFDDIData(
id, keys, data, lineSizes, size);
103 case MSG_READFDDFILE:
105 comm->recvReadFDDFile(
id, name, size, offset);
107 readFDDFile(
id, name, size, offset);
110 case MSG_WRITEFDDFILE:
112 comm->recvWriteFDDFile(
id, name, name2);
114 writeFDDFile(
id, name, name2);
120 comm->recvCollect(
id);
135 std::cerr <<
" \033[1;31mR:ERROR UNRECOGNIZED MESSAGE " << tag <<
" from " << msgSrc <<
"!!!!!!!!\033[0m\n";
unsigned int fddType
Dataset type.