Commit 40d587d8 authored by Marco Govoni's avatar Marco Govoni
Browse files

Update .gitlab-ci.yml

parent 460422d4
...@@ -173,176 +173,176 @@ gcc830_0002: ...@@ -173,176 +173,176 @@ gcc830_0002:
- make - make
- ls ../bin - ls ../bin
west_build_gcc: #west_build_gcc:
tags: [rcc,docker,node-01] # tags: [rcc,docker,node-01]
stage: build # stage: build
image: ubuntu:latest # image: ubuntu:latest
before_script: # before_script:
- apt-get update > /dev/null # - apt-get update > /dev/null
- apt-get install -qq git > /dev/null # - apt-get install -qq git > /dev/null
- apt-get install -qq build-essential gfortran wget python-pip python-dev > /dev/null # - apt-get install -qq build-essential gfortran wget python-pip python-dev > /dev/null
- apt-get install -qq libopenmpi-dev openmpi-bin > /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 # - apt-get install -qq libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config > /dev/null
script: # script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR # - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR # - cd QEDIR
- git describe # - git describe
- ./configure # - ./configure
- make -j pw # - make -j pw
- ls bin # - ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West # - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West # - cd West
- git describe # - git describe
- make # - make
- ls ../bin # - ls ../bin
west_build_intel: #west_build_intel:
tags: [rcc,docker,node-01] # tags: [rcc,docker,node-01]
stage: build # stage: build
image: centos:centos7 # image: centos:centos7
before_script: # before_script:
- yum -y update > /dev/null # - yum -y update > /dev/null
- yum -y install yum-utils > /dev/null # - yum -y install yum-utils > /dev/null
- yum -y install centos-release-scl-rh > /dev/null # - yum -y install centos-release-scl-rh > /dev/null
- yum -y install devtoolset-3 > /dev/null # - yum -y install devtoolset-3 > /dev/null
- yum -y install gcc gcc-c++ autoconf automake # - yum -y install gcc gcc-c++ autoconf automake
- yum -y install vim > /dev/null # - yum -y install vim > /dev/null
- yum -y install wget pkgconfig git make > /dev/null # - yum -y install wget pkgconfig git make > /dev/null
- export TZ="US/Central" # - export TZ="US/Central"
- rm -f /etc/localtime # - rm -f /etc/localtime
- cp /usr/share/zoneinfo/$TZ /etc/localtime # - cp /usr/share/zoneinfo/$TZ /etc/localtime
- export PATH=/software/intel/impi/5.1.3.210/intel64/bin:/software/intel/parallel_studio_xe_2016_update3/bin:$PATH # - export PATH=/software/intel/impi/5.1.3.210/intel64/bin:/software/intel/parallel_studio_xe_2016_update3/bin:$PATH
- export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:/software/intel/impi/5.1.3.210/intel64/lib:$LD_LIBRARY_PATH # - export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:/software/intel/impi/5.1.3.210/intel64/lib:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2016_update3/ipp/lib/intel64:/software/intel/parallel_studio_xe_2016_update3/lib/intel64:$LD_LIBRARY_PATH # - export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2016_update3/ipp/lib/intel64:/software/intel/parallel_studio_xe_2016_update3/lib/intel64:$LD_LIBRARY_PATH
- export LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:$LIBRARY_PATH # - export LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:$LIBRARY_PATH
- export CPATH=/software/intel/parallel_studio_xe_2016_update3/ipp/include:/software/intel/parallel_studio_xe_2017/mkl/include # - export CPATH=/software/intel/parallel_studio_xe_2016_update3/ipp/include:/software/intel/parallel_studio_xe_2017/mkl/include
- export I_MPI_CC=icc # - export I_MPI_CC=icc
- export I_MPI_CXX=icpc # - export I_MPI_CXX=icpc
- export I_MPI_FC=ifort # - export I_MPI_FC=ifort
- export I_MPI_F77=ifort # - export I_MPI_F77=ifort
- export I_MPI_F90=ifort # - export I_MPI_F90=ifort
- export I_MPI_F95=ifort # - export I_MPI_F95=ifort
- export I_MPI_PROCESS_MANAGER=hydra # - export I_MPI_PROCESS_MANAGER=hydra
- export I_MPI_ROOT=/software/intel/impi/5.1.3.210 # - export I_MPI_ROOT=/software/intel/impi/5.1.3.210
script: # script:
- echo "$PATH" # - echo "$PATH"
- echo "$LD_LIBRARY_PATH" # - echo "$LD_LIBRARY_PATH"
- echo "$I_MPI_F90" # - echo "$I_MPI_F90"
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR # - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR # - cd QEDIR
- git describe # - git describe
- export F77=mpiifort # - export F77=mpiifort
- export CC=mpiicc # - export CC=mpiicc
- export MPIF90=mpiifort # - export MPIF90=mpiifort
- export FC=mpiifort # - export FC=mpiifort
- which ifort # - which ifort
- which icc # - which icc
- which mpiifort # - which mpiifort
- export CFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl" # - export CFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl"
- export FFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl" # - export FFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl"
- export DFLAGS="-D__DFTI -D__MPI -D__SCALAPACK" # - export DFLAGS="-D__DFTI -D__MPI -D__SCALAPACK"
- export BLAS_LIBS_SWITCH="external" # - export BLAS_LIBS_SWITCH="external"
- export BLAS_LIBS=" -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" # - export BLAS_LIBS=" -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"
- export LAPACK_LIBS_SWITCH="external" # - export LAPACK_LIBS_SWITCH="external"
- export LAPACK_LIBS="" # - export LAPACK_LIBS=""
- export SCALAPACK_LIBS=" -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -Wl,--end-group" # - export SCALAPACK_LIBS=" -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -Wl,--end-group"
- ./configure --enable-openmp --with-scalapack # - ./configure --enable-openmp --with-scalapack
- make -j pw # - make -j pw
- ls bin # - ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West # - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West # - cd West
- git describe # - git describe
- make # - make
- ls ../bin # - ls ../bin
- ldd ../bin/pw.x # - ldd ../bin/pw.x
west_test_intel: #west_test_intel:
tags: [rcc,docker,node-01] # tags: [rcc,docker,node-01]
stage: test # stage: test
image: centos:centos7 # image: centos:centos7
before_script: # before_script:
- yum -y update > /dev/null # - yum -y update > /dev/null
- yum -y install yum-utils > /dev/null # - yum -y install yum-utils > /dev/null
- yum -y install centos-release-scl-rh > /dev/null # - yum -y install centos-release-scl-rh > /dev/null
- yum -y install devtoolset-3 > /dev/null # - yum -y install devtoolset-3 > /dev/null
- yum -y install gcc gcc-c++ autoconf automake # - yum -y install gcc gcc-c++ autoconf automake
- yum -y install vim > /dev/null # - yum -y install vim > /dev/null
- yum -y install wget pkgconfig git make > /dev/null # - yum -y install wget pkgconfig git make > /dev/null
- export TZ="US/Central" # - export TZ="US/Central"
- rm -f /etc/localtime # - rm -f /etc/localtime
- cp /usr/share/zoneinfo/$TZ /etc/localtime # - cp /usr/share/zoneinfo/$TZ /etc/localtime
- export PATH=/software/intel/impi/5.1.3.210/intel64/bin:/software/intel/parallel_studio_xe_2016_update3/bin:$PATH # - export PATH=/software/intel/impi/5.1.3.210/intel64/bin:/software/intel/parallel_studio_xe_2016_update3/bin:$PATH
- export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:/software/intel/impi/5.1.3.210/intel64/lib:$LD_LIBRARY_PATH # - export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:/software/intel/impi/5.1.3.210/intel64/lib:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2016_update3/ipp/lib/intel64:/software/intel/parallel_studio_xe_2016_update3/lib/intel64:$LD_LIBRARY_PATH # - export LD_LIBRARY_PATH=/software/intel/parallel_studio_xe_2016_update3/ipp/lib/intel64:/software/intel/parallel_studio_xe_2016_update3/lib/intel64:$LD_LIBRARY_PATH
- export LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:$LIBRARY_PATH # - export LIBRARY_PATH=/software/intel/parallel_studio_xe_2017/mkl/lib/intel64:$LIBRARY_PATH
- export CPATH=/software/intel/parallel_studio_xe_2016_update3/ipp/include:/software/intel/parallel_studio_xe_2017/mkl/include # - export CPATH=/software/intel/parallel_studio_xe_2016_update3/ipp/include:/software/intel/parallel_studio_xe_2017/mkl/include
- export I_MPI_CC=icc # - export I_MPI_CC=icc
- export I_MPI_CXX=icpc # - export I_MPI_CXX=icpc
- export I_MPI_FC=ifort # - export I_MPI_FC=ifort
- export I_MPI_F77=ifort # - export I_MPI_F77=ifort
- export I_MPI_F90=ifort # - export I_MPI_F90=ifort
- export I_MPI_F95=ifort # - export I_MPI_F95=ifort
- export I_MPI_PROCESS_MANAGER=hydra # - export I_MPI_PROCESS_MANAGER=hydra
- export I_MPI_ROOT=/software/intel/impi/5.1.3.210 # - export I_MPI_ROOT=/software/intel/impi/5.1.3.210
script: # script:
- echo "$PATH" # - echo "$PATH"
- echo "$LD_LIBRARY_PATH" # - echo "$LD_LIBRARY_PATH"
- echo "$I_MPI_F90" # - echo "$I_MPI_F90"
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR # - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR # - cd QEDIR
- git describe # - git describe
- export F77=mpiifort # - export F77=mpiifort
- export CC=mpiicc # - export CC=mpiicc
- export MPIF90=mpiifort # - export MPIF90=mpiifort
- export FC=mpiifort # - export FC=mpiifort
- which ifort # - which ifort
- which icc # - which icc
- which mpiifort # - which mpiifort
- export CFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl" # - export CFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl"
- export FFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl" # - export FFLAGS="-O3 -xHost -fno-alias -ansi-alias -g -mkl"
- export DFLAGS="-D__DFTI -D__MPI -D__SCALAPACK" # - export DFLAGS="-D__DFTI -D__MPI -D__SCALAPACK"
- export BLAS_LIBS_SWITCH="external" # - export BLAS_LIBS_SWITCH="external"
- export BLAS_LIBS=" -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" # - export BLAS_LIBS=" -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"
- export LAPACK_LIBS_SWITCH="external" # - export LAPACK_LIBS_SWITCH="external"
- export LAPACK_LIBS="" # - export LAPACK_LIBS=""
- export SCALAPACK_LIBS=" -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -Wl,--end-group" # - export SCALAPACK_LIBS=" -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -Wl,--end-group"
- ./configure --enable-openmp --with-scalapack # - ./configure --enable-openmp --with-scalapack
- make -j pw # - make -j pw
- ls bin # - ls bin
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West # - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West # - cd West
- git describe # - git describe
- make # - make
- ls ../bin # - ls ../bin
- useradd -m qe # - useradd -m qe
- cp -r test-suite /home/qe # - cp -r test-suite /home/qe
- su - qe # - su - qe
- cd test-suite # - cd test-suite
- make NP=14 NI=1 NT=1 # - make NP=14 NI=1 NT=1
west_test_gcc: #west_test_gcc:
tags: [rcc,docker,node-01] # tags: [rcc,docker,node-01]
stage: test # stage: test
image: ubuntu:latest # image: ubuntu:latest
before_script: # before_script:
- apt-get update > /dev/null # - apt-get update > /dev/null
- apt-get install -qq git > /dev/null # - apt-get install -qq git > /dev/null
- apt-get install -qq build-essential gfortran wget python-pip python-dev > /dev/null # - apt-get install -qq build-essential gfortran wget python-pip python-dev > /dev/null
- apt-get install -qq libopenmpi-dev openmpi-bin > /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 # - apt-get install -qq libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config > /dev/null
script: # script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR # - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR # - cd QEDIR
- ./configure FFLAGS="-ffpe-summary=none" > /dev/null # - ./configure FFLAGS="-ffpe-summary=none" > /dev/null
- make -j pw > /dev/null # - make -j pw > /dev/null
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West # - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West # - cd West
- make > /dev/null # - make > /dev/null
- useradd -m qe # - useradd -m qe
- cp -r test-suite /home/qe # - cp -r test-suite /home/qe
- su - qe # - su - qe
- cd test-suite # - cd test-suite
- make NP=14 NI=1 NT=1 # - make NP=14 NI=1 NT=1
gcc830_0001: gcc830_0001:
tags: [rcc,docker,node-01] tags: [rcc,docker,node-01]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment