Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
west-public
West
Commits
7d41115a
Commit
7d41115a
authored
Jul 12, 2018
by
Marco Govoni
Browse files
Merge branch 'ci' into 'ci'
Ci See merge request west-devel/West!3
parents
1671389b
b48427e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7d41115a
...
...
@@ -10,11 +10,11 @@ west_build:
stage
:
build
image
:
ubuntu:latest
before_script
:
-
apt-get update
-
apt-get install -
-yes --quiet git
-
apt-get install -
-yes --quiet
build-essential gfortran wget python
-
apt-get install -
-yes --quiet
libopenmpi-dev openmpi-bin
-
apt-get install -
-yes --quiet
libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
-
apt-get update
> /dev/null
-
apt-get install -
qq git > /dev/null
-
apt-get install -
qq
build-essential gfortran wget python
> /dev/null
-
apt-get install -
qq
libopenmpi-dev openmpi-bin
> /dev/null
-
apt-get install -
qq
libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
> /dev/null
script
:
-
git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
-
cd QEDIR
...
...
@@ -33,18 +33,18 @@ west_test_gamma:
stage
:
test
image
:
ubuntu:latest
before_script
:
-
apt-get update
-
apt-get install -
-yes --quiet git
-
apt-get install -
-yes --quiet
build-essential gfortran wget python
-
apt-get install -
-yes --quiet
libopenmpi-dev openmpi-bin
-
apt-get install -
-yes --quiet
libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
-
apt-get update
> /dev/null
-
apt-get install -
qq git > /dev/null
-
apt-get install -
qq
build-essential gfortran wget python
> /dev/null
-
apt-get install -
qq
libopenmpi-dev openmpi-bin
> /dev/null
-
apt-get install -
qq
libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
> /dev/null
script
:
-
git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
-
cd QEDIR
-
./configure
-
make -j pw
-
./configure
FFLAGS="-ffpe-summary=none" > /dev/null
-
make -j pw
> /dev/null
-
git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
-
cd West
-
make
-
cd West
-
make
> /dev/null
-
cd test
-
make NP=28 NI=1 NT=1
test/test001/Makefile
View file @
7d41115a
...
...
@@ -15,8 +15,11 @@ prepare_input:
run
:
-
${PARA_PREFIX}
${BINDIR}
/pw.x
-i
pw.in
>
pw.out
-
tail
-5
pw.out
-
${PARA_PREFIX}
${BINDIR}
/wstat.x
-nimage
${NIMAGE}
-i
wstat.in
>
wstat.out
-
tail
-5
wstat.out
-
${PARA_PREFIX}
${BINDIR}
/wfreq.x
-nimage
${NIMAGE}
-i
wfreq.in
>
wfreq.out
-
tail
-5
wfreq.out
clean
:
-
/bin/rm
-rf
*
out
*in
*
upf
*
save
>
& /dev/null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment