Skip to content

Commit

Permalink
switch to Exachem
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra committed Jun 26, 2023
1 parent 2e1039d commit c39a573
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tamm-shifter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
folder:
- tamcc.nersc
branch: [CC]
branch: [main]
fc: [ gfortran]
sysv:
- Y
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
docker pull ${{ env.tag }}
export MYLDPATH=/usr/local/lib:/opt/lib
docker run -e LD_LIBRARY_PATH="$MYLDPATH" --entrypoint=ldd --rm \
${{ env.tag }} /opt/install/CC/bin/CD_CCSD
${{ env.tag }} /opt/install/CC/bin/ExaChem
- name: store cache
if: ( github.actor == github.repository_owner )
run: |
Expand Down
11 changes: 3 additions & 8 deletions tamcc.nersc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG USE_OPENMP_VALUE
ARG FC
ARG TAMM_BRANCH
ARG NWCHEM_BRANCH
ARG GITHUB_REPOSITORY_OWNER
ARG USE_SYSV
ARG USE_CPU
Expand Down Expand Up @@ -117,9 +116,8 @@ RUN apt-get -q=2 update \
&& mkdir -p /opt/install/CC/ /opt/cache\
&& if [[ -f /tmp/libint.tar.bz2 ]]; then cd /opt/install/CC; tar xjvf /tmp/libint.tar.bz2; rm -rf /tmp/libint.tar.bz2 ; export FETCHED_LIBINT=1; fi \
&& cd /opt || { echo "Failure"; exit 1; } \
&& git clone -b ${TAMM_BRANCH} --depth 20 https://github.com/NWChemEx-Project/CoupledCluster.git CoupledCluster \
&& git clone -b ${TAMM_BRANCH} --depth 20 https://github.com/ExaChem/exachem.git CoupledCluster \
&& cd CoupledCluster \
# && git checkout 26d5ac60ade5fef36dd2614d27b6ee8c6ed36078 \
&& mkdir build && cd build \
&& echo " USE_SYSV is " $USE_SYSV \
&& echo " USE_CPU is " $USE_CPU \
Expand Down Expand Up @@ -156,14 +154,11 @@ RUN apt-get -q=2 update \
&& apt-get -q=2 -y install libgfortran5 libgomp1 && apt-get clean \
&& apt-get purge -y cuda-cccl-"$CUDA_VERSION_MAJOR"-"$CUDA_VERSION_MINOR" libcublas-dev-"$CUDA_VERSION_MAJOR"-"$CUDA_VERSION_MINOR" \
&& chown -R nwchem /opt/nwchem && chgrp -R nwchem /opt/nwchem \
&& echo '*** ls -l nwchem **' \
&& echo '*** ls -l CC/bin **' \
&& ls -l /opt/install/CC/bin/ || true \
&& echo '*** ldd ***' \
&& LD_LIBRARY_PATH=/usr/local/lib:/opt/lib ldd /opt/install/CC/bin/CCSD_T || true \
&& LD_LIBRARY_PATH=/usr/local/lib:/opt/lib ldd /opt/install/CC/bin/ExaChem || true \
&& dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
#ENV NWCHEM_EXECUTABLE=${NWCHEM_TOP}/bin/LINUX64/nwchem
#ENV NWCHEM_BASIS_LIBRARY=${NWCHEM_TOP}/src/basis/libraries/
#ENV NWCHEM_NWPW_LIBRARY=${NWCHEM_TOP}/src/nwpw/libraryps/
ENV CUDA_VERSION_MAJOR=11
ENV CUDA_VERSION_MINOR=7
ENV LD_LIBRARY_PATH=/usr/local/cuda-"$CUDA_VERSION_MAJOR"."$CUDA_VERSION_MINOR"/lib64:/opt/lib \
Expand Down

0 comments on commit c39a573

Please sign in to comment.