]> Creatis software - CreaPhase.git/blob - octave_packages/openmpi_ext-1.0.2/doc-cache
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / openmpi_ext-1.0.2 / doc-cache
1 # Created by Octave 3.6.1, Fri Apr 27 13:23:25 2012 UTC <root@t61>
2 # name: cache
3 # type: cell
4 # rows: 3
5 # columns: 8
6 # name: <cell-element>
7 # type: sq_string
8 # elements: 1
9 # length: 2
10 Pi
11
12
13 # name: <cell-element>
14 # type: sq_string
15 # elements: 1
16 # length: 45
17  mpirun -np 5 octave -q --eval "Pi(2E7,'s')"
18
19
20
21 # name: <cell-element>
22 # type: sq_string
23 # elements: 1
24 # length: 45
25  mpirun -np 5 octave -q --eval "Pi(2E7,'s')"
26
27
28
29
30 # name: <cell-element>
31 # type: sq_string
32 # elements: 1
33 # length: 12
34 hello2dimmat
35
36
37 # name: <cell-element>
38 # type: sq_string
39 # elements: 1
40 # length: 67
41  the string NEWORLD is just a label could be whatever you want    
42
43
44
45 # name: <cell-element>
46 # type: sq_string
47 # elements: 1
48 # length: 67
49  the string NEWORLD is just a label could be whatever you want    
50
51
52
53
54 # name: <cell-element>
55 # type: sq_string
56 # elements: 1
57 # length: 9
58 hellocell
59
60
61 # name: <cell-element>
62 # type: sq_string
63 # elements: 1
64 # length: 183
65  if you have 4 cores or a network of 4 computers with a ssh connection with no password and same openmpi 1.3.3 installation
66  type at the terminal mpirun -np 4 octave --eval hellocell
67
68
69
70 # name: <cell-element>
71 # type: sq_string
72 # elements: 1
73 # length: 80
74  if you have 4 cores or a network of 4 computers with a ssh connection with no p
75
76
77
78 # name: <cell-element>
79 # type: sq_string
80 # elements: 1
81 # length: 14
82 hellosparsemat
83
84
85 # name: <cell-element>
86 # type: sq_string
87 # elements: 1
88 # length: 65
89  the string NEWORLD is just a label could be whatever you want  
90
91
92
93 # name: <cell-element>
94 # type: sq_string
95 # elements: 1
96 # length: 65
97  the string NEWORLD is just a label could be whatever you want  
98
99
100
101
102 # name: <cell-element>
103 # type: sq_string
104 # elements: 1
105 # length: 11
106 hellostruct
107
108
109 # name: <cell-element>
110 # type: sq_string
111 # elements: 1
112 # length: 185
113  if you have 4 cores or a network of 4 computers with a ssh connection with no password and same openmpi 1.3.3 installation
114  type at the terminal mpirun -np 4 octave --eval hellostruct
115
116
117
118 # name: <cell-element>
119 # type: sq_string
120 # elements: 1
121 # length: 80
122  if you have 4 cores or a network of 4 computers with a ssh connection with no p
123
124
125
126 # name: <cell-element>
127 # type: sq_string
128 # elements: 1
129 # length: 10
130 helloworld
131
132
133 # name: <cell-element>
134 # type: sq_string
135 # elements: 1
136 # length: 184
137  if you have 4 cores or a network of 4 computers with a ssh connection with no password and same openmpi 1.3.3 installation
138  type at the terminal mpirun -np 4 octave --eval helloworld
139
140
141
142 # name: <cell-element>
143 # type: sq_string
144 # elements: 1
145 # length: 80
146  if you have 4 cores or a network of 4 computers with a ssh connection with no p
147
148
149
150 # name: <cell-element>
151 # type: sq_string
152 # elements: 1
153 # length: 10
154 mc_example
155
156
157 # name: <cell-element>
158 # type: sq_string
159 # elements: 1
160 # length: 133
161  info = MPI_Init 
162  tic;
163  montecarlo(f, args, reps, outfile, n_pooled, verbose);
164  disp("I am here!");
165  t=toc
166   info = MPI_Finalize() 
167
168
169
170 # name: <cell-element>
171 # type: sq_string
172 # elements: 1
173 # length: 80
174  info = MPI_Init 
175  tic;
176  montecarlo(f, args, reps, outfile, n_pooled, verbose);
177
178
179
180
181 # name: <cell-element>
182 # type: sq_string
183 # elements: 1
184 # length: 10
185 montecarlo
186
187
188 # name: <cell-element>
189 # type: sq_string
190 # elements: 1
191 # length: 959
192  montecarlo.m: generates a specified number of replications of a function's
193  output and writes them to a user-specified output file.
194
195  USAGE: montecarlo(f,f_args,reps,outfile,n_pooled,n_returns,usempi, verbose)
196
197  IMPORTANT: f should return a row vector of output from feval(f,f_args)
198
199  For normal evaluation on one core, only the first 4 arguments are required.
200  * Arg 1: (required) the function that generates a row vector of output
201  * Arg 2: (required) the arguments of the function, in a cell
202  * Arg 3: (required) the number of replications to generate
203  * Arg 4: (required) the output file name
204  * Arg 5 (optional) number of replications to be pooled together between writes
205  * Arg 6 (optional) verbose: 1 for on, 0 for off
206
207  If using MPI, you should run using ranks equal to number of cores plus 1,
208  and should make sure that the core running the frontend is also the one that
209  has the second rank. That way the core the frontend is on will also do work.
210
211
212
213 # name: <cell-element>
214 # type: sq_string
215 # elements: 1
216 # length: 12
217  montecarlo.
218
219
220
221
222