-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #896 from edoapra/flaccid-fraction
64_to_32 updates
- Loading branch information
Showing
23 changed files
with
111 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: check_64_to_32 | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- .gitlab-ci.yml | ||
pull_request: | ||
release: | ||
schedule: | ||
- cron: '0 0 * * SUN' | ||
repository_dispatch: | ||
types: [backend_automation] | ||
workflow_dispatch: | ||
jobs: | ||
check: | ||
if: | | ||
github.event_name == 'schedule' || | ||
(!contains(github.event.head_commit.message, 'ci skip')) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
show-progress: | ||
fetch-depth: 1 | ||
- name: pkg cleanup | ||
run: | | ||
ls -lrt | ||
ls -lrt travis || true | ||
./travis/pkg_cleanup.sh | ||
shell: bash | ||
- name: check | ||
run: | | ||
./travis/check_64_to_32.sh | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
|
||
LIBRARY = libpspw.a | ||
|
||
USES_BLAS = vdw-DF.F | ||
USES_BLAS = vdw-DF.F vdw_DF_kernel.F | ||
|
||
|
||
LIB_DEFINES = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
sudo apt-get install -y mpich libmpich-dev | ||
export NWCHEM_TOP=`pwd` | ||
export USE_MPI=1 | ||
cd src | ||
make nwchem_config NWCHEM_MODULES="all python" | ||
make 64_to_32 CONVERT_ALL=y | ||
make 32_to_64 | ||
rm -f diff.out | ||
git diff -U0 . >& diff.out | ||
if [ $(wc -l diff.out | cut -d " " -f 1) != 0 ]; then | ||
cat diff.out | ||
echo "********** check_64_to_32 *********" | ||
echo "********** found missing files ****" | ||
echo "********** from USES_BLAS *********" | ||
grep 'diff --git' diff.out | cut -d ' ' -f 4 | sed -e "s/b\/src/src/" | ||
echo "***********************************" | ||
exit 1 | ||
else | ||
echo "********** check_64_to_32 *********" | ||
echo "********** found no missing files ****" | ||
echo "********** from USES_BLAS *********" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
df -h | ||
if [[ $(uname -s) == "Linux" ]]; then | ||
ubuntu_ver=$(cat /etc/os-release | grep VERSION_ID |cut -d \" -f 2) | ||
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | ||
sudo apt-get purge -y azure-cli || true | ||
sudo apt-get purge -y google-cloud-cli microsoft-edge-stable dotnet-sdk-7.0 dotnet-sdk-6.0 google-chrome-stable firefox | ||
sudo apt-get purge -y temurin-17-jdk temurin-11-jdk temurin-8-jdk | ||
if [[ $ubuntu_ver == "20.04" ]]; then | ||
sudo apt-get purge -y llvm-12-dev llvm-11-dev llvm-10-dev | ||
sudo apt-get purge -y hhvm | ||
sudo apt-get purge -y libgl1-mesa-dri | ||
fi | ||
if [[ $ubuntu_ver == "22.04" ]]; then | ||
sudo apt-get purge -y llvm-13-dev llvm-14-dev llvm-15-dev | ||
fi | ||
sudo apt-get -y clean | ||
sudo apt-get autoremove -y | ||
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | ||
df -h | ||
fi |