]> Creatis software - CreaPhase.git/blobdiff - 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
diff --git a/octave_packages/openmpi_ext-1.0.2/doc-cache b/octave_packages/openmpi_ext-1.0.2/doc-cache
new file mode 100644 (file)
index 0000000..a517b88
--- /dev/null
@@ -0,0 +1,222 @@
+# Created by Octave 3.6.1, Fri Apr 27 13:23:25 2012 UTC <root@t61>
+# name: cache
+# type: cell
+# rows: 3
+# columns: 8
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 2
+Pi
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 45
+ mpirun -np 5 octave -q --eval "Pi(2E7,'s')"
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 45
+ mpirun -np 5 octave -q --eval "Pi(2E7,'s')"
+
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 12
+hello2dimmat
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 67
+ the string NEWORLD is just a label could be whatever you want    
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 67
+ the string NEWORLD is just a label could be whatever you want    
+
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 9
+hellocell
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 183
+ 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
+ type at the terminal mpirun -np 4 octave --eval hellocell
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 80
+ if you have 4 cores or a network of 4 computers with a ssh connection with no p
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 14
+hellosparsemat
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 65
+ the string NEWORLD is just a label could be whatever you want  
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 65
+ the string NEWORLD is just a label could be whatever you want  
+
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 11
+hellostruct
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 185
+ 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
+ type at the terminal mpirun -np 4 octave --eval hellostruct
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 80
+ if you have 4 cores or a network of 4 computers with a ssh connection with no p
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 10
+helloworld
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 184
+ 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
+ type at the terminal mpirun -np 4 octave --eval helloworld
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 80
+ if you have 4 cores or a network of 4 computers with a ssh connection with no p
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 10
+mc_example
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 133
+ info = MPI_Init 
+ tic;
+ montecarlo(f, args, reps, outfile, n_pooled, verbose);
+ disp("I am here!");
+ t=toc
+  info = MPI_Finalize() 
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 80
+ info = MPI_Init 
+ tic;
+ montecarlo(f, args, reps, outfile, n_pooled, verbose);
+
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 10
+montecarlo
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 959
+ montecarlo.m: generates a specified number of replications of a function's
+ output and writes them to a user-specified output file.
+
+ USAGE: montecarlo(f,f_args,reps,outfile,n_pooled,n_returns,usempi, verbose)
+
+ IMPORTANT: f should return a row vector of output from feval(f,f_args)
+
+ For normal evaluation on one core, only the first 4 arguments are required.
+ * Arg 1: (required) the function that generates a row vector of output
+ * Arg 2: (required) the arguments of the function, in a cell
+ * Arg 3: (required) the number of replications to generate
+ * Arg 4: (required) the output file name
+ * Arg 5 (optional) number of replications to be pooled together between writes
+ * Arg 6 (optional) verbose: 1 for on, 0 for off
+
+ If using MPI, you should run using ranks equal to number of cores plus 1,
+ and should make sure that the core running the frontend is also the one that
+ has the second rank. That way the core the frontend is on will also do work.
+
+
+
+# name: <cell-element>
+# type: sq_string
+# elements: 1
+# length: 12
+ montecarlo.
+
+
+
+
+