Commit 5fc8bd9d authored by Ronan Trepos's avatar Ronan Trepos
Browse files

test_manager

parent d7757794
......@@ -3,50 +3,48 @@ FROM debian:buster-slim
RUN env \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
curl git libxml2-dev libboost-dev make cmake pkg-config g++ gfortran asciidoctor ruby-asciidoctor ninja-build libopenmpi-dev libopenmpi3 zip unzip\
curl git libexpat1 libexpat1-dev expat libboost-dev make cmake pkg-config g++ asciidoctor ruby-asciidoctor ninja-build libopenmpi-dev libopenmpi3 zip unzip\
r-base\
&& rm -rf /var/lib/apt/lists/*
ENV VLE_HOME=/data
WORKDIR /data
RUN mkdir /data/pkgs-2.0
RUN git clone https://github.com/vle-forge/vle.git \
RUN git clone https://github.com/rtrepos/vle.git \
&& cd vle \
&& git checkout tags/v2.0.2 -b v2.0.2 \
&& git checkout origin/manager -b manager \
&& mkdir build \
&& cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_CVLE=ON -DWITH_GVLE=OFF \
&& cd build \
&& cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_CVLE=ON -DWITH_GVLE=OFF .. \
&& ninja \
&& ninja install \
&& vle-2.0 --restart \
&& vle-2.1 --restart \
&& ctest --output-on-failure \
&& rm -fr build
RUN R --vanilla -e 'install.packages("RUnit", repos="http://cran.us.r-project.org")'
RUN git clone https://github.com/vle-forge/rvle.git \
RUN git clone https://github.com/rtrepos/rvle.git \
&& cd rvle \
&& git checkout origin/master2.0 -b v2.0
&& git checkout origin/manager -b manager
RUN tar cfz rvle.tar.gz rvle \
&& rm -rf rvle
RUN R CMD INSTALL rvle.tar.gz
RUN git clone https://github.com/vle-forge/packages.git \
RUN git clone https://github.com/rtrepos/packages.git \
&& cd packages \
&& git checkout master
&& git checkout origin/manager -b manager
RUN cd packages \
&& vle -P vle.reader clean rclean configure build \
&& vle -P vle.tester clean rclean configure build \
&& vle -P vle.discrete-time clean rclean configure build \
&& vle -P vle.recursive clean rclean configure build
&& vle -P vle.discrete-time clean rclean configure build
RUN git clone https://forgemia.inra.fr/record/RECORD.git \
&& cd RECORD \
&& git checkout master
&& git checkout origin/manager -b manager
RUN cd RECORD/pkgs \
&& vle -P record.meteo clean rclean configure build \
......@@ -54,10 +52,11 @@ RUN cd RECORD/pkgs \
&& vle -P vle.discrete-time.generic clean rclean configure build
RUN git clone https://forgemia.inra.fr/record/azodyn.git \
&& cd azodyn \
&& git checkout -b siwaa origin/siwaa \
&& cd azodyn \
&& git checkout origin/siwaa -b siwaa \
&& vle -P AZODYN configure build
RUN chmod -R 755 /data/vle-2001
WORKDIR /work
......
......@@ -3,7 +3,7 @@
##
print(Sys.info())
#Sys.setenv(VLE_HOME = "/data")
Sys.setenv(VLE_HOME = "/data")
args=(commandArgs(TRUE))
file_define = "file_define.csv";
......@@ -30,8 +30,8 @@ print(paste("dir(getwd()):",dir(getwd())))
f = rvlePlan.open("AzodynPea.vpz", "AZODYN")
rvlePlan.config(f, parallel_nb_slots=3, parallel_rm_files=TRUE,
parallel_type="cvle", parallel_spawn=F,
rvlePlan.config(f, parallel_nb_slots=nbslots, parallel_rm_files=TRUE,
parallel_type="cvle", parallel_spawn=F, generate_hostfile=TRUE,
working_dir=getwd());
inputs = rvleExp.parseSim(file_sim=file_input, rvle_handle=f, skip=0)
......
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