-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 1.08 KB
/
lin-auto-icx-f-10.7.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: lin auto icx ifx p 10.7
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install
run: |
sudo apt-get update
sudo apt-get install autoconf automake libtool libtool-bin libaec-dev
- name: mpi
uses: mpi4py/setup-mpi@master
with:
mpi: intelmpi
- name: oneapi
uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: intel
version: '2024.1'
- name: test
shell: bash
run: |
curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_10_7.tar.gz
ls
tar zxf hdf5-1_10_7.tar.gz
ls
cd hdf5-hdf5-1_10_7
./autogen.sh
./configure --prefix=/tmp CXX="$(which mpiicpc) -cc=$(which icpx)" CC="$(which mpiicc) -cc=$(which icx)" FC="$(which mpiifort) -fc=$(which ifx)" LDFLAGS="-L/opt/intel/oneapi/mpi/latest/lib" --enable-fortran --enable-parallel
make -j
make check -j
make install
make uninstall