<commit_before>#!/bin/bash -x

# load environment variables
source /usr/local/etc/bash_profile
module load cmake/latest
module load mpich3/3.1.2-thread-multiple
module load parmetis/mpich3.1.2/4.0.3
module load zoltan/mpich3.1.2/3.8
module load simmetrix/simModSuite
module load netcdf
module load llvm/latest
module load git

#cdash output root
cd /lore/dibanez/cdash
#remove compilation directories created by previous nightly.cmake runs
rm -rf build/

#run nightly.cmake script
ctest -VV -D Nightly -S /lore/dibanez/core/cdash/nightly.cmake &> cmake_log.txt

#core repository checked out by nightly.cmake
cd /lore/dibanez/cdash/build/core
#build the Doxygen html documentation
make doc
#remove the old web documentation
rm -rf /net/web/public/dibanez/core
#replace it with the generated one
cp -r doc/html /net/web/public/dibanez/core

#core repository checked out by nightly.cmake
cd /lore/dibanez/cdash/build/core
#clean the build of object files
make clean
#run Coverity static analysis on the build
export PATH=$PATH:/lore/dibanez/cov-analysis-linux64-7.7.0/bin
cov-build --dir cov-int make -j 4
#pack up the tarball of results
tar czvf pumi.tgz cov-int<commit_msg>upgrade coverity version<commit_after>#!/bin/bash -x

# load environment variables
source /usr/local/etc/bash_profile
module load cmake/latest
module load mpich3/3.1.2-thread-multiple
module load parmetis/mpich3.1.2/4.0.3
module load zoltan/mpich3.1.2/3.8
module load simmetrix/simModSuite
module load netcdf
module load llvm/latest
module load git

#cdash output root
cd /lore/dibanez/cdash
#remove compilation directories created by previous nightly.cmake runs
rm -rf build/

#run nightly.cmake script
ctest -VV -D Nightly -S /lore/dibanez/core/cdash/nightly.cmake &> cmake_log.txt

#core repository checked out by nightly.cmake
cd /lore/dibanez/cdash/build/core
#build the Doxygen html documentation
make doc
#remove the old web documentation
rm -rf /net/web/public/dibanez/core
#replace it with the generated one
cp -r doc/html /net/web/public/dibanez/core

#core repository checked out by nightly.cmake
cd /lore/dibanez/cdash/build/core
#clean the build of object files
make clean
#run Coverity static analysis on the build
export PATH=$PATH:/lore/dibanez/cov-analysis-linux64-7.7.0.4/bin
cov-build --dir cov-int make -j 4
#pack up the tarball of results
tar czvf pumi.tgz cov-int
{'fraction_non_alphanumeric': 0.0903691132795927, 'fraction_numerical': 0.01824352991090369, 'mean_word_length': 4.286995515695067, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1824836', 'n_tokens_mistral': 855, 'n_tokens_neox': 833, 'n_words': 263}