mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 06:05:44 -04:00
skip rpm install on selfhosted runner [ci skip]
This commit is contained in:
parent
2abe0ed118
commit
776a9747ca
1 changed files with 3 additions and 0 deletions
|
|
@ -89,10 +89,12 @@ echo DISTR is "$DISTR"
|
|||
fi
|
||||
if [[ "$os" == "Linux" ]]; then
|
||||
if [[ "$DISTR" == "fedora" ]] || [[ "$DISTR" == "centos" ]] ; then
|
||||
env
|
||||
rpminst=dnf
|
||||
if [[ "$DISTR" == "centos" ]] ; then
|
||||
rpminst=yum
|
||||
fi
|
||||
if [[ "$HOSTNAME" != "fedoraqemuwe40672" ]]; then
|
||||
sudo $rpminst udate; sudo $rpminst -y install perl perl python3-devel time patch openblas-serial64 openmpi-devel cmake gcc-gfortran unzip which make tar bzip2 openssh-clients rsync
|
||||
# module load mpi
|
||||
if [[ "$MPI_IMPL" == "openmpi" ]]; then
|
||||
|
|
@ -101,6 +103,7 @@ fi
|
|||
echo ready only for openmpi
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
export PATH=/usr/lib64/"$MPI_IMPL"/bin:$PATH
|
||||
export LD_LIBRARY_PATH=/usr/lib64/"$MPI_IMPL"/lib:$LD_LIBRARY_PATH
|
||||
which mpif90
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue