Installation on windows (using msys2)
January 16, 2026 ยท View on GitHub
Install msys2
Download msys2 (https://www.msys2.org) and install it.
Install dependencies
In an msys2 mingw64 terminal:
pacman -S mingw64/mingw-w64-x86_64-gcc
pacman -S mingw64/mingw-w64-x86_64-gcc-fortran
pacman -S mingw64/mingw-w64-x86_64-python
pacman -S mingw64/mingw-w64-x86_64-python-numpy
pacman -S mingw64/mingw-w64-x86_64-scons
pacman -S mingw64/mingw-w64-x86_64-python-pip
pacman -S mingw64/mingw-w64-x86_64-python-pip-tools
pacman -S mingw64/mingw-w64-x86_64-hdf5
pacman -S mingw64/mingw-w64-x86_64-opencascade
For parallel: First install Microsoft mpi redistribution. Then:
pacman -S mingw64/mingw-w64-x86_64-msmpi
pacman -S mingw-w64-x86_64-python-mpi4py
and export system paths (if not already done):
export PATH=/mingw64/bin:$PATH
export LD_LIBRARY_PATH=/mingw64/lib:$LD_LIBRARY_PATH
Install Cassiopee
export CASSIOPEE=<your_path>/Cassiopee
export MACHINE=msys2
source $CASSIOPEE/Cassiopee/Envs/sh_Cassiopee_r8
cd $CASSIOPEE/Cassiopee
./install
Some usefull pacman commands
Update system:
pacman -Syu
Find package matching keyword:
pacman -Ss <keyword>
Install package:
pacman -S <package>
List installed packages:
pacman -Q
Remove package:
pacman -Rs <package>