make all-recursive make[1]: Entering directory `/home/jesus/protomol' Making all in framework make[2]: Entering directory `/home/jesus/protomol/framework' Making all in base make[3]: Entering directory `/home/jesus/protomol/framework/base' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/base' Making all in io make[3]: Entering directory `/home/jesus/protomol/framework/io' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/io' Making all in parallel make[3]: Entering directory `/home/jesus/protomol/framework/parallel' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/parallel' Making all in topology make[3]: Entering directory `/home/jesus/protomol/framework/topology' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/topology' Making all in forces make[3]: Entering directory `/home/jesus/protomol/framework/forces' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/forces' Making all in imd make[3]: Entering directory `/home/jesus/protomol/framework/imd' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/imd' Making all in integrators make[3]: Entering directory `/home/jesus/protomol/framework/integrators' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/integrators' Making all in frontend make[3]: Entering directory `/home/jesus/protomol/framework/frontend' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/jesus/protomol/framework/frontend' Making all in factories make[3]: Entering directory `/home/jesus/protomol/framework/factories' icpc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../framework/base -I../../framework/io -I../../framework/parallel -I../../framework/topology -I../../framework/forces -I../../framework/imd -I../../framework/integrators -I../../framework/frontend -I../../framework/factories -Wall -wd810,383,981,279,444,1572 -O3 -ip -DNDEBUG -c -o registerIntegratorExemplars.o registerIntegratorExemplars.cpp registerIntegratorExemplars.cpp(23): error: expected a declaration <<<<<<< registerIntegratorExemplars.cpp ^ ../../framework/parallel/ParallelType.h(29): warning #12: parsing restarts here after previous syntax error typedef AbstractEnumType ParallelType; ^ ../../framework/parallel/ParallelType.h(30): error: expected a declaration } ^ ../../framework/parallel/Parallel.h(33): warning #12: parsing restarts here after previous syntax error Parallel(); ^ ../../framework/parallel/Parallel.h(34): error: expected a declaration ~Parallel(); ^ ../../framework/parallel/Parallel.h(35): error: identifier "Parallel" is undefined Parallel(const Parallel&){} ^ ../../framework/parallel/Parallel.h(35): warning #880: omission of explicit type is nonstandard ("int" assumed) Parallel(const Parallel&){} ^ ../../framework/parallel/Parallel.h(35): remark #1418: external definition with no prior declaration Parallel(const Parallel&){} ^ ../../framework/parallel/Parallel.h(35): warning #1011: missing return statement at end of non-void function "Parallel" Parallel(const Parallel&){} ^ ../../framework/parallel/Parallel.h(36): error: function "Parallel" is not a type name Parallel& operator=(const Parallel&){return *this;} ^ ../../framework/parallel/Parallel.h(36): error: "operator=" must be a member function Parallel& operator=(const Parallel&){return *this;} ^ ../../framework/parallel/Parallel.h(36): error: function "Parallel" is not a type name Parallel& operator=(const Parallel&){return *this;} ^ ../../framework/parallel/Parallel.h(36): error: "this" may only be used inside a nonstatic member function Parallel& operator=(const Parallel&){return *this;} ^ ../../framework/parallel/Parallel.h(37): error: expected a declaration public: ^ ../../framework/parallel/Parallel.h(42): warning #12: parsing restarts here after previous syntax error static void init(int &argc, char **&argv); ///< MPI_Init and sets id and number of process. ^ ../../framework/parallel/Parallel.h(45): error: identifier "myInitialized" is undefined static bool initialized() {return myInitialized;} ^ ../../framework/parallel/Parallel.h(46): error: identifier "myFinalized" is undefined static bool finalized() {return myFinalized;} ^ ../../framework/parallel/Parallel.h(47): error: identifier "myInitialized" is undefined static bool ok() {return (myInitialized && !myFinalized);} ^ ../../framework/parallel/Parallel.h(47): error: identifier "myFinalized" is undefined static bool ok() {return (myInitialized && !myFinalized);} ^ ../../framework/parallel/Parallel.h(49): error: identifier "myId" is undefined static int getId() {return myId;} ^ ../../framework/parallel/Parallel.h(50): error: identifier "myMasterId" is undefined static int getMasterId() {return myMasterId;} ^ ../../framework/parallel/Parallel.h(51): error: identifier "myNum" is undefined static int getNum() {return myNum;} ^ ../../framework/parallel/Parallel.h(52): error: identifier "myAvailableId" is undefined static int getAvailableId() {return myAvailableId;} ^ ../../framework/parallel/Parallel.h(53): error: identifier "myAvailableNum" is undefined static int getAvailableNum() {return myAvailableNum;} ^ ../../framework/parallel/Parallel.h(54): error: identifier "myIsParallel" is undefined static bool isParallel() {return myIsParallel;} ^ ../../framework/parallel/Parallel.h(56): error: identifier "myIAmMaster" is undefined static bool iAmMaster() {return myIAmMaster;} ^ ../../framework/parallel/Parallel.h(57): error: identifier "myIAmSlave" is undefined static bool iAmSlave() {return myIAmSlave;} ^ ../../framework/parallel/Parallel.h(59): error: identifier "ParallelType" is undefined static ParallelType getMode() {return myMode;} ^ ../../framework/parallel/Parallel.h(59): error: identifier "myMode" is undefined static ParallelType getMode() {return myMode;} ^ ../../framework/parallel/Parallel.h(60): error: identifier "ParallelType" is undefined static void setMode(ParallelType mode); ^ ../../framework/parallel/Parallel.h(61): error: identifier "myMode" is undefined static bool isDynamic() {return (myMode != ParallelType::STATIC);} ^ ../../framework/parallel/Parallel.h(61): error: name followed by "::" must be a class or namespace name static bool isDynamic() {return (myMode != ParallelType::STATIC);} ^ ../../framework/parallel/Parallel.h(63): error: identifier "myPipeSize" is undefined static int getPipeSize() {return myPipeSize;} ^ ../../framework/parallel/Parallel.h(66): error: identifier "myUseBarrier" is undefined static bool isBarrier() {return myUseBarrier;} ^ ../../framework/parallel/Parallel.h(67): error: identifier "myUseBarrier" is undefined static void setBarrier(bool b) {myUseBarrier = b;} ^ ../../framework/parallel/Parallel.h(69): error: identifier "myMaxPackages" is undefined static int getMaxPackages() {return myMaxPackages;} ^ ../../framework/parallel/Parallel.h(71): error: expected a declaration public: ^ ../../framework/parallel/Parallel.h(77): warning #12: parsing restarts here after previous syntax error static void bcast(Vector3DBlock* coords) ; ^ ../../framework/parallel/Parallel.h(83): error: incomplete type is not allowed static void distribute(ScalarStructure* energy, Vector3DBlock* coords); ^ ../../framework/parallel/Parallel.h(83): error: identifier "ScalarStructure" is undefined static void distribute(ScalarStructure* energy, Vector3DBlock* coords); ^ ../../framework/parallel/Parallel.h(83): error: identifier "energy" is undefined static void distribute(ScalarStructure* energy, Vector3DBlock* coords); ^ ../../framework/parallel/Parallel.h(83): error: expected a ")" static void distribute(ScalarStructure* energy, Vector3DBlock* coords); ^ ../../framework/parallel/Parallel.h(88): error: incomplete type is not allowed static void reduce(ScalarStructure* energy, Vector3DBlock* coords); ^ ../../framework/parallel/Parallel.h(88): error: expected a ")" static void reduce(ScalarStructure* energy, Vector3DBlock* coords); ^ ../../framework/parallel/Parallel.h(90): error: incomplete type is not allowed static void reduceSlaves(Real* begin, Real* end); ^ ../../framework/parallel/Parallel.h(90): error: identifier "Real" is undefined static void reduceSlaves(Real* begin, Real* end); ^ ../../framework/parallel/Parallel.h(90): error: identifier "begin" is undefined static void reduceSlaves(Real* begin, Real* end); ^ ../../framework/parallel/Parallel.h(90): error: expected a ")" static void reduceSlaves(Real* begin, Real* end); ^ ../../framework/parallel/Parallel.h(92): error: incomplete type is not allowed static void bcastSlaves(Real* begin, Real* end) ; ^ ../../framework/parallel/Parallel.h(92): error: expected a ")" static void bcastSlaves(Real* begin, Real* end) ; ^ ../../framework/parallel/Parallel.h(94): remark #584: omission of exception specification is incompatible with previous function "sync" (declared at line 879 of "/usr/include/unistd.h") static void sync(); ^ ../../framework/parallel/Parallel.h(94): remark #172: external/internal linkage conflict with previous declaration static void sync(); ^ ../../framework/parallel/Parallel.h(99): error: incomplete type is not allowed static void send(Vector3DBlock *vect, int address); ^ ../../framework/parallel/Parallel.h(99): error: identifier "Vector3DBlock" is undefined static void send(Vector3DBlock *vect, int address); ^ ../../framework/parallel/Parallel.h(99): error: identifier "vect" is undefined static void send(Vector3DBlock *vect, int address); ^ ../../framework/parallel/Parallel.h(99): error: expected a ")" static void send(Vector3DBlock *vect, int address); ^ ../../framework/parallel/Parallel.h(101): error: incomplete type is not allowed static void recv(Vector3DBlock *vect, int address); ^ ../../framework/parallel/Parallel.h(101): error: expected a ")" static void recv(Vector3DBlock *vect, int address); ^ ../../framework/parallel/Parallel.h(103): error: incomplete type is not allowed static void sendrecv_replace(Vector3DBlock *Vect, int sendaddr, int recvaddr); ^ ../../framework/parallel/Parallel.h(103): error: identifier "Vect" is undefined static void sendrecv_replace(Vector3DBlock *Vect, int sendaddr, int recvaddr); ^ ../../framework/parallel/Parallel.h(103): error: expected a ")" static void sendrecv_replace(Vector3DBlock *Vect, int sendaddr, int recvaddr); ^ ../../framework/parallel/Parallel.h(105): error: variable "send" has already been defined static void send(Real *data, int num, int address); ^ ../../framework/parallel/Parallel.h(105): error: incomplete type is not allowed static void send(Real *data, int num, int address); ^ ../../framework/parallel/Parallel.h(105): error: identifier "data" is undefined static void send(Real *data, int num, int address); ^ ../../framework/parallel/Parallel.h(105): error: expected a ")" static void send(Real *data, int num, int address); ^ ../../framework/parallel/Parallel.h(107): error: variable "recv" has already been defined static void recv(Real *data, int num, int address); ^ ../../framework/parallel/Parallel.h(107): error: incomplete type is not allowed static void recv(Real *data, int num, int address); ^ ../../framework/parallel/Parallel.h(107): error: expected a ")" static void recv(Real *data, int num, int address); ^ ../../framework/parallel/Parallel.h(109): error: incomplete type is not allowed static void sendrecv(Real *senddata, int sendnum, int sendaddr, Real *recvdata, int recvnum, int recvaddr); ^ ../../framework/parallel/Parallel.h(109): error: identifier "senddata" is undefined static void sendrecv(Real *senddata, int sendnum, int sendaddr, Real *recvdata, int recvnum, int recvaddr); ^ ../../framework/parallel/Parallel.h(109): error: expected a ")" static void sendrecv(Real *senddata, int sendnum, int sendaddr, Real *recvdata, int recvnum, int recvaddr); ^ ../../framework/parallel/Parallel.h(111): error: variable "sendrecv_replace" has already been defined static void sendrecv_replace(Real *data, int num, int sendaddr, int recvaddr); ^ ../../framework/parallel/Parallel.h(111): error: incomplete type is not allowed static void sendrecv_replace(Real *data, int num, int sendaddr, int recvaddr); ^ ../../framework/parallel/Parallel.h(111): error: expected a ")" static void sendrecv_replace(Real *data, int num, int sendaddr, int recvaddr); ^ ../../framework/parallel/Parallel.h(113): error: incomplete type is not allowed static void gather(Real *data, int num, Real *data_array, int address); ^ ../../framework/parallel/Parallel.h(113): error: expected a ")" static void gather(Real *data, int num, Real *data_array, int address); ^ ../../framework/parallel/Parallel.h(115): error: incomplete type is not allowed static void allgather(Real *data, int num, Real *data_array); ^ ../../framework/parallel/Parallel.h(115): error: expected a ")" static void allgather(Real *data, int num, Real *data_array); ^ ../../framework/parallel/Parallel.h(118): error: expected a declaration public: ^ ../../framework/parallel/Parallel.h(123): error: expected a declaration public: ^ ../../framework/parallel/Parallel.h(126): error: identifier "myNext" is undefined static void resetNext(){myNext = 0;myNextRange[0] =0;myNextRange[1]=0;myWorkState = getWorkState();} ^ ../../framework/parallel/Parallel.h(126): error: identifier "myNextRange" is undefined static void resetNext(){myNext = 0;myNextRange[0] =0;myNextRange[1]=0;myWorkState = getWorkState();} ^ ../../framework/parallel/Parallel.h(126): error: identifier "myWorkState" is undefined static void resetNext(){myNext = 0;myNextRange[0] =0;myNextRange[1]=0;myWorkState = getWorkState();} ^ ../../framework/parallel/Parallel.h(126): error: identifier "getWorkState" is undefined static void resetNext(){myNext = 0;myNextRange[0] =0;myNextRange[1]=0;myWorkState = getWorkState();} ^ ../../framework/parallel/Parallel.h(129): error: expected a declaration public: ^ ../../framework/parallel/Parallel.h(135): error: expected a declaration private: ^ ../../framework/parallel/Parallel.h(137): error: function "Parallel" is not a type name static Parallel& instance(); ^ ../../framework/parallel/Parallel.h(139): error: identifier "WorkState" is undefined static WorkState getWorkState(); ^ ../../framework/parallel/Parallel.h(144): error: expected a declaration public: ^ ../../framework/parallel/Parallel.h(146): error: expected a declaration private: ^ ../../framework/parallel/Parallel.h(157): error: identifier "ParallelType" is undefined static ParallelType myMode; ///< Parallelization scheme ^ ../../framework/parallel/Parallel.h(158): error: identifier "WorkState" is undefined static WorkState myWorkState; ///< Actual work state ^ ../../framework/parallel/Parallel.h(174): error: function "Parallel" is not a type name static Parallel* obj; ///< Instance ^ ../../framework/parallel/Parallel.h(179): error: identifier "ParallelType" is undefined static ParallelType myOldMode; ///< Saves parallelization scheme when switching MPI off ^ ../../framework/parallel/Parallel.h(180): error: expected a declaration }; ^ ../../framework/parallel/Parallel.h(182): error: expected a declaration } ^ ../../framework/integrators/TakahashiSimp.h(44): warning #12: parsing restarts here after previous syntax error ScalarStructure *energies); ^ ../../framework/integrators/TakahashiSimp.h(45): error: invalid specifier outside a class declaration virtual void run(int numTimesteps); ^ ../../framework/integrators/TakahashiSimp.h(46): error: invalid specifier outside a class declaration virtual void updateBeta( Real dt ); ^ ../../framework/integrators/TakahashiSimp.h(46): remark #1418: external definition with no prior declaration virtual void updateBeta( Real dt ); ^ ../../framework/integrators/TakahashiSimp.h(46): error: incomplete type is not allowed virtual void updateBeta( Real dt ); ^ ../../framework/integrators/TakahashiSimp.h(46): error: expected a ")" virtual void updateBeta( Real dt ); ^ ../../framework/integrators/TakahashiSimp.h(50): error: invalid specifier outside a class declaration virtual void calculateForces(Vector3DBlock *forces, const Vector3DBlock *positions); ^ ../../framework/integrators/TakahashiSimp.h(50): remark #1418: external definition with no prior declaration virtual void calculateForces(Vector3DBlock *forces, const Vector3DBlock *positions); ^ ../../framework/integrators/TakahashiSimp.h(50): error: incomplete type is not allowed virtual void calculateForces(Vector3DBlock *forces, const Vector3DBlock *positions); ^ ../../framework/integrators/TakahashiSimp.h(50): error: identifier "forces" is undefined virtual void calculateForces(Vector3DBlock *forces, const Vector3DBlock *positions); ^ ../../framework/integrators/TakahashiSimp.h(50): error: expected a ")" virtual void calculateForces(Vector3DBlock *forces, const Vector3DBlock *positions); ^ ../../framework/integrators/TakahashiSimp.h(55): error: expected a declaration private: ^ ../../framework/integrators/TakahashiSimp.h(61): error: expected a declaration public: ^ ../../framework/integrators/TakahashiSimp.h(64): error: expected a declaration }; ^ ../../framework/integrators/TakahashiSimp.h(66): error: expected a declaration } ^ ../../framework/base/Vector.h(28): warning #12: parsing restarts here after previous syntax error friend class Vector; ^ ../../framework/base/Vector.h(29): error: expected a declaration }; ^ compilation aborted for registerIntegratorExemplars.cpp (code 4) make[3]: *** [registerIntegratorExemplars.o] Error 4 make[3]: Leaving directory `/home/jesus/protomol/framework/factories' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/jesus/protomol/framework' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jesus/protomol' make: *** [all] Error 2