-
Notifications
You must be signed in to change notification settings - Fork 277
How to generate python wheels
Hubert Balcerzak edited this page Oct 7, 2019
·
11 revisions
Python wheel generation process is not finished and is subject to changes in the near future.
- Update and commit wheel metadata (optional).
- Install docker.
- Run command
sudo docker run --rm -v <local-output-dir>:/workspace/out hubertus248/kratoswheelbuilder-linux [branch] [number-of-cores]
[branch] - branch to compile. For exmaple master.
[number-of-cores] - number of cores assigned to the build. For example 4.
- Wait. Wheel files will appear in
<local-output-dir>.
- Update and commit wheel metadata (optional).
- Install docker and enable windows containers.
- Run command
docker run --rm --memory=<memory> --cpus=<number-of-cores> -v <local-output-dir>:c:\out hubertus248/kratoswheelbuilder-win <branch>
<memory> - maximum amount of RAM assigned to build container. Recomended value is 8g.
<number-of-cores> - number of cores assigned to the container. For example 4.
<branch> - branch to compile. For exmaple master.
- Wait. Wheel files will appear in
<local-output-dir>.
- Getting Kratos (Last compiled Release)
- Compiling Kratos
- Running an example from GiD
- Kratos input files and I/O
- Data management
- Solving strategies
- Manipulating solution values
- Multiphysics
- Video tutorials
- Style Guide
- Authorship of Kratos files
- Configure .gitignore
- How to configure clang-format
- How to use smart pointer in Kratos
- How to define adjoint elements and response functions
- Visibility and Exposure
- Namespaces and Static Classes
Kratos structure
Conventions
Solvers
Debugging, profiling and testing
- Compiling Kratos in debug mode
- Debugging Kratos using GDB
- Cross-debugging Kratos under Windows
- Debugging Kratos C++ under Windows
- Checking memory usage with Valgind
- Profiling Kratos with MAQAO
- Creating unitary tests
- Using ThreadSanitizer to detect OMP data race bugs
- Debugging Memory with ASAN
HOW TOs
- How to create applications
- Python Tutorials
- Kratos For Dummies (I)
- List of classes and variables accessible via python
- How to use Logger
- How to Create a New Application using cmake
- How to write a JSON configuration file
- How to Access DataBase
- How to use quaternions in Kratos
- How to do Mapping between nonmatching meshes
- How to use Clang-Tidy to automatically correct code
- How to use the Constitutive Law class
- How to use Serialization
- How to use GlobalPointerCommunicator
- How to use PointerMapCommunicator
- How to use the Geometry
- How to use processes for BCs
- How to use Parallel Utilities in futureproofing the code
- Porting to Pybind11 (LEGACY CODE)
- Porting to AMatrix
- How to use Cotire
- Applications: Python-modules
- How to run multiple cases using PyCOMPSs
- How to apply a function to a list of variables
- How to use Kratos Native sparse linear algebra
Utilities
Kratos API
Kratos Structural Mechanics API