{"action":"opened","issue":{"url":"https://api.github.com/repos/psi4/psi4public/issues/206","labels_url":"https://api.github.com/repos/psi4/psi4public/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/psi4/psi4public/issues/206/comments","events_url":"https://api.github.com/repos/psi4/psi4public/issues/206/events","html_url":"https://github.com/psi4/psi4public/issues/206","id":126032544,"number":206,"title":"Compilation error (libfrag)","user":{"login":"fevangelista","id":3681625,"avatar_url":"https://avatars.githubusercontent.com/u/3681625?v=3","gravatar_id":"","url":"https://api.github.com/users/fevangelista","html_url":"https://github.com/fevangelista","followers_url":"https://api.github.com/users/fevangelista/followers","following_url":"https://api.github.com/users/fevangelista/following{/other_user}","gists_url":"https://api.github.com/users/fevangelista/gists{/gist_id}","starred_url":"https://api.github.com/users/fevangelista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fevangelista/subscriptions","organizations_url":"https://api.github.com/users/fevangelista/orgs","repos_url":"https://api.github.com/users/fevangelista/repos","events_url":"https://api.github.com/users/fevangelista/events{/privacy}","received_events_url":"https://api.github.com/users/fevangelista/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-11T20:44:37Z","updated_at":"2016-01-11T20:44:37Z","closed_at":null,"body":"I am getting a series of compilation errors:\r\n\r\n```\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:116:1: error: use of undeclared identifier 'LibFragDriver'; did you mean\r\n      'psi::LibFrag::LibFragDriver'?\r\nLibFragDriver::LibFragDriver(const std::string& MethodName){\r\n^~~~~~~~~~~~~\r\npsi::LibFrag::LibFragDriver\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.h:34:7: note: 'psi::LibFrag::LibFragDriver' declared here\r\nclass LibFragDriver{\r\n      ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:121:4: error: unknown type name 'SharedMol'\r\n   SharedMol AMol=psi::Process::environment.molecule();\r\n   ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:116:49: warning: unused parameter 'MethodName' [-Wunused-parameter]\r\nLibFragDriver::LibFragDriver(const std::string& MethodName){\r\n                                                ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:183:9: error: no template named 'MPITask'; did you mean 'psi::MPITask'?\r\ntypedef MPITask<SharedFrag> Task_t;\r\n        ^~~~~~~\r\n        psi::MPITask\r\n/Users/francesco/Source/psi4/src/lib/libparallel2/TaskJobGuts/../MPITask.h:50:7: note: 'psi::MPITask' declared here\r\nclass MPITask{\r\n      ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:183:17: error: use of undeclared identifier 'SharedFrag'\r\ntypedef MPITask<SharedFrag> Task_t;\r\n                ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:184:76: error: unknown type name 'SharedFrags'\r\nstatic std::vector<Task_t> MakeTasks(const int Start, const int Stop,const SharedFrags& Frags_){\r\n                                                                           ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:186:4: error: unknown type name 'FragItr'\r\n   FragItr MonoI,MonoEnd;\r\n   ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:188:7: error: use of undeclared identifier 'MonoEnd'\r\n      MonoEnd=Frags_->end(i);\r\n      ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:189:43: error: use of undeclared identifier 'MonoEnd'; did you mean 'MonoI'?\r\n      for (MonoI=Frags_->begin(i); MonoI!=MonoEnd; ++MonoI)\r\n                                          ^~~~~~~\r\n                                          MonoI\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:186:12: note: 'MonoI' declared here\r\n   FragItr MonoI,MonoEnd;\r\n           ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:238:6: error: use of undeclared identifier 'LibFragDriver'; did you mean\r\n      'psi::LibFrag::LibFragDriver'?\r\nvoid LibFragDriver::RunCalc(const std::string& MethodName,int Start, int Stop) {\r\n     ^~~~~~~~~~~~~\r\n     psi::LibFrag::LibFragDriver\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.h:34:7: note: 'psi::LibFrag::LibFragDriver' declared here\r\nclass LibFragDriver{\r\n      ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:240:30: error: no matching function for call to 'MakeTasks'\r\n   std::vector<Task_t> Tasks=MakeTasks(Start,Stop,Frags_);\r\n                             ^~~~~~~~~\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:184:28: note: candidate function not viable: no known conversion from\r\n      'boost::shared_ptr<LibMolecule::FragmentedSystem>' to 'const int' for 3rd argument\r\nstatic std::vector<Task_t> MakeTasks(const int Start, const int Stop,const SharedFrags& Frags_){\r\n                           ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:258:11: error: use of undeclared identifier 'SharedFrag'\r\n   MPIJob<SharedFrag> PMan(Tasks);\r\n          ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:259:8: error: unknown type name 'SharedFrag'\r\n   for(SharedFrag NMer=PMan.Begin();!PMan.Done();NMer=PMan.Next()) {\r\n       ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:259:24: error: use of undeclared identifier 'PMan'\r\n   for(SharedFrag NMer=PMan.Begin();!PMan.Done();NMer=PMan.Next()) {\r\n                       ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:259:38: error: use of undeclared identifier 'PMan'\r\n   for(SharedFrag NMer=PMan.Begin();!PMan.Done();NMer=PMan.Next()) {\r\n                                     ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:259:55: error: use of undeclared identifier 'PMan'\r\n   for(SharedFrag NMer=PMan.Begin();!PMan.Done();NMer=PMan.Next()) {\r\n                                                      ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:281:34: error: use of undeclared identifier 'PMan'\r\n   std::vector<double> TempEgys2=PMan.Synch(TempEngy, NEgys);\r\n                                 ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:284:48: error: member reference base type 'int' is not a structure or union\r\n      const LibMolecule::SerialNumber& SN=TaskI->GetLabel()->GetSN();\r\n                                          ~~~~~^ ~~~~~~~~\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:290:6: error: use of undeclared identifier 'LibFragDriver'; did you mean\r\n      'psi::LibFrag::LibFragDriver'?\r\nvoid LibFragDriver::RunNMers(int Start,const std::string& MethodName) {\r\n     ^~~~~~~~~~~~~\r\n     psi::LibFrag::LibFragDriver\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.h:34:7: note: 'psi::LibFrag::LibFragDriver' declared here\r\nclass LibFragDriver{\r\n      ^\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.cc:294:6: error: use of undeclared identifier 'LibFragDriver'; did you mean\r\n      'psi::LibFrag::LibFragDriver'?\r\nvoid LibFragDriver::RunMonomers(const std::string& MethodName){\r\n     ^~~~~~~~~~~~~\r\n     psi::LibFrag::LibFragDriver\r\n/Users/francesco/Source/psi4/src/lib/libfrag/LibFragDriver.h:34:7: note: 'psi::LibFrag::LibFragDriver' declared here\r\nclass LibFragDriver{\r\n      ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n18 warnings and 20 errors generated.\r\nmake[2]: *** [src/lib/libfrag/CMakeFiles/frag.dir/LibFragDriver.cc.o] Error 1\r\nmake[1]: *** [src/lib/libfrag/CMakeFiles/frag.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```"}}