Skip to content
Snippets Groups Projects
Commit bc36a593 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

test ok on tcvrt21

parent 025c90ce
No related branches found
No related tags found
No related merge requests found
Subproject commit 547be9920e9086cf0f4e983568c1a8c4b51a833b Subproject commit a423156e2dbb0c5aa4bfc5bb970f3e8c174ae9d6
...@@ -58,9 +58,14 @@ cd ../../.. ...@@ -58,9 +58,14 @@ cd ../../..
fprintf('\n### FILE TRANSFER TO NODE06 ###\n'); fprintf('\n### FILE TRANSFER TO NODE06 ###\n');
%cd(fileparts(mfilename('fullpath'))); % this goes into /tmp/Editor on scd.epfl.ch %cd(fileparts(mfilename('fullpath'))); % this goes into /tmp/Editor on scd.epfl.ch
if isequal(SCDDSdemo_env.getsite(),'EPFL') if isequal(SCDDSdemo_env.getsite(),'EPFL')
system('scp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests'); % system('scp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests');
system('scp gencodes/CodeGenFolder-1/SCDwrap_demo1.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests'); % system('scp gencodes/CodeGenFolder-1/SCDwrap_demo1.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests');
system('scp gencodes/CodeGenFolder-1/SCDwrap_demo2.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests'); % system('scp gencodes/CodeGenFolder-1/SCDwrap_demo2.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests');
system('scp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg tcv_oper@tcvrt21:~/martecfgs/tests');
system('scp gencodes/CodeGenFolder-1/SCDwrap_demo1.so tcv_oper@tcvrt21:~/martecfgs/tests');
system('scp gencodes/CodeGenFolder-1/SCDwrap_demo2.so tcv_oper@tcvrt21:~/martecfgs/tests');
elseif isequal(SCDDSdemo_env.getsite(),'PSFC') elseif isequal(SCDDSdemo_env.getsite(),'PSFC')
system('cp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg ~/MARTe2/MARTe2-examples/Configurations'); system('cp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg ~/MARTe2/MARTe2-examples/Configurations');
system('cp gencodes/CodeGenFolder-1/SCDwrap_demo1.so ~/MARTe2/MARTe2-examples'); system('cp gencodes/CodeGenFolder-1/SCDwrap_demo1.so ~/MARTe2/MARTe2-examples');
...@@ -71,8 +76,11 @@ end ...@@ -71,8 +76,11 @@ end
switch SCDDSdemo_env.getsite() switch SCDDSdemo_env.getsite()
case 'EPFL' case 'EPFL'
fprintf('\n### MARTE2 RUN ON NODE06 (follow it on node06 logs of scd server) ###\n'); %fprintf('\n### MARTE2 RUN ON NODE06 (follow it on node06 logs of scd server) ###\n');
system('echo -n "Class = Message Destination = ShotStarter Function = INIT" | nc tcvrt17.crpp.tcv 24681'); %system('echo -n "Class = Message Destination = ShotStarter Function = INIT" | nc tcvrt17.crpp.tcv 24681');
system('ssh root@tcvrt21 ''declare -x scdds_path=tcvscd.crpp.tcv::/Terra24/mds/scdds; timeout 10 /root/MARTe2-examples/MARTeApp.sh -l RealTimeLoader -f /home/tcv_oper/martecfgs/tests/algo_demo1and2_2threads.cfg -s State1 > /tmp/martelog.txt''');
case 'PSFC' case 'PSFC'
fprintf('\n### MARTE2 RUN ON LOCALHOST ###\n'); fprintf('\n### MARTE2 RUN ON LOCALHOST ###\n');
system('export MARTe2_Components_DIR=~/MARTe2/MARTe2-components; source /etc/profile.d/mdsplus.sh; cd ~/MARTe2/MARTe2-examples; ./runcfs.sh'); system('export MARTe2_Components_DIR=~/MARTe2/MARTe2-components; source /etc/profile.d/mdsplus.sh; cd ~/MARTe2/MARTe2-examples; ./runcfs.sh');
......
...@@ -17,8 +17,8 @@ classdef SCDDSdemo_mdsparnumeric < SCDDSclass_mdsparnumeric ...@@ -17,8 +17,8 @@ classdef SCDDSdemo_mdsparnumeric < SCDDSclass_mdsparnumeric
varargin{:}); varargin{:});
% set MDS client type % set MDS client type
obj.clienttype="Thin"; %obj.clienttype="Thin";
%obj.clienttype="Distributed"; obj.clienttype="Distributed";
% set load permissivity % set load permissivity
obj.skipnotok=true; obj.skipnotok=true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment