MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
|
The following instructions outline the steps required to install all necessary programs to build the MPM-Geomechanics project and execute its test suite.
Program | Installation | Command |
---|---|---|
Winget | Microsoft's official website | Native of Windows |
Git | via Winget | winget install -e --id Git.Git -e --source winget |
MSYS2 | via Winget | winget install -e --id MSYS2.MSYS2 --source winget |
CMake | via MSYS2 MINGW64 | pacman -S mingw-w64-x86_64-cmake |
GCC | via MSYS2 MINGW64 | pacman -S mingw-w64-x86_64-gcc |
G++ | via MSYS2 MINGW64 | pacman -S mingw-w64-x86_64-gcc |
Make | via MSYS2 MINGW64 | pacman -S make |
Make sure you have Winget installed, you can verify this by running winget --version
. If you don't have installed Winget, you can get it from Microsoft's official website
Step 1: Install Git and MSYS2 using winget
, by running the following commands:
Step 2: Open the MSYS2 MINGW64
console and install CMake, GCC, G++ and Make:
Step 3: Verify the versions of each installation :
Program | Installation | Command |
---|---|---|
Git | via apt | sudo apt install git |
CMake | via apt | sudo apt install cmake |
GCC | via apt | sudo apt install build-essential |
G++ | via apt | sudo apt install build-essential |
Make | via apt | sudo apt install build-essential |
Step 1: Install all the necessary programs using apt
:
Step 2: Verify the versions of each installation: