File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments