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 rockylinux:9 | |
| # Install development tools and dependencies | |
| RUN dnf groupinstall -y "Development Tools" && \ | |
| dnf install -y \ | |
| gcc gcc-gfortran gcc-c++ make cmake perl git-lfs \ | |
| wget git patch diffutils libxcrypt-compat \ | |
| which python | |
| # Download and extract OpenMPI source code |
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
| # specify properties of the host system | |
| # i.e. system you're compiling ON | |
| set(CMAKE_HOST_SYSTEM Linux) | |
| set(CMAKE_HOST_SYSTEM_PROCESSOR x86_64) | |
| # specify properties of the target system | |
| # i.e. system you're compiling FOR | |
| set(CMAKE_SYSTEM_APPLE) | |
| set(CMAKE_SYSTEM_VERSION 20.4) | |
| set(CMAKE_SYSTEM_PROCESSOR x86_64) |