File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -107,20 +107,17 @@ setup-win-intel-oneapi-mpi-env () {
107107 ONEAPI_ROOT=" C:\Program Files (x86)\Intel\oneAPI"
108108 I_MPI_ROOT=" ${ONEAPI_ROOT} \mpi\latest"
109109 I_MPI_OFI_LIBRARY_INTERNAL=" 1"
110+ mpibindir=" ${I_MPI_ROOT} \bin"
111+ ofibindir=" ${I_MPI_ROOT} \opt\mpi\libfabric\bin"
110112
111113 echo " ONEAPI_ROOT=${ONEAPI_ROOT} " >> $GITHUB_ENV
112114 echo " I_MPI_ROOT=${I_MPI_ROOT} " >> $GITHUB_ENV
113115 echo " I_MPI_OFI_LIBRARY_INTERNAL=${I_MPI_OFI_LIBRARY_INTERNAL} " >> $GITHUB_ENV
116+ echo " ${mpibindir} " >> $GITHUB_PATH
117+ echo " ${ofibindir} " >> $GITHUB_PATH
114118
115- echo " ${I_MPI_ROOT} \\ bin" >> $GITHUB_PATH
116- echo " ${I_MPI_ROOT} \\ opt\\ mpi\\ libfabric\\ bin" >> $GITHUB_PATH
117- echo " ${I_MPI_ROOT} \\ opt\\ mpi\\ libfabric\\ bin\\ utils" >> $GITHUB_PATH
118-
119- ONEAPI_ROOT=" /c/Program Files (x86)/Intel/oneAPI"
120- I_MPI_ROOT=" ${ONEAPI_ROOT} /mpi/latest"
121- export PATH=" ${I_MPI_ROOT} /bin:$PATH "
122- export PATH=" ${I_MPI_ROOT} /opt/mpi/libfabric/bin:$PATH "
123- export PATH=" ${I_MPI_ROOT} /opt/mpi/libfabric/bin/utils:$PATH "
119+ export PATH=" $( cygpath -u " ${mpibindir} " ) :$PATH "
120+ export PATH=" $( cygpath -u " ${ofibindir} " ) :$PATH "
124121 impi_info=impi_info.exe
125122}
126123
You can’t perform that action at this time.
0 commit comments