Using this addon: https://jschoeberl.github.io/iFEM/FEM/myassembling.html
follow the installation instruction from project https://github.com/TUWien-ASC/NGS-myfe.
git clone https://github.com/TUWien-ASC/NGS-myassembling.git
cd NGS-myassembling
mkdir build
cd build
cmake ..
make -j4 install