To use Calculix in multithreading mode it is needed to compile from source. In order to do so it is necessary to compile ARPACK and SPOOLES library and install the required tools. The code which is presented here is already changed and ready for compilation. Please read the original documentation first from here.
Install the required tools for Calculix:
using your package manager. For Ubuntu and Debian-oriented system the command should be like:
sudo apt-get install gfortran make f2c liblapack3 liblapack-dev libexodusii-dev libgl1-mesa-dev libglu1-mesa-dev libxi-dev libxmu-dev
SPOOLES library should be obtained from this site using wget command.
After downloading the file, it is mandatory to create folder SPOOLES.2.2. Move the archive there and unpack it. It can be done with the following commands:
mv spooles.2.2.tgz SPOOLES.2.2
tar xvf spooles.2.2.tgz
Change directory to SPOOLES.2.2 with cd:
Then uncomment 14 line and comment line 15 in Make.inc file with your text editor. It can be done by:
The file after changes should look like:
CC = gcc
# CC = /usr/lang-4.0/bin/cc
Now the files are ready for compilation. Use:
Then it is needed to compile the MT library. It is done with following commands:
Then unpack files with tar commands
tar xvf arpack96.tar.gz
tar xvf patch.tar.gz
home = $(HOME)/ARPACKto your ARPACK directory
PLAT = SUN4to
PLAT = linux
FC = f77to
FC = gfortran
FFLAGS = -O -cg89to
FFLAGS = -O2
MAKE = /bin/maketo
MAKE = make
SHELL = /bin/shto
SHELL = shell
Then mowe to ARPACK directory and run:
Obtain Calculix source code using wget to your Calculix directory.
To unpack archieve use:
tar xvf ccx_2.17.src.tar
In order to compile Calculix in multithreading mode it is needed to change the Makefile from singlethread to multithread one. It can be simply done by:
mv Makefile Makefile_ST
mv Makefile_MT Makefile
in 15 line
Then it is possible to compile Calculix with:
CAE is a software package mainly consisting of CalculiX GraphiX, CrunchiX and keyword editor.
unv2ccx is a mesh converter that allows to convert Salome UNV file into CalculiX INP file.
ccx2paraview is a Calculix results converter which creates a Paraview compatible file.
pycalculix is a Python 3 library to automate and build finite element analysis (FEA) models in Calculix.