Nektar++ installation error
Dear all, I am currently trying to install Nektar++ for Windows 10 following the instructions in user-guide-4.4.1. After completing the building/installation process (point 12.) I got 5 errors. Configuring and Generating in cmake seems successful, although some kind of error message is present (see in Message.txt). In the Output.log you can see the installation process (not my first attempt) and in pic1 and pic2 the appearance of cmake. I am using Visual Studio 2015 (x64). Should you have any questions or suggestions, please contact me. Any help is greatly appreciated! Kind Regards, Csaba Biró
Hi Csaba, Sorry your questions were not answered earlier. We officially support Windows but hardly anyone actually uses Nektar++ on Windows. I myself started with Windows before switching back to Linux for ease of use. Getting Nektar++ to work on Windows is sometimes tricky as it is in your case apparently. First things first, the CMake output that you are getting is merely a warning. Nothing to worry about. If it was an error, you wouldn’t have got past that step. Then, I can see that the output corresponds to an attempt to build again after an unsuccessful build. It would be useful for me to have the output of a first clean build: you just need to clear the build directory and repeat steps 8-12. The error that you’re getting seems related to Loki. Could you do try to build again with the THIRDPARTY_BUILD_LOKI flag active? I see that you’re running Windows 10 and would guess that you have the Creators Update installed. I would personally advise you to install the Windows Subsystem for Linux (Ubuntu preferred): https://docs.microsoft.com/en-us/windows/wsl/install-win10. You’ll have a full Ubuntu command line system on your Windows 10 machine and can use Nektar++ on it. Best, Julian Marcon Research Assistant (Early Stage Researcher) Department of Aeronautics / Aerodynamics Section Imperial College London, City and Guilds Building, Room 420 London SW7 2AZ Mob.: +44 (0)7449 121911<tel:+447449121911> From: nektar-users-bounces@imperial.ac.uk [mailto:nektar-users-bounces@imperial.ac.uk] On Behalf Of Csaba Biró Sent: 01 March 2018 14:29 To: nektar-users <nektar-users@imperial.ac.uk> Subject: [Nektar-users] Nektar++ installation error Dear all, I am currently trying to install Nektar++ for Windows 10 following the instructions in user-guide-4.4.1. After completing the building/installation process (point 12.) I got 5 errors. Configuring and Generating in cmake seems successful, although some kind of error message is present (see in Message.txt). In the Output.log you can see the installation process (not my first attempt) and in pic1 and pic2 the appearance of cmake. I am using Visual Studio 2015 (x64). Should you have any questions or suggestions, please contact me. Any help is greatly appreciated! Kind Regards, Csaba Biró
Hi Csaba, I know that Julian replied to this query a little while ago suggesting that you could use the Windows Subsystem for Linux as a workaround but I wanted to follow-up with some further information in case you'd still like to do a standard build in Windows 10. I was able to replicate the error you were receiving when building Nektar++ 4.4.1 in Windows 10 and there does, indeed, seem to be an issue here related to the use of the Loki library. In the Nektar++ master branch, and from the next major release, the code is using some C++ 11 features that mean that Loki is no longer required - as such, this dependency has been removed and is not required in master. If you clone the code from git and do a build of the master branch, you should find that you're able to build successfully on Windows 10. As a workaround to build Nektar++ 4.4.1 you can add "#define LOKI_CLASS_LEVEL_THREADING" as the first statement below the comments (i.e. above all the other #include statements) in the file nektar/library/SolverUtils/EquationSystem.cpp. This should resolve the build error and enable you to build using Visual Studio 2015. This fix will be added to the next patch release Nektar++. Thanks for reporting this issue. Kind regards, Jeremy On 1 Mar 2018, at 14:28, Csaba Biró <archimonde01@gmail.com> wrote:
Dear all,
I am currently trying to install Nektar++ for Windows 10 following the instructions in user-guide-4.4.1. After completing the building/installation process (point 12.) I got 5 errors. Configuring and Generating in cmake seems successful, although some kind of error message is present (see in Message.txt). In the Output.log you can see the installation process (not my first attempt) and in pic1 and pic2 the appearance of cmake. I am using Visual Studio 2015 (x64). Should you have any questions or suggestions, please contact me. Any help is greatly appreciated!
Kind Regards, Csaba Biró <Message.txt><output.log><pic1.PNG><pic2.PNG>_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (3)
- 
                
                Csaba Biró
- 
                
                Jeremy Cohen
- 
                
                Marcon, Julian