Skip to content

Commit aaf230b

Browse files
authored
Update main.yml
1 parent 6f076ca commit aaf230b

1 file changed

Lines changed: 11 additions & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,18 @@ jobs:
5757
sudo apt-get update
5858
sudo apt-get install -y intel-oneapi-compiler-fortran
5959
60-
- name: Full Diagnostic
60+
- name: Compile and Run Coarray program with ifx
6161
shell: bash
6262
run: |
63-
echo "--- Checking installation directories ---"
64-
ls -R /opt/intel/oneapi/compiler/latest/
65-
66-
echo "--- PATH before source ---"
67-
echo $PATH
68-
69-
echo "--- Sourcing setvars.sh with explicit arch ---"
7063
source /opt/intel/oneapi/setvars.sh intel64
71-
echo "Exit code of setvars.sh: $?"
72-
73-
echo "--- PATH after source ---"
74-
echo $PATH
75-
76-
echo "--- Running 'which ifort' ---"
77-
which ifort
7864
65+
echo "--- Verifying installation ---"
66+
which ifx
67+
ifx -v
68+
69+
echo "--- Compiling Coarray program ---"
70+
ifx -coarray /coarray/fdtd.F90 -o fdtd
71+
72+
echo "--- Running Coarray program ---"
73+
export FOR_COARRAY_NUM_IMAGES=4
74+
./fdtd

0 commit comments

Comments
 (0)