반응형
Ubuntu에서 FreeFEM++ 설치
sudo apt-get install libgsl-dev libhdf5-dev liblapack-dev libopenmpi-dev freeglut3-dev
github.com/FreeFem/FreeFem-sources/releases 에서 FreeFEM_4.8_Ubuntu_withPETSc_amd64.deb를 다운 받은 후, 아래 명령어를 입력하여 설치
wget https://github.com/FreeFem/FreeFem-sources/releases/download/v4.8/FreeFEM_4.8_Ubuntu_withPETSc_amd64.deb
dpkg -i FreeFEM_VERSION_Ubuntu_withPETSc_amd64.deb
Error message 1
FreeFem++: error while loading shared libraries: libhdf5_serial.so.100: cannot open shared object file: No such file or directory
Solution
sudo ln -s /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103 /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.100
Error message 2
FreeFem++: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory
solution
sudo apt-get install gcc-7 g++-7
sudo apt-get install gfortran-7
댓글