PPA for ubuntu 22.04
PPA for ubuntu 22.04
Hello - is this the correct place to ask about the Ubuntu PPA please?
If so, we are wondering if there are plans to add support 22.04 LTS in the near future? We're using a number of cloud instances which currently are pinned to 20.04, but we'd like to move to 22.04 when possible.
From here: https://launchpad.net/~elmer-csc-ubuntu ... er-csc-ppa I can see that there are builds for 20.04 and 20.10, but not for more recent versions.
Thanks!
Tom
If so, we are wondering if there are plans to add support 22.04 LTS in the near future? We're using a number of cloud instances which currently are pinned to 20.04, but we'd like to move to 22.04 when possible.
From here: https://launchpad.net/~elmer-csc-ubuntu ... er-csc-ppa I can see that there are builds for 20.04 and 20.10, but not for more recent versions.
Thanks!
Tom
-
- Posts: 2404
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PPA for ubuntu 22.04
This will build Elmer with ElmerGUI MPI Mumps LUA on Ubuntu 22.04
cd $HOME
mkdir elmer
cd elmer
sudo apt install git
git clone https://github.com/ElmerCSC/elmerfem.git
sudo apt install cmake build-essential gfortran libopenmpi-dev libblas-dev liblapack-dev
sudo apt install libqwt-dev
sudo apt install libqt5opengl5-dev
sudo apt install qtscript5-dev
sudo apt install libqt5svg5-dev
sudo apt install qtscript5-dev libqwt-qt5-dev
sudo apt install cmake gcc g++ gfortran libqwt-qt5-dev libmpich-dev libblas-dev liblapack-dev libqt5svg5-dev libnetcdff-dev libmetis-dev libparmetis-dev libmumps-dev netcdf-bin
sudo apt install lua5.3
sudo apt-get install libmumps-dev
sudo apt-get install libparmetis-dev
mkdir build
cd build
cmake -DWITH_QT5=TRUE -DWITH_ELMERGUI:BOOL=TRUE -DWITH_MPI:BOOL=TRUE -DWITH_Mumps:BOOL=TRUE -DWITH_LUA:BOOL=TRUE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
make install
export ELMER_HOME=$HOME/elmer/install/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ELMER_HOME/lib
export PATH=$PATH:$ELMER_HOME/bin
cd $HOME
mkdir elmer
cd elmer
sudo apt install git
git clone https://github.com/ElmerCSC/elmerfem.git
sudo apt install cmake build-essential gfortran libopenmpi-dev libblas-dev liblapack-dev
sudo apt install libqwt-dev
sudo apt install libqt5opengl5-dev
sudo apt install qtscript5-dev
sudo apt install libqt5svg5-dev
sudo apt install qtscript5-dev libqwt-qt5-dev
sudo apt install cmake gcc g++ gfortran libqwt-qt5-dev libmpich-dev libblas-dev liblapack-dev libqt5svg5-dev libnetcdff-dev libmetis-dev libparmetis-dev libmumps-dev netcdf-bin
sudo apt install lua5.3
sudo apt-get install libmumps-dev
sudo apt-get install libparmetis-dev
mkdir build
cd build
cmake -DWITH_QT5=TRUE -DWITH_ELMERGUI:BOOL=TRUE -DWITH_MPI:BOOL=TRUE -DWITH_Mumps:BOOL=TRUE -DWITH_LUA:BOOL=TRUE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
make install
export ELMER_HOME=$HOME/elmer/install/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ELMER_HOME/lib
export PATH=$PATH:$ELMER_HOME/bin
-
- Posts: 1
- Joined: 02 Apr 2023, 03:12
- Antispam: Yes
Re: PPA for ubuntu 22.04
Trying to follow this procedure, the line
sudo apt install libqwt-dev
throws an error. It seems this package is removed from Ubuntu 22.04
sudo apt install libqwt-dev
throws an error. It seems this package is removed from Ubuntu 22.04
-
- Posts: 2404
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PPA for ubuntu 22.04
libqwt-qt5-dev should cover it.
-
- Posts: 2404
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PPA for ubuntu 22.04
When installing the libraries just keep going if one doesn't install it probably isn't needed. I will try to clean up the list.
-
- Site Admin
- Posts: 4843
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: PPA for ubuntu 22.04
Hi
I just added some recipes for jammy trying to copy the packages in this thread. However, they would not work out-of-the-box and as I don't have the platform currently available I'm happy to accept fixes for this PPA.
The recipes and instructions are here:
https://github.com/ElmerCSC/elmer-packaging-ubuntu
Specifically Jammy aka Ubuntu 22.04 is here:
https://github.com/ElmerCSC/elmer-packa ... r/jammy-eg
-Peter
I just added some recipes for jammy trying to copy the packages in this thread. However, they would not work out-of-the-box and as I don't have the platform currently available I'm happy to accept fixes for this PPA.
The recipes and instructions are here:
https://github.com/ElmerCSC/elmer-packaging-ubuntu
Specifically Jammy aka Ubuntu 22.04 is here:
https://github.com/ElmerCSC/elmer-packa ... r/jammy-eg
-Peter
-
- Posts: 2404
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PPA for ubuntu 22.04
I tried it and got an error with mumps
elmerfem-csc : Depends: libmumps-5.2.1 but it is not installable
elmerfem-csc : Depends: libmumps-5.2.1 but it is not installable
-
- Posts: 2404
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PPA for ubuntu 22.04
when I compile on my own I use
sudo apt-get install libmumps-dev
sudo apt-get install libparmetis-dev
succesfully
sudo apt-get install libmumps-dev
sudo apt-get install libparmetis-dev
succesfully
-
- Posts: 2404
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PPA for ubuntu 22.04
Looks like jammy is on libmumps-5.4
-
- Posts: 2404
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PPA for ubuntu 22.04
I tried it on a fresh install of jammy, and it worked.