******************* 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 Chris, The previous errors are like these: [ 46%] Building CXX object library/UnitTests/CMakeFiles/UnitTests.dir/util.cpp.o [ 46%] Linking CXX executable UnitTests ../LibUtilities/libLibUtilities.so.3.2.0: undefined reference to `ompi_mpi_cxx_op_intercept' ../LibUtilities/libLibUtilities.so.3.2.0: undefined reference to `ompi_mpi_op_sum' ../LibUtilities/libLibUtilities.so.3.2.0: undefined reference to `MPI_Win_unlock' ../LibUtilities/libLibUtilities.so.3.2.0: undefined reference to `MPI_Group_excl' I can not fix these errors. Please help me about the source of these errors. Best regards, Mohammad 30 Mehr 1401 2:43 PM, "Chris Cantwell" <c.cantwell@imperial.ac.uk> wrote:
Dear Mohammad,
On 22/10/2022 07:47, m.r.rouhanian@ut.ac.ir wrote:
collect2: error: ld returned 1 exit status library/UnitTests/CMakeFiles/UnitTests.dir/build.make:558: recipe for > target 'library/UnitTests/UnitTests-3.2.0' failed make[2]: *** [library/UnitTests/UnitTests-3.2.0] Error 1 CMakeFiles/Makefile2:639: recipe for target > 'library/UnitTests/CMakeFiles/UnitTests.dir/all' failed make[1]: *** [library/UnitTests/CMakeFiles/UnitTests.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 Do you know what the problem is and how I should fix it?
These error messages are a consequence of previous errors. You would need to look at those earlier messages to identify the source of the problem (e.g. undefined references).
I also note you look to be using Nektar++ 3.2.0? If so, it would be better to try and use a more recent version as there have been a lot of changes since then.
Kind regards, Chris
-- 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