:warning: This page needs updates for preCICE v2 :warning:
In order to install CalculiX and the adapter on superMUC, a number of depencies are first required. Initially, preCICE must be installed
To install SPOOLES, some changes are necessary.
~/SPOOLES.2.2/Tree/src/makeGlobalLibcontains an error: file
drawTree.cdoes not exist and should be replaced by
- Changes to the
Make.incfile must be done according to the CalculiX install Manual, page 16 and 17.
In installing ARPACK, the HOME directory needs to be specified in the “ARmake.inc” file. No changes are necessary for the Makefile. To install ARPACK, run “make lib” in the ARPACk directory.
Any problems with the installation of SPOOLES and ARPACK can be searched in the installation instructions.
To install yaml-cpp, run in the source directory:
mkdir build cd build cmake .. make make install
yaml-cpp 0.5.3 is known to work. Newer version may also work. yaml-cpp can be downloaded from
wget https://github.com/jbeder/yaml-cpp/archive/release-0.5.3.tar.gz -O - | tar xz
The following modules available in superMUC are known to work for the CalculiX adapter installation.
The paths to the CalculiX CCX, SPOOLES, ARPACK and YAML must be specified. Line 61: “FC = mpifort” can be commented out and replaced with “FC = gfortran”.
The path to the pkgconfig file needs to be stated. The command “export PKG_CONFIG_PATH=/path/to/lib/pkgconfig” must be provided. It is easier to install preCICE with the “CMAKE_INSTALL_PREFIX” set to the path where preCICE is installed.
To install the adapter, the command with the following configurations is known to work:
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/path -DCMAKE_BUILD_TYPE=RelWithDebInfo ..