[Last updated: 26 March 2021]
Hello!
CalculiX is a powerful tool for FEM purposes and is used by many open source software for this very purpose. However, a newcomer can be deterred by the troubles one can face while compiling CalculiX for their distro. The compiled binary available on the website doesn’t work on Fedora 33.
The following steps were performed on a system with AMD CPU, Nvidia GPU with Nvidia proprietary drivers. The steps here are for the complete source downloaded from here (cgx_2.17.1.all.tar.bz2).
- Start by reading install guide
- When you run
make
then your installation will throw an error that a header or any other file cannot be found. Copy the file name. - Paste the file name in the search option here. Select Provides tab. This will show you list of packages that provide this particular file.
- Install the package and proceed with step 2. Keep doing this until the build process is complete.
Here are the packages that I had to install on Fedora 33 libXmu-devel libXi-devel mesa-libGL-devel mesa-libGLU-devel
I was unable to compile the program available here(ccx_2.17.src.tar.bz2). It kept throwing errors related to ARPACK which was compiled in /usr/local/ARPACK
. If someone has compiled just the source then please extend this guide.