Skip to content

Commit

Permalink
V0 (#4)
Browse files Browse the repository at this point in the history
* add version number to apt mkl install

* hpc basekit for macos
  • Loading branch information
iulusoy committed Jun 11, 2024
1 parent e068fd4 commit aaa6ce0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions setup-fortran.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,11 @@ install_intel_apt()
case $version in
2024*)
sudo apt-get install \
intel-oneapi-compiler-{fortran,dpcpp-cpp}-$version
intel-oneapi-compiler-{fortran,dpcpp-cpp}-$version intel-oneapi-mkl-$version
;;
*)
sudo apt-get install \
intel-oneapi-compiler-{fortran,dpcpp-cpp-and-cpp-classic}-$version
intel-oneapi-compiler-{fortran,dpcpp-cpp-and-cpp-classic}-$version intel-oneapi-mkl-$version
;;
esac

Expand Down Expand Up @@ -412,6 +412,17 @@ install_intel_dmg()
;;
esac

require_fetch
$fetch $MACOS_BASEKIT_URL > m_BASEKit.dmg
hdiutil attach m_BASEKit.dmg
sudo /Volumes/"$(basename "$MACOS_BASEKIT_URL" .dmg)"/bootstrapper.app/Contents/MacOS/bootstrapper -s \
--action install \
--eula=accept \
--continue-with-optional-error=yes \
--log-dir=.
hdiutil detach /Volumes/"$(basename "$MACOS_BASEKIT_URL" .dmg)" -quiet
rm m_BASEKit.dmg

require_fetch
$fetch $MACOS_HPCKIT_URL > m_HPCKit.dmg
hdiutil attach m_HPCKit.dmg
Expand Down

0 comments on commit aaa6ce0

Please sign in to comment.