Skip to content

Commit

Permalink
More install
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jul 18, 2024
1 parent 0413b41 commit 62de647
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 38 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/conda-env-oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ dependencies:
- python=3.10
- dpcpp_linux-64
- impi-devel
- pip
- nanobind
- scikit-build-core
- pyproject
- mpi4py
- poetsc

# - anaconda-client
# - pip

Expand Down
59 changes: 21 additions & 38 deletions .github/workflows/oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
# env:
# PETSC_ARCH: ${{ matrix.petsc_arch }}

env:
CC: icx
CXX: icpx
I_MPI_CC: icx
I_MPI_CXX: icpx

# strategy:
# matrix:
# petsc_arch: [linux-gnu-real32-32, linux-gnu-real64-32, linux-gnu-complex128-32]
Expand All @@ -51,45 +57,22 @@ jobs:
conda info
conda list
# - uses: conda-incubator/setup-miniconda@v3
# with:
# activate-environment: idp
# # python-version: 3.10
# channels: https://software.repos.intel.com/python/conda/,conda-forge
# environment-file: .github/workflows/conda-env-oneapi.yml
# # allow-softlinks: true
# # channel-priority: flexible
# # show-channel-urls: true
# # use-only-tar-bz2: true
# auto-activate-base: false
# - run: |
# conda info
# conda list
# # conda config --show-sources
# # conda config --show

# - name: Install Python dependencies
# run: |
# . /opt/intel/oneapi/setvars.sh
# python3 -m pip install nanobind scikit-build-core[pyproject] --upgrade
- name: Install Basix
run: |
. /opt/intel/oneapi/setvars.sh
pip install --no-build-isolation git+https://github.com/FEniCS/basix.git
# - name: Install Basix
# run: |
# . /opt/intel/oneapi/setvars.sh
# pip install --no-build-isolation git+https://github.com/FEniCS/basix.git

# - name: Clone FFCx
# uses: actions/checkout@v4
# with:
# path: ./ffcx
# repository: FEniCS/ffcx
# ref: main
# - name: Install FFCx C interface
# run: |
# . /opt/intel/oneapi/setvars.sh
# cmake -B ufcx-build-dir -S ffcx/cmake/
# cmake --build ufcx-build-dir
# cmake --install ufcx-build-dir
- name: Clone FFCx
uses: actions/checkout@v4
with:
path: ./ffcx
repository: FEniCS/ffcx
ref: main
- name: Install FFCx C interface
run: |
cmake -B ufcx-build-dir -S ffcx/cmake/
cmake --build ufcx-build-dir
cmake --install ufcx-build-dir
# - name: Configure DOLFINx C++
# run: |
Expand Down

0 comments on commit 62de647

Please sign in to comment.