Skip to content
Snippets Groups Projects
Commit b78ab073 authored by Abhinav Singh's avatar Abhinav Singh
Browse files

Merge branch 'FD_solver' of git.mpi-cbg.de:openfpm/openfpm_pdata into FD_solver

parents ff9949ad bd17d597
No related branches found
No related tags found
No related merge requests found
Pipeline #2299 failed
......@@ -21,8 +21,9 @@ echo "Branch name: $branch"
echo "GPU compilation: $with_gpu"
if [ x"$hostname" == x"cifarm-centos-node" ]; then
if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de" ]; then
echo "CentOS node"
source /opt/rh/devtoolset-8/enable
fi
if [ x"$hostname" == x"cifarm-ubuntu-node" ]; then
......@@ -34,7 +35,7 @@ fi
if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
echo "Mac node"
export PATH="/usr/local/bin:$PATH"
# rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/
# rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/PETSC
fi
if [ x"$hostname" == x"falcon1" ]; then
......
......@@ -169,7 +169,7 @@ if [ ! "$(ls -A $1/PETSC)" ]; then
rm -rf $1/PETSC
else
#Mark the installation
echo 3 > $1/PETSC/version
echo 4 > $1/PETSC/version
exit 0
fi
......@@ -143,9 +143,9 @@ function remove_old()
if [ -d $1/PETSC ]; then
version=$(cat $1/PETSC/version)
if [ x"$version" != x"3" ]; then
if [ x"$version" != x"4" ]; then
echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m PETSC has been updated to version 3.12.3, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m PETSC has been updated to version 3.13.3, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m"
sleep 5
rm -rf $1/PETSC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment