Nektar compile error - development version.
******************* This email originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address. ******************* Dear Nektar users, After a lot of trial and error, this is what I end up with trying to compile the fresh development version of Nektar. Here I reproducing the compile error since I encountered the same error on an hpc cluster rhel6 and Gcc-8.2.0, same thing on my workstation Gcc-8.2.0 running Centos 6.10 64bits. nevertheless, release version 5.0 does compile fine. I've been trying to compile the development version with nektar-error-on-warnings set OFF, with full build for all thirdparty packages, I also had the same error using cxxflags=-std=c++11 trying to limit the compiler features to c++11. Would you please check out the compile error output attached hereafter. Thanks to all of you. Saâd [22%] Building CXX object library/LibUtilities/CMakeFile s/LibUtilities.dir/LinearAlgebra/blas.cpp.o [ 22%] Building CXX object library/LibUtilities/CMakeFile s/LibUtilities.dir/LinearAlgebra/BlockMatrix.cpp.o In file included from /softroot/nektar++/library/Lib Utilities/Communication/CommCwipi.cpp:37: /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.h:73:18: error: virtual function ‘virtual void Nektar::LibUtilities::CommCwipi::v_Finalise()’ overriding final function virtual void v_Finalise(); ^~~~~~~~~~ In file included from /softroot/nektar++/library/Lib Utilities/Communication/CommCwipi.h:41, from /softroot/nektar++/library/Lib Utilities/Communication/CommCwipi.cpp:37: /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:114:18: note: overridden function is ‘virtual void Nektar::LibUtilities::CommMpi: :v_Finalise()’ virtual void v_Finalise() final; ^~~~~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.cpp: In constructor ‘Nektar::LibUtilities::CommCwipi::CommCwipi(int, char**)’: /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.cpp:52:55: error: no matching function for call to ‘Nektar::LibUtilities::CommMpi ::CommMpi()’ CommCwipi::CommCwipi(int narg, char *arg[]) : CommMpi() ^ In file included from /softroot/nektar++/library/Lib Utilities/Communication/CommCwipi.h:41, from /softroot/nektar++/library/Lib Utilities/Communication/CommCwipi.cpp:37: /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:112:14: note: candidate: ‘Nektar::LibUtilities::CommMpi::CommMpi(MPI_Comm)’ explicit CommMpi(MPI_Comm pComm); ^~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:112:14: note: candidate expects 1 argument, 0 provided /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:103:26: note: candidate: ‘Nektar::LibUtilities::CommMpi::CommMpi(int, char**)’ LIB_UTILITIES_EXPORT CommMpi(int narg, char *arg[]); ^~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:103:26: note: candidate expects 2 arguments, 0 provided /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:91:7: note: candidate: ‘Nektar::LibUtilities::CommMpi::CommMpi(const Nektar::LibUtilities::CommMpi&)’ class CommMpi : public Comm ^~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:91:7: note: candidate expects 1 argument, 0 provided [ 23%] Building CXX object library/LibUtilities/CMakeFile s/LibUtilities.dir/LinearAlgebra/MatrixBase.cpp.o make[2]: *** [library/LibUtilities/CMakeFiles/LibUtilities.dir/Communication/CommCwipi.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [library/LibUtilities/CMakeFiles/LibUtilities.dir/all] Error 2 make: *** [all] Error 2
Dear Saâd, Thanks for spotting this issue and raising it with us. It looks like the Cwipi interface was not being tested by our CI system which meant that part of the code was not updated after recent refactoring work. I am fixing and testing this now and will get back to you soon. Cheers, Chris On 02/11/2020 21:10, Debbahi Saad wrote:
This email from saad.debbahi@gmail.com originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Dear Nektar users,
After a lot of trial and error, this is what I end up with trying to compile the fresh development version of Nektar. Here I reproducing the compile error since I encountered the same error on an hpc cluster rhel6 and Gcc-8.2.0, same thing on my workstation Gcc-8.2.0 running Centos 6.10 64bits. nevertheless, release version 5.0 does compile fine. I've been trying to compile the development version with nektar-error-on-warnings set OFF, with full build for all thirdparty packages, I also had the same error using cxxflags=-std=c++11 trying to limit the compiler features to c++11.
Would you please check out the compile error output attached hereafter.
Thanks to all of you.
Saâd
[22%] Building CXX object library/LibUtilities/CMakeFiles/LibUtilities.dir/LinearAlgebra/blas.cpp.o [ 22%] Building CXX object library/LibUtilities/CMakeFiles/LibUtilities.dir/LinearAlgebra/BlockMatrix.cpp.o In file included from /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.cpp:37: /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.h:73:18: error: virtual function ‘virtual void Nektar::LibUtilities::CommCwipi::v_Finalise()’ overriding final function virtual void v_Finalise(); ^~~~~~~~~~ In file included from /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.h:41, from /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.cpp:37: /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:114:18: note: overridden function is ‘virtual void Nektar::LibUtilities::CommMpi::v_Finalise()’ virtual void v_Finalise() final; ^~~~~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.cpp: In constructor ‘Nektar::LibUtilities::CommCwipi::CommCwipi(int, char**)’: /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.cpp:52:55: error: no matching function for call to ‘Nektar::LibUtilities::CommMpi::CommMpi()’ CommCwipi::CommCwipi(int narg, char *arg[]) : CommMpi() ^ In file included from /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.h:41, from /softroot/nektar++/library/LibUtilities/Communication/CommCwipi.cpp:37: /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:112:14: note: candidate: ‘Nektar::LibUtilities::CommMpi::CommMpi(MPI_Comm)’ explicit CommMpi(MPI_Comm pComm); ^~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:112:14: note: candidate expects 1 argument, 0 provided /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:103:26: note: candidate: ‘Nektar::LibUtilities::CommMpi::CommMpi(int, char**)’ LIB_UTILITIES_EXPORT CommMpi(int narg, char *arg[]); ^~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:103:26: note: candidate expects 2 arguments, 0 provided /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:91:7: note: candidate: ‘Nektar::LibUtilities::CommMpi::CommMpi(const Nektar::LibUtilities::CommMpi&)’ class CommMpi : public Comm ^~~~~~~ /softroot/nektar++/library/LibUtilities/Communication/CommMpi.h:91:7: note: candidate expects 1 argument, 0 provided [ 23%] Building CXX object library/LibUtilities/CMakeFiles/LibUtilities.dir/LinearAlgebra/MatrixBase.cpp.o make[2]: *** [library/LibUtilities/CMakeFiles/LibUtilities.dir/Communication/CommCwipi.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [library/LibUtilities/CMakeFiles/LibUtilities.dir/all] Error 2 make: *** [all] Error 2
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
-- Chris Cantwell Senior Lecturer in Aeronautics Department of Aeronautics Imperial College London South Kensington Campus London SW7 2AZ Tel: +44 (0)20 759 45050 Email: c.cantwell@imperial.ac.uk www.imperial.ac.uk/people/c.cantwell
participants (2)
- 
                
                Chris Cantwell
- 
                
                Debbahi Saad