mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
fix for Intel mpi_init error in github actions
This commit is contained in:
parent
3178697dc6
commit
a398fa3cff
2 changed files with 6 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ if [[ "$os" == "Linux" ]]; then
|
|||
|
||||
fi
|
||||
if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]]; then
|
||||
$MYSUDO apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-mkl intel-oneapi-compiler-dpcpp-cpp
|
||||
$MYSUDO apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-mkl intel-oneapi-compiler-dpcpp-cpp libfabric-bin libnuma1
|
||||
if [[ "$?" != 0 ]]; then
|
||||
df -h
|
||||
echo "intel-oneapi-compiler-fortran install failed: exit code " "${?}"
|
||||
|
|
|
|||
|
|
@ -58,6 +58,11 @@ if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]] ; then
|
|||
IONEAPI_ROOT=~/apps/oneapi
|
||||
else
|
||||
IONEAPI_ROOT=/opt/intel/oneapi
|
||||
# fix runtime mpi_init error
|
||||
# export FI_LOG_LEVEL=TRACE
|
||||
export FI_PROVIDER=shm
|
||||
echo "*** output of fi_info ***"
|
||||
echo $(fi_info -l) || true
|
||||
fi
|
||||
# source "$IONEAPI_ROOT"/compiler/latest/env/vars.sh
|
||||
source "$IONEAPI_ROOT"/setvars.sh --force
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue