Compile MPICH from source on Fedora 40

sudo dnf update -y
sudo dnf groupinstall -y "Development Tools"
sudo dnf install -y gcc gcc-c++ gfortran make cmake autoconf automake libtool
sudo dnf install -y hwloc hwloc-devel libfabric libfabric-devel
sudo dnf install -y libxml2 libxml2-devel
sudo dnf install -y numactl numactl-devel
sudo dnf install -y openssl openssl-devel
sudo dnf install -y zlib zlib-devel
sudo dnf install -y libpsm2 libpsm2-develsudo
dnf install -y libuuid libuuid-develsudo
dnf install -y libnl3 libnl3-devel
wget https://www.mpich.org/static/downloads/4.2.3/mpich-4.2.3.tar.gz
tar -xvf mpich-4.2.3.tar.gz
cd mpich-4.2.3/
./configure --enable-threads=multiple --with-thread-package=posix
make -j$(nproc)
sudo make install

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *