Almalinux8.7にLIGGGHTSをインストールしようとして、安易に「Fedoraと一緒でええんでしょ?」とか考えてたら、ドはまりしたポイントを紹介します。
LIGGGHTSマニュアルより拝借
Ubuntu 16.04LTS:
sudo apt-get install openmpi-bin libopenmpi-dev libvtk6.2 libvtk6-dev
-----
Ubuntu 17.10:
sudo apt-get install openmpi-bin libopenmpi-dev libvtk6.3 libvtk6-dev
-----
Fedora 25:
su -
dnf install openmpi openmpi-devel paraview-openmpi paraview-openmpi-devel gcc-c++
exit
echo "export PATH=$PATH:/usr/lib64/openmpi/bin" >> ~/.bashrc
echo "export LIBRARY_PATH=$LIBRARY_PATH:/usr/lib64/openmpi/lib:/usr/lib64/openmpi/lib/paraview" >> ~/.bashrc
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/openmpi/lib:/usr/lib64/openmpi/lib/paraview" >> ~/.bashrc
echo "export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/lib64/openmpi/include/paraview" >> ~/.bashrc
echo "export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/lib64/openmpi/include/paraview" >> ~/.bashrc
「AlmalinuxだからFedoraと一緒でいいよね?」と思ったそこの貴方。僕はダメでした。ディレクトリがちゃんとあるか確認しましょう。私のAlmalinux8.7ではこうなりました。
Almalinux8.7用
Almalinux 8.7:
su -
dnf install openmpi openmpi-devel paraview-openmpi paraview-openmpi-devel gcc-c++
exit
echo "export PATH=$PATH:/usr/lib64/openmpi/bin" >> ~/.bashrc
echo "export LIBRARY_PATH=$LIBRARY_PATH:/usr/lib64/openmpi/lib:/usr/lib64/openmpi/lib/paraview" >> ~/.bashrc
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/openmpi/lib:/usr/lib64/openmpi/lib/paraview" >> ~/.bashrc
echo "export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/openmpi-x86_64/paraview/paraview" >> ~/.bashrc
echo "export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/openmpi-x86_64/paraview/paraview" >> ~/.bashrc
誰かの役に立ちますように。