Skip to content

Commit c88cc02

Browse files
committed
Testing clean version of pygeosx install
1 parent bef2425 commit c88cc02

File tree

5 files changed

+335
-59
lines changed

5 files changed

+335
-59
lines changed

.github/workflows/docker_build_tpls.yml

Lines changed: 61 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -19,68 +19,72 @@ jobs:
1919

2020
matrix:
2121
include:
22-
- name: Ubuntu (20.04, gcc 9.4.0, open-mpi 4.0.3)
23-
DOCKER_REPOSITORY: geosx/ubuntu20.04-gcc9
24-
TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
25-
DOCKER_ROOT_IMAGE: ubuntu:20.04
26-
DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=9"
27-
RUNS_ON: ubuntu-latest
28-
- name: Ubuntu (20.04, gcc 10.5.0, open-mpi 4.0.3) - github codespaces
29-
DOCKER_REPOSITORY: geosx/ubuntu20.04-gcc10
30-
TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
31-
DOCKER_ROOT_IMAGE: mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04
32-
DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=10"
33-
RUNS_ON: ubuntu-latest
34-
- name: Ubuntu (22.04, gcc 11.4.0, open-mpi 4.1.2)
35-
DOCKER_ROOT_IMAGE: ubuntu:22.04
36-
DOCKER_REPOSITORY: geosx/ubuntu22.04-gcc11
37-
TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
38-
DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=11"
39-
RUNS_ON: ubuntu-latest
40-
- name: Ubuntu (22.04, gcc 12.3.0, open-mpi 4.1.2)
41-
DOCKER_ROOT_IMAGE: ubuntu:22.04
42-
DOCKER_REPOSITORY: geosx/ubuntu22.04-gcc12
43-
TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
44-
DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=12"
45-
RUNS_ON: ubuntu-latest
46-
- name: Ubuntu (22.04, clang 15.0.7 + gcc 11.4.0, open-mpi 4.1.2)
47-
DOCKER_ROOT_IMAGE: ubuntu:22.04
48-
DOCKER_REPOSITORY: geosx/ubuntu22.04-clang15
49-
TPL_DOCKERFILE: docker/tpl-ubuntu-clang.Dockerfile
50-
DOCKER_COMPILER_BUILD_ARG: "--build-arg CLANG_MAJOR_VERSION=15 --build-arg GCC_MAJOR_VERSION=11"
51-
RUNS_ON: ubuntu-latest
52-
- name: Ubuntu (20.04, clang 10.0.0 + gcc 9.4.0, open-mpi 4.0.3, cuda-11.8.89)
53-
DOCKER_REPOSITORY: geosx/ubuntu20.04-clang10.0.0-cuda11.8.89
54-
TPL_DOCKERFILE: docker/tpl-ubuntu-clang-cuda.Dockerfile
55-
RUNS_ON: ubuntu-latest
22+
# - name: Ubuntu (20.04, gcc 9.4.0, open-mpi 4.0.3)
23+
# DOCKER_REPOSITORY: geosx/ubuntu20.04-gcc9
24+
# TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
25+
# DOCKER_ROOT_IMAGE: ubuntu:20.04
26+
# DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=9"
27+
# RUNS_ON: ubuntu-latest
28+
# - name: Ubuntu (20.04, gcc 10.5.0, open-mpi 4.0.3) - github codespaces
29+
# DOCKER_REPOSITORY: geosx/ubuntu20.04-gcc10
30+
# TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
31+
# DOCKER_ROOT_IMAGE: mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04
32+
# DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=10"
33+
# RUNS_ON: ubuntu-latest
34+
# - name: Ubuntu (22.04, gcc 11.4.0, open-mpi 4.1.2)
35+
# DOCKER_ROOT_IMAGE: ubuntu:22.04
36+
# DOCKER_REPOSITORY: geosx/ubuntu22.04-gcc11
37+
# TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
38+
# DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=11"
39+
# RUNS_ON: ubuntu-latest
40+
# - name: Ubuntu (22.04, gcc 12.3.0, open-mpi 4.1.2)
41+
# DOCKER_ROOT_IMAGE: ubuntu:22.04
42+
# DOCKER_REPOSITORY: geosx/ubuntu22.04-gcc12
43+
# TPL_DOCKERFILE: docker/tpl-ubuntu-gcc.Dockerfile
44+
# DOCKER_COMPILER_BUILD_ARG: "--build-arg GCC_MAJOR_VERSION=12"
45+
# RUNS_ON: ubuntu-latest
46+
# - name: Ubuntu (22.04, clang 15.0.7 + gcc 11.4.0, open-mpi 4.1.2)
47+
# DOCKER_ROOT_IMAGE: ubuntu:22.04
48+
# DOCKER_REPOSITORY: geosx/ubuntu22.04-clang15
49+
# TPL_DOCKERFILE: docker/tpl-ubuntu-clang.Dockerfile
50+
# DOCKER_COMPILER_BUILD_ARG: "--build-arg CLANG_MAJOR_VERSION=15 --build-arg GCC_MAJOR_VERSION=11"
51+
# RUNS_ON: ubuntu-latest
52+
# - name: Ubuntu (20.04, clang 10.0.0 + gcc 9.4.0, open-mpi 4.0.3, cuda-11.8.89)
53+
# DOCKER_REPOSITORY: geosx/ubuntu20.04-clang10.0.0-cuda11.8.89
54+
# TPL_DOCKERFILE: docker/tpl-ubuntu-clang-cuda.Dockerfile
55+
# RUNS_ON: ubuntu-latest
5656
- name: Rockylinux (8, gcc 13.3, cuda 12.9.1)
5757
DOCKER_REPOSITORY: geosx/rockylinux8-gcc13-cuda12.9.1
5858
TPL_DOCKERFILE: docker/tpl-rockylinux-gcc-cuda-12.Dockerfile
5959
RUNS_ON: Runner_4core_16GB
60-
- name: Rockylinux (8, clang 17.0.6, cuda 12.9.1)
61-
DOCKER_REPOSITORY: geosx/rockylinux8-clang17-cuda12.9.1
62-
TPL_DOCKERFILE: docker/tpl-rockylinux-clang-cuda-12.Dockerfile
60+
- name: Rockylinux (8, gcc 13.3, cuda 12.9.1, pygeosx)
61+
DOCKER_REPOSITORY: geosx/rockylinux8-gcc13-cuda12.9.1
62+
TPL_DOCKERFILE: docker/tpl-rockylinux-gcc-cuda-12-pygeosx.Dockerfile
6363
RUNS_ON: Runner_4core_16GB
64-
- name: Pangea 3 (AlmaLinux 8.8, gcc 9.4.0, open-mpi 4.1.2, cuda 11.5.0, openblas 0.3.10)
65-
DOCKER_REPOSITORY: geosx/pangea3-almalinux8-gcc9.4-openmpi4.1.2-cuda11.5.0-openblas0.3.18
66-
TPL_DOCKERFILE: docker/TotalEnergies/Pangea3.Dockerfile
67-
DOCKER_ROOT_IMAGE: 7g8efcehpff/pangea-almalinux8-gcc9.4-openmpi4.1.2-cuda11.5.0-openblas0.3.18:4
68-
HOST_ARCH: ppc64le
69-
RUNS_ON: streak2
70-
- name: Sherlock CPU (centos 7.9.2009, gcc 10.1.0, open-mpi 4.1.2, openblas 0.3.10, zlib 1.2.11)
71-
DOCKER_REPOSITORY: geosx/sherlock-gcc10.1.0-openmpi4.1.2-openblas0.3.10-zlib1.2.11
72-
TPL_DOCKERFILE: docker/Stanford/Dockerfile
73-
DOCKER_ROOT_IMAGE: matteofrigo5/sherlock-gcc10.1.0-openmpi4.1.2-cuda12.4.0-openblas0.3.10-zlib1.2.11-cmake3.31.4-no-geosx:0.0.1
74-
SPEC: "%gcc@10.1.0~pygeosx~openmp"
75-
INSTALL_DIR_ROOT: /oak/stanford/groups/tchelepi/geos-sherlock/CPU
76-
RUNS_ON: ubuntu-latest
77-
- name: Sherlock GPU (centos 7.9.2009, gcc 10.1.0, open-mpi 4.1.2, cuda 12.4.0, openblas 0.3.10, zlib 1.2.11)
78-
DOCKER_REPOSITORY: geosx/sherlock-gcc10.1.0-openmpi4.1.2-cuda12.4.0-openblas0.3.10-zlib1.2.11
79-
TPL_DOCKERFILE: docker/Stanford/Dockerfile
80-
DOCKER_ROOT_IMAGE: matteofrigo5/sherlock-gcc10.1.0-openmpi4.1.2-cuda12.4.0-openblas0.3.10-zlib1.2.11-cmake3.31.4-no-geosx:0.0.1
81-
SPEC: "%gcc@10.1.0~pygeosx~openmp cuda_arch=70 ^cuda@12.4.0+allow-unsupported-compilers"
82-
INSTALL_DIR_ROOT: /oak/stanford/groups/tchelepi/geos-sherlock/GPU
83-
RUNS_ON: ubuntu-latest
64+
# - name: Rockylinux (8, clang 17.0.6, cuda 12.9.1)
65+
# DOCKER_REPOSITORY: geosx/rockylinux8-clang17-cuda12.9.1
66+
# TPL_DOCKERFILE: docker/tpl-rockylinux-clang-cuda-12.Dockerfile
67+
# RUNS_ON: Runner_4core_16GB
68+
# - name: Pangea 3 (AlmaLinux 8.8, gcc 9.4.0, open-mpi 4.1.2, cuda 11.5.0, openblas 0.3.10)
69+
# DOCKER_REPOSITORY: geosx/pangea3-almalinux8-gcc9.4-openmpi4.1.2-cuda11.5.0-openblas0.3.18
70+
# TPL_DOCKERFILE: docker/TotalEnergies/Pangea3.Dockerfile
71+
# DOCKER_ROOT_IMAGE: 7g8efcehpff/pangea-almalinux8-gcc9.4-openmpi4.1.2-cuda11.5.0-openblas0.3.18:4
72+
# HOST_ARCH: ppc64le
73+
# RUNS_ON: streak2
74+
# - name: Sherlock CPU (centos 7.9.2009, gcc 10.1.0, open-mpi 4.1.2, openblas 0.3.10, zlib 1.2.11)
75+
# DOCKER_REPOSITORY: geosx/sherlock-gcc10.1.0-openmpi4.1.2-openblas0.3.10-zlib1.2.11
76+
# TPL_DOCKERFILE: docker/Stanford/Dockerfile
77+
# DOCKER_ROOT_IMAGE: matteofrigo5/sherlock-gcc10.1.0-openmpi4.1.2-cuda12.4.0-openblas0.3.10-zlib1.2.11-cmake3.31.4-no-geosx:0.0.1
78+
# SPEC: "%gcc@10.1.0~pygeosx~openmp"
79+
# INSTALL_DIR_ROOT: /oak/stanford/groups/tchelepi/geos-sherlock/CPU
80+
# RUNS_ON: ubuntu-latest
81+
# - name: Sherlock GPU (centos 7.9.2009, gcc 10.1.0, open-mpi 4.1.2, cuda 12.4.0, openblas 0.3.10, zlib 1.2.11)
82+
# DOCKER_REPOSITORY: geosx/sherlock-gcc10.1.0-openmpi4.1.2-cuda12.4.0-openblas0.3.10-zlib1.2.11
83+
# TPL_DOCKERFILE: docker/Stanford/Dockerfile
84+
# DOCKER_ROOT_IMAGE: matteofrigo5/sherlock-gcc10.1.0-openmpi4.1.2-cuda12.4.0-openblas0.3.10-zlib1.2.11-cmake3.31.4-no-geosx:0.0.1
85+
# SPEC: "%gcc@10.1.0~pygeosx~openmp cuda_arch=70 ^cuda@12.4.0+allow-unsupported-compilers"
86+
# INSTALL_DIR_ROOT: /oak/stanford/groups/tchelepi/geos-sherlock/GPU
87+
# RUNS_ON: ubuntu-latest
8488

8589
steps:
8690
- name: Checkout

docker/rocky-spack-pygeosx.yaml

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
spack:
2+
config:
3+
install_tree:
4+
root: $spack/..
5+
projections:
6+
all: '{compiler.name}-{compiler.version}/{name}-{version}-{hash}'
7+
misc_cache: $spack/../misc_cache
8+
test_stage: $spack/../test_stage
9+
build_stage::
10+
- $spack/../build_stage
11+
12+
# Regular TPLs do not need views
13+
view: false
14+
15+
# Include shared variants and versions
16+
include:
17+
- ../defaults.yaml
18+
- ../versions.yaml
19+
20+
compilers::
21+
- compiler:
22+
extra_rpaths: []
23+
flags:
24+
cflags: -pthread
25+
cxxflags: -pthread
26+
modules: []
27+
operating_system: rocky8
28+
paths:
29+
cc: /usr/bin/clang
30+
cxx: /usr/bin/clang++
31+
f77: /usr/bin/gfortran
32+
fc: /usr/bin/gfortran
33+
spec: clang@17.0.6
34+
target: x86_64
35+
- compiler:
36+
extra_rpaths: []
37+
flags:
38+
cflags: -pthread
39+
cxxflags: -pthread
40+
modules: []
41+
operating_system: rocky8
42+
paths:
43+
cc: /opt/rh/gcc-toolset-13/root/usr/bin/gcc
44+
cxx: /opt/rh/gcc-toolset-13/root/usr/bin/g++
45+
f77: /opt/rh/gcc-toolset-13/root/usr/bin/gfortran
46+
fc: /opt/rh/gcc-toolset-13/root/usr/bin/gfortran
47+
spec: gcc@13.3.1
48+
target: x86_64
49+
50+
packages:
51+
all:
52+
target: [x86_64]
53+
compiler: [gcc, clang]
54+
providers:
55+
blas: [netlib-lapack]
56+
lapack: [netlib-lapack]
57+
mpi: [openmpi]
58+
59+
autoconf:
60+
version: [2.71]
61+
buildable: false
62+
externals:
63+
- spec: autoconf@2.71
64+
prefix: /usr
65+
automake:
66+
version: [1.16.5]
67+
buildable: false
68+
externals:
69+
- spec: automake@1.16.5
70+
prefix: /usr
71+
cmake:
72+
version: [3.28.6]
73+
buildable: false
74+
externals:
75+
- spec: cmake@3.28.6
76+
prefix: /usr/local
77+
cuda:
78+
buildable: False
79+
externals:
80+
- spec: cuda@12.9.1%gcc@13.3.1 +allow-unsupported-compilers
81+
prefix: /usr/local/cuda
82+
- spec: cuda@12.9.1%clang@17.0.6 +allow-unsupported-compilers
83+
prefix: /usr/local/cuda
84+
m4:
85+
buildable: false
86+
externals:
87+
- spec: m4@1.4.18
88+
prefix: /usr
89+
90+
# Spack may grab for mpi & we don't want to use them
91+
mpi:
92+
buildable: false
93+
94+
netlib-lapack:
95+
buildable: false
96+
externals:
97+
- spec: netlib-lapack@3.8.0
98+
prefix: /usr
99+
netlib-blas:
100+
buildable: false
101+
externals:
102+
- spec: netlib-blas@3.8.0
103+
prefix: /usr
104+
openmpi:
105+
externals:
106+
- spec: openmpi@4.1.1
107+
prefix: /usr/lib64/openmpi
108+
perl:
109+
buildable: false
110+
externals:
111+
- spec: perl@5.26.3
112+
prefix: /usr
113+
pkg-config:
114+
buildable: false
115+
externals:
116+
- spec: pkg-config@1.4.2
117+
prefix: /usr
118+
# python:
119+
# buildable: false
120+
# externals:
121+
# - spec: python@3.6.8
122+
# prefix: /usr
123+
tar:
124+
buildable: false
125+
externals:
126+
- spec: tar@1.34
127+
prefix: /usr
128+
unzip:
129+
buildable: false
130+
externals:
131+
- spec: unzip@6.0
132+
prefix: /usr
133+
xz:
134+
buildable: false
135+
externals:
136+
- spec: xz@5.2.5
137+
prefix: /usr
138+
# Pygeosx dependencies
139+
openssl:
140+
buildable: false
141+
externals:
142+
- spec: openssl@1.1.1
143+
prefix: /usr
144+
tk:
145+
buildable: false
146+
externals:
147+
- spec: tk@8.6.8
148+
prefix: /usr
149+
tcl:
150+
buildable: false
151+
externals:
152+
- spec: tcl@8.6.8
153+
prefix: /usr

docker/rocky-spack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ spack:
118118
python:
119119
buildable: false
120120
externals:
121-
- spec: python@3.6.8
121+
- spec: python@3.9.20
122122
prefix: /usr
123123
tar:
124124
buildable: false

0 commit comments

Comments
 (0)