-
Notifications
You must be signed in to change notification settings - Fork 20
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 #12 from GooFit/experimental_integrator2
Experimental integrator2
- Loading branch information
Showing
139 changed files
with
4,961 additions
and
2,631 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,20 @@ | ||
pushd $DEPS_DIR | ||
set -evx | ||
|
||
os=$1 | ||
if [[ $os == "osx" ]] ; then | ||
wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda_${os}.sh | ||
elif [[ $os == "linux" ]] ; then | ||
wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda_${os}.sh | ||
fi | ||
|
||
bash miniconda_${os}.sh -b -p $DEPS_DIR/miniconda | ||
export PATH="$DEPS_DIR/miniconda/bin:$PATH" | ||
hash -r | ||
conda config --add channels conda-forge | ||
# conda config --set channel_priority strict | ||
|
||
conda create --yes -n env_${os} root doxygen -c conda-forge | ||
|
||
set +evx | ||
popd |
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 |
---|---|---|
@@ -1,12 +1,20 @@ | ||
pushd $DEPS_DIR | ||
|
||
wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
if [[ $1 == "osx" ]] ; then | ||
wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh | ||
elif [[ $1 == "linux" ]] ; then | ||
wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
fi | ||
|
||
bash miniconda.sh -b -p $DEPS_DIR/miniconda | ||
export PATH="$DEPS_DIR/miniconda/bin:$PATH" | ||
hash -r | ||
conda config --add channels conda-forge | ||
conda install --quiet --yes -c conda-forge/label/gcc8 root | ||
conda config --set channel_priority strict | ||
|
||
source "$DEPS_DIR/miniconda/bin/thisroot.sh" | ||
export CXX="$DEPS_DIR/miniconda/bin/g++" | ||
# conda install --quiet --yes -c conda-forge/label/gcc8 root_base doxygen | ||
conda create --quiet --yes -n my_root_env root doxygen zstd=1.3.7 -c conda-forge | ||
# conda init bash | ||
# source "$DEPS_DIR/miniconda/bin/thisroot.sh" | ||
# export CXX="$DEPS_DIR/miniconda/bin/g++" | ||
popd |
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 |
---|---|---|
@@ -1,24 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -evx | ||
# from https://stackoverflow.com/questions/55342122/conda-activate-on-travis-ci | ||
export PATH="$DEPS_DIR/miniconda/bin:$PATH" | ||
. $(conda info --root)/etc/profile.d/conda.sh | ||
conda activate env_${TRAVIS_OS_NAME} | ||
|
||
echo -en 'travis_fold:start:script.build\\r' | ||
echo "Building..." | ||
echo "Building under OS: $TRAVIS_OS_NAME, CXX =$CXX" | ||
set -evx | ||
|
||
mkdir -p build | ||
cd build | ||
cmake .. -DCMAKE_CXX_COMPILER=$CXX | ||
mkdir -p build.conda | ||
cd build.conda | ||
cmake .. | ||
cmake --build . -- -j2 | ||
|
||
set +evx | ||
|
||
cd .. | ||
|
||
./build/bin/Generator options/example_b2kstarll.opt --CompilerWrapper::Verbose --nEvents 1000 | ||
|
||
|
||
# echo -e 'travis_fold:end:script.build\\r' | ||
# echo -en 'travis_fold:start:script.test\\r' | ||
# echo "Testing..." | ||
# set -evx | ||
|
||
# ctest --output-on-failure | ||
./build.conda/bin/Generator options/example_b2kstarll.opt --CompilerWrapper::Verbose --nEvents 10000 | ||
|
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 |
---|---|---|
@@ -1,22 +1,18 @@ | ||
#!/bin/bash | ||
|
||
. $(conda info --root)/etc/profile.d/conda.sh | ||
conda activate env_${TRAVIS_OS_NAME} | ||
|
||
echo -en 'travis_fold:start:script.build\\r' | ||
echo "Building..." | ||
echo "Building under OS: $TRAVIS_OS_NAME" | ||
|
||
mkdir -p build | ||
cd build | ||
echo "CMake-ing, CXX = $CXX" | ||
cmake .. -DCMAKE_CXX_COMPILER=clang | ||
cmake .. -DCMAKE_CXX_COMPILER=clang -DUSE_SIMD="" -DUSE_OPENMP=0 | ||
echo "Building ..." | ||
cmake --build . -- -j2 | ||
cd .. | ||
echo "Running test job ..." | ||
./build/bin/Generator options/example_b2kstarll.opt --CompilerWrapper::Verbose --nEvents 1000 | ||
|
||
|
||
# echo -e 'travis_fold:end:script.build\\r' | ||
# echo -en 'travis_fold:start:script.test\\r' | ||
# echo "Testing..." | ||
# set -evx | ||
|
||
# ctest --output-on-failure | ||
|
||
./build/bin/Generator options/example_b2kstarll.opt --CompilerWrapper::Verbose --nEvents 10000 |
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
Oops, something went wrong.