Salome HOME
NRI : Rename Catalog according to rule (KERNELCatalog).
[modules/yacs.git] / bin / runTestMED.in
1 #! /bin/sh
2
3 # test of MED compound :
4 # You must specifie 5 arguments :
5 #  1 : A med file ('/tmp/file.med')
6 #  2 : A mesh name in this med file ('mymesh')
7 #  3 : A field on all node in this med file on mymesh of course ('myfield')
8 #  4 : A second field on all node in this med file on mymesh of course ('myfield2')
9 #  5 : A vtk file to write mesh and fields ('/tmp/file.vtk)
10
11 @ENVSCRIPT@
12
13 cd ${SALOME_HOME_DIR}/bin
14
15 ./allkill
16
17
18 ./runNS.sh
19 sleep 2
20 ./SALOME_Registry_Server --salome_session theSession &
21 sleep 2
22
23 # direct :
24 ./SALOME_Container &
25 # with gdb
26 #xterm -T "SALOME_Container" -bg "black" -fg "green" -e /usr/bin/gdb SALOME_Container&
27
28 sleep 2
29
30 # direct :
31 ./TestMED "$1" "$2" "$3" "$4" "$5"
32
33 # with gdb (you must add argument when you type 'run' command in gdb : I don't find how to do this better)
34 #xterm -T "TestMED" -bg "black" -fg "green" -e /usr/bin/gdb TestMED&