This is a tool for building Calculix-ccx module more easily. You can enable additional functions such as ExodusII output, IntelMKL(PARDISO) or SX-Aurora suport by configuration.
- Ubuntu: Install following packages
% sudo apt install git make patch libblas-dev liblapack-dev
- CentOS: Install following packages
% sudo yum install git make patch epel-release atlas-devel lapack-devel blas-devel
- AlmaLinux 8: Install following packages
% sudo dnf install git make patch
% sudo dnf install --enablerepo=powertools lapack-devel blas-devel
Now, Intel-MKL is a part of Intel® oneAPI Base Toolkit. Please install from Get the Intel® oneAPI Base Toolkit
- Ubuntu: Install following packages
% sudo apt install libexodusii5 libexodusii-dev
- CentOS: Install following packages
% sudo yum install exodusii exodusii-devel
- AlmaLinux 8/RockyLinux 8: No RPM packages
Install preCICE by instruction on the preCICE official site. Currently, CalculiX-Builder supports ONLY preCICE v2.x.
Get CalculiX-Builder from this repository and the base ccx sources and required libraries such as ARPACK and SPOOLES as submodules.
% git clone https://github.com/ISCPC/CalculiX-Builder.git
% cd CalculiX-Builder
% git submodule update --init --recursive
Edit Makefile to enable/disable optional functions.
WITH_EXODUSII={true|false}: ExodusII Output(-o exo) support(require libexodus.so)WITH_MKL={true|false}: IntelMKL(SOLVER=PARDISO) support(require Intel-MKL library)WITH_MKL_STATIC={true|false}: Link IntelMKL(PARDISO) staticallyWITH_PRECICE={true|false}: preCICE-adapter support
SX-Aurora specific options:
WITH_AURORA={ture|false}: solvers using SX-Aurora VE (SOLVER=HETEROSOLVER,CGONVE)
You can specify install path by editting PREFIX. By default, the modules are installed under /opt/local.
% make
For bulilding with multiple core:
% make NPROCS=<number of cores>
% make install