Next: Units Up: CalculiX CrunchiX USER'S MANUAL Previous: Introduction. Contents

# How to perform CalculiX calculations in parallel
Keywords: ccx

Nowadays most computers have several CPUs, allowing for the calculations to be performed in a parallel way. In CalculiX one can

- solve the system of equations with the multithreaded version of SPOOLES. To this end

  - the MT-version of SPOOLES must have been compiled. For further information on this topic please consult the SPOOLES documentation
  - CalculiX CrunchiX must have been compiled with the USE_MT flag activated in the Makefile, please consult the README.INSTALL file.
  - at execution time the environment variable CCX_NPROC must have been set to the number of CPUs you want to use. In Linux this can be done by ``export CCX_NPROC=n'' on the command line, where n is the number of CPUs. Default is 1.

- solve the system of equations with the multithreaded version of PARDISO. PARDISO is proprietary. Look at the PARDISO documentation how to link the multithreaded version. At execution time the environment variable OMP_NUM_THREADS must be set to the number of CPUs, default is 1.

- create the right hand side of the CFD equations (computational fluid dynamics) in parallel. No special compilation flag is needed. At execution time the environment variable CCX_NPROC must be set to the number of CPUs, default is 1.

Next: Units Up: CalculiX CrunchiX USER'S MANUAL Previous: Introduction. Contents