This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:bookworm | |
# Variables | |
ENV LLVM_VERSION=19 | |
ENV PYTHON_VERSION=3.14.0 | |
ENV PYTHON_VERSION_BETA=${PYTHON_VERSION}b1 | |
# Dépendances nécessaires | |
# Installer dépendances système |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from typing import Callable, List, Any | |
import cloudpickle | |
from mpi4py import MPI | |
def getInstanceId() -> int: | |
"""Return the MPI worker id | |
Returns: | |
[int]: worker id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <list> | |
#include <array> | |
#include <string> | |
#include <algorithm> | |
#include <iostream> | |
#include <ranges> | |
#include <map> | |
auto zip(std::ranges::common_range auto & ... containers){ |