Question regarding the compatibility of Ubuntu 22.04 LTS
******************* 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. ******************* Hi, I’m using Ubuntu 22.04 LTS now. I would like to study Nektar++, but I’m not sure if my OS is eligible for Nektar++. If it’s true, how could I install it? Best, Zhikang Dong
Hi Zhikang, Yes, Nektar++ should support Ubuntu 22.04. If you’re trying to build Nektar++ from source code you should be able to follow the standard approach, as described in the manual, for building from source for Linux <https://doc.nektar.info/userguide/latest/user-guidese3.html#x7-60001.3>. It’s possible that some updated packages provided with Ubuntu 22.04 may cause build issues but we will resolve any such issues. If you try to build from source and encounter any problems, please do let us know. At present we don’t provide pre-compiled binary packages <https://www.nektar.info/getting-started/installation/> for Ubuntu 22.04 but these will be available soon. Kind regards, Jeremy
On 7 Jun 2022, at 04:28, 董智康 <darrendongzhikang@gmail.com> wrote:
******************* 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. ******************* Hi,
I’m using Ubuntu 22.04 LTS now. I would like to study Nektar++, but I’m not sure if my OS is eligible for Nektar++. If it’s true, how could I install it?
Best, Zhikang Dong
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi Zhikang, Just to follow up on my earlier message, I can confirm that a basic build of the v5.1.0 Nektar++ release can be successfully made from source on Ubuntu 22.04. I undertook a standard build with MPI support enabled and this completed successfully. I note that there seems to be an issue building with HDF5 support on 22.04, we’ll investigate this. In case this helps, here are the steps that I carried out to build on Ubuntu 22.04: 1) Ensure dependencies are installed - I was working in a basic 22.04 Docker container which had very few dependencies installed by default. I had to install the following packages: build-essential cmake cmake-curses-gui git libboost-filesystem-dev libboost-iostreams-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libboost-thread-dev liblapack-dev libscotch-dev libtinyxml-dev zlib1g-dev mpi-default-dev libptscotch-dev flex bison If you’re working on a regular desktop or server install of 22.04, you probably have several of these packages installed already. 2) Get the Nektar++ source code and checkout the tag for the v5.1.0 release (you could also try building the master branch): git clone https://gitlab.nektar.info/nektar/nektar.git nektar++ cd nektar++ git checkout v5.1.0 3) Make a build directory in which to undertake the build mkdir build cd build 4) Run cmake to configure a standard build with MPI support enabled (note the “..” at the end of the command): cmake -DCMAKE_BUILD_TYPE=Release -DNEKTAR_USE_MPI:BOOL=ON .. 5) Run the build and install make -j 4 (change 4 to the number of cores on your system, a higher number will result in a shorter build time) …assuming the build completes without errors you can now install: make install You should now have a complete build of Nektar++ on Ubuntu 22.04. The binaries will be in the nektar++/build/dist/ directory. If you want to install to another location on your system, you can add "-DCMAKE_INSTALL_PREFIX=<install location>” to the cmake command in step 4 above, replacing <install location> with the full path to the location where you want to install Nektar++. Hope this helps you to get things going on Ubuntu 22.04. Kind regards, Jeremy
On 7 Jun 2022, at 09:50, Jeremy Cohen <jeremy.cohen@imperial.ac.uk> wrote:
Hi Zhikang,
Yes, Nektar++ should support Ubuntu 22.04. If you’re trying to build Nektar++ from source code you should be able to follow the standard approach, as described in the manual, for building from source for Linux <https://doc.nektar.info/userguide/latest/user-guidese3.html#x7-60001.3>. It’s possible that some updated packages provided with Ubuntu 22.04 may cause build issues but we will resolve any such issues. If you try to build from source and encounter any problems, please do let us know.
At present we don’t provide pre-compiled binary packages <https://www.nektar.info/getting-started/installation/> for Ubuntu 22.04 but these will be available soon.
Kind regards,
Jeremy
On 7 Jun 2022, at 04:28, 董智康 <darrendongzhikang@gmail.com <mailto:darrendongzhikang@gmail.com>> wrote:
******************* 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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address. ******************* Hi,
I’m using Ubuntu 22.04 LTS now. I would like to study Nektar++, but I’m not sure if my OS is eligible for Nektar++. If it’s true, how could I install it?
Best, Zhikang Dong
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk <mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (2)
- 
                
                Jeremy Cohen
- 
                
                董智康