==== Timetable ==== ^ Room ^ Day ^ Hour ^ What ^ | X1 | Tuesday | 11.00-13.00 | Lesson (with prof) | | Multimedia room | Tuesday | 14-16 | Reading and Excercise (without prof) | Next lessons will be on Tuesday Oct. 3, 11am Room X1 and Tuesday Oct. 3 14pm in the multimedia room (Dept. of Computer Science). ==== Course notes ==== Course notes (last edition) may be found [[http://backus.di.unipi.it/~marcod/SPM1415/spmSept14.pdf|here]] ==== Trivial ff_comp implementation ==== In case, you may use this code to implement a trivial ff_comp that **only accepts sequential stages**. #ifndef ff_comp_hpp #define ff_comp_hpp #include #include #include #include using namespace ff; class ff_comp : public ff_node { protected: std::vectorstages; int stageno; public: ff_comp(ff_node *s1, ff_node *s2) { stages.push_back(s1); stages.push_back(s2); stageno = 2; } ff_comp(std::initializer_list pats) { stageno = 0; for(auto i = pats.begin(); i != pats.end(); i++) { stages.push_back(*i); stageno++; } } // for cloning ff_comp() { stageno=0; return; } void add_stage(ff_node * stage) { stages.push_back(stage); stageno++; return; } ff_comp * clone() { ff_comp * p = new ff_comp(); for(int i=0; iadd_stage(stages[i]); return(p); } // end of bad idea to clone void * svc (void * t) { auto x = stages[0]->svc(t); for(int i=1; isvc(x); return(x); } }; ====== Support material 2017 (recovery edition) ====== ==== Accounts ===== Account on the host r720-phi.itc.unipi.it. n order to access the machine try an **ssh spm17cNN@r720-phi.itc.unipi.it** When you access the machine the first time, please issue a command **ssh-keygen** answering with a RET at each one of the questions. After that I can enable you to log into the 60 core co-processor(s). Complete instructions can be found at [[http://didawiki.di.unipi.it/doku.php/magistraleinformaticanetworking/spm/spm1617|this link]]. ^ Account ^ Name ^ | spm17c02 | Lisi Andrea | | spm17c03 | Francesco Cariaggi | | spm17c04 | Leonardo Cariaggi | | spm17c05 | Tri Hong Nguyen | | spm17c06 | Michele Mazzoni | | spm17c07 | Gulio Auriemma | | spm17c08 | Gianluca Maraschio | | spm17c09 | Daniele Di Sarli | | spm17c10 | Mattia Setzu | | spm17c11 | Francesca Sbolgi | | spm17c12 | Giorgio Vinciguerra | | spm17c13 | Orlando Leombruni | | spm17c14 | Alessandra Fais | | spm17c15 | Cosimo Agati | | spm17c16 | Elena Bucchianeri | | spm17c17 | Maria Chiara Cecconi | | spm17c18 | Equi Massimo |