Commit 236d64f9 authored by rick's avatar rick

Update .gitlab-ci.yml

parent 18a9d4a2
......@@ -11,42 +11,16 @@ test:default:
# Install Linux Packages:
- hostname
- export HOME=/builds/exaalt/exaalt/
- export latte_PATH=${HOME}/LATTE/
- export COMPILER="mpic++"
- export bldir_PREFIX=${HOME}/parsplice/build/
- export local_PREFIX=/usr/local/
- export super_PREFIX=/usr/
- env
# Build LATTE:
- cd ${HOME}/LATTE/
- cp ./makefiles/makefile.CHOICES.gfort.lapack.lmp makefile.CHOICES
- make
- export latte_PATH=${HOME}/LATTE/
# Build LAMMPS:
- cd ${HOME}/lammps/lib/latte/
- cp Makefile.lammps.gfortran Makefile.lammps
- cd ${HOME}/lammps/src/
- make yes-latte
- make yes-molecule
- make yes-manybody
- make yes-kspace
- make yes-snap
- make yes-misc
- cp MAKE/MACHINES/Makefile.ubuntu_simple MAKE/Makefile.mpi
- make mpi
- make mpi mode=lib
- cp ${HOME}/lammps/src/liblammps_mpi.a ${local_PREFIX}/lib/.
- mkdir ${local_PREFIX}/include/lammps
- cp ${HOME}/lammps/src/*.h ${local_PREFIX}/include/lammps/.
# Build Parsplice:
- cd ${HOME}/parsplice/
# Build Everything:
- cd ${HOME}/exaalt/
- mkdir build
- cd build
- export COMPILER="mpic++"
- export bldir_PREFIX=${HOME}/parsplice/build/
- cmake -DCMAKE_INCLUDE_PATH=${local_PREFIX}/include/:${super_PREFIX}/include/ -DCMAKE_BINARY_DIR=${bldir_PREFIX} -DEXTRA_FLAGS="-I${latte_PATH}/src" -DEXTRA_LINK_FLAGS="-fopenmp ${latte_PATH}/src/latte_c_bind.o ${latte_PATH}/liblatte.a -lgfortran -llapack -lblas" -DCMAKE_LIBRARY_PATH=${local_PREFIX}/lib:${super_PREFIX}/lib/ -DCMAKE_CXX_COMPILER=${COMPILER} ../
- make
## Test 1. LAMMPS-LATTE Example:
#- cd ${HOME}/lammps/examples/latte/
#- ../../src/lmp_serial -in in.latte.water
- cmake ../
- make -j 4
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