A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable LTO on the arm builder, as it is believed to be too heavy for this particular...
[simgrid.git]
/
tools
/
jenkins
/
ci-bigdft.sh
diff --git
a/tools/jenkins/ci-bigdft.sh
b/tools/jenkins/ci-bigdft.sh
index
5199a4a
..
29673a7
100755
(executable)
--- a/
tools/jenkins/ci-bigdft.sh
+++ b/
tools/jenkins/ci-bigdft.sh
@@
-1,14
+1,22
@@
-#!/usr/bin/env sh
+#!/bin/sh
+
+# Test this script locally as follows (rerun `docker pull simgrid/unstable` to get a fresh version).
+# cd (simgrid)/tools/jenkins
+# docker run -it --rm --volume `pwd`:/source simgrid/unstable /source/ci-bigdft.sh
+
set -ex
set -ex
-export OMP_NUM_THREADS=1
+
+echo "XXXXXXXXXXXXXXXX Install APT dependencies"
SUDO="" # to ease the local testing
$SUDO apt-get -y update
SUDO="" # to ease the local testing
$SUDO apt-get -y update
-$SUDO apt-get -y install git build-essential gfortran python-is-python3 python3-six python3-distutils automake cmake libboost-dev libblas-dev liblapack-dev wget
+$SUDO apt-get -y install python-is-python3 python3-setuptools libboost-dev libeigen3-dev
+$SUDO apt-get -y install --only-upgrade ca-certificates
+echo "XXXXXXXXXXXXXXXX build and test BigDFT (git version)"
git clone --depth=1 https://gitlab.com/l_sim/bigdft-suite.git
cd bigdft-suite
git clone --depth=1 https://gitlab.com/l_sim/bigdft-suite.git
cd bigdft-suite
-WORKSPACE=
`pwd`
+WORKSPACE=
$PWD
mkdir build && cd build
export PATH=$PWD/simgrid-dev/smpi_script/bin/:$PATH
export LD_LIBRARY_PATH=$PWD/simgrid-dev/lib/:$LD_LIBRARY_PATH
mkdir build && cd build
export PATH=$PWD/simgrid-dev/smpi_script/bin/:$PATH
export LD_LIBRARY_PATH=$PWD/simgrid-dev/lib/:$LD_LIBRARY_PATH
@@
-18,6
+26,8
@@
export JHBUILD_RUN_AS_ROOT=1
../Installer.py -f ../../tools/jenkins/gfortran-simgrid.rc -y build
../Installer.py -f ../../tools/jenkins/gfortran-simgrid.rc -y build
+export OMP_NUM_THREADS=1
+
#cubic version
cd ../bigdft/tests/DFT/cubic/C
smpirun -hostfile $WORKSPACE/simgrid-dev/examples/smpi/hostfile -platform $WORKSPACE/simgrid-dev/examples/platforms/small_platform.xml -np 8 $WORKSPACE/build/install/bin/bigdft -l no
#cubic version
cd ../bigdft/tests/DFT/cubic/C
smpirun -hostfile $WORKSPACE/simgrid-dev/examples/smpi/hostfile -platform $WORKSPACE/simgrid-dev/examples/platforms/small_platform.xml -np 8 $WORKSPACE/build/install/bin/bigdft -l no