Changes between Version 3 and Version 4 of MATLAB API

Show
Ignore:
Timestamp:
11/15/13 15:33:36 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MATLAB API

    v3 v4  
    3636== Example == 
    3737{{{ 
    38 module load matlab 
     38Running both MUSCLE2 Simulation Manager and the Simulation 
     39=== Running MUSCLE2 Simulation Manager === 
     40[15:32:59 muscle] Started the connection handler, listening on 10.10.4.225:9000 
     41=== Running MUSCLE2 Simulation === 
     42[15:33:00 muscle] Using directory </scratch/41450320.batch.grid.cyf-kr.edu.pl/n1245-g7e.zeus_2013-11-15_15-32-58_8575> 
     43[15:33:00 muscle] r: connecting... 
     44[15:33:00 muscle] Registered ID r 
     45[15:33:00 muscle] w: connecting... 
     46[15:33:00 muscle] Registered ID w 
     47[15:33:00 muscle] The conduit exit 'data@r' will use filter(s) [multiply_0.5]. 
     48[15:33:00 muscle] w conduit entrances (out): [data] 
     49                  w conduit exits (in): [] 
     50[15:33:00 muscle] w: executing 
     51[15:33:00 muscle] r conduit entrances (out): [] 
     52                  r conduit exits (in): [data] 
     53[15:33:00 muscle] r: executing 
     54[15:33:00 muscle] warning: MATLAB command variable 'matlab_command'  for w not given. Using matlab. 
     55[15:33:00 muscle] warning: MATLAB arguments variable 'matlab_args' for w not given. Not using arguments. 
     56(15:33:00      w) Spawning standalone kernel: [matlab, -nosplash, -nodisplay, -r, addpath('/mnt/lustre/scratch/groups/plggmuscle/2.0/share/muscle/examples/simplematlab','/mnt/lustre/scratch/groups/plggmuscle/2.0/share/muscle/matlab/modules/'); try, sender, catch Ex, Error = Ex, ErrorReport = getReport(Ex, 'extended'), ErrorStack = Ex.stack, exit(4), end; exit] 
    3957 
    40 muscle2 -mac $MUSCLE_HOME/share/muscle/examples/cxa/SimpleMatlabExample.cxa.rb 
     58                            < M A T L A B (R) > 
     59                  Copyright 1984-2013 The MathWorks, Inc. 
     60                    R2013b (8.2.0.701) 64-bit (glnxa64) 
     61                              August 13, 2013 
     62 
     63  
     64To get started, type one of these: helpwin, helpdesk, or demo. 
     65For product information, visit www.mathworks.com. 
     66  
     67Kernel Name = w 
     68has property "script"? = 1  
     69Property[script] = /mnt/lustre/scratch/groups/plggmuscle/2.0/share/muscle/examples/simplematlab/sender.m  
     70has property "not_existing"? = 0  
     71 
     72dataA = 
     73 
     74     0     1     2     3     4 
     75 
     76 
     77ans = 
     78 
     79     0 
     80 
     81(15:33:12      r) got: 0.0 
     82(15:33:12      r) got: 0.5 
     83(15:33:12      r) got: 1.0 
     84(15:33:12      r) got: 1.5 
     85(15:33:12      r) got: 2.0 
     86(15:33:12      r)  
     87(15:33:12      r) got: 0.0 
     88(15:33:12      r) got: 0.5 
     89(15:33:12      r) got: 1.0 
     90(15:33:12      r) got: 1.5 
     91(15:33:12      r) got: 2.0 
     92(15:33:12      r)  
     93(15:33:12      r) got: 0.0 
     94(15:33:12      r) got: 0.5 
     95(15:33:12      r) got: 1.0 
     96(15:33:12      r) got: 1.5 
     97(15:33:12      r) got: 2.0 
     98(15:33:12      r)  
     99(15:33:12      r) got: 0.0 
     100(15:33:12      r) got: 0.5 
     101(15:33:12      r) got: 1.0 
     102(15:33:12      r) got: 1.5 
     103(15:33:12      r) got: 2.0 
     104(15:33:12      r)  
     105[15:33:12 muscle] r: finished 
     106[15:33:12 muscle] Deregistered r; will quit MUSCLE once 'w' has finished computation. 
     107(15:33:12      w) Program finished. 
     108(15:33:12      w) Command [matlab, -nosplash, -nodisplay, -r, addpath('/mnt/lustre/scratch/groups/plggmuscle/2.0/share/muscle/examples/simplematlab','/mnt/lustre/scratch/groups/plggmuscle/2.0/share/muscle/matlab/modules/'); try, sender, catch Ex, Error = Ex, ErrorReport = getReport(Ex, 'extended'), ErrorStack = Ex.stack, exit(4), end; exit] finished. 
     109[15:33:12 muscle] w: finished 
     110[15:33:12 muscle] All ID's have finished, quitting MUSCLE now. 
     111[15:33:12 muscle] All local submodels have finished; exiting. 
     112 
     113 
     114        Executed in </scratch/41450320.batch.grid.cyf-kr.edu.pl/n1245-g7e.zeus_2013-11-15_15-32-58_8575> 
     115 
    41116 
    42117}}}