X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=CreaPhase.git;a=blobdiff_plain;f=octave_packages%2Fopenmpi_ext-1.0.2%2Fdoc-cache;fp=octave_packages%2Fopenmpi_ext-1.0.2%2Fdoc-cache;h=a517b88155ed9d02989315101a07bd01f907e576;hp=0000000000000000000000000000000000000000;hb=f5f7a74bd8a4900f0b797da6783be80e11a68d86;hpb=1705066eceaaea976f010f669ce8e972f3734b05 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 index 0000000..a517b88 --- /dev/null +++ b/octave_packages/openmpi_ext-1.0.2/doc-cache @@ -0,0 +1,222 @@ +# Created by Octave 3.6.1, Fri Apr 27 13:23:25 2012 UTC +# name: cache +# type: cell +# rows: 3 +# columns: 8 +# name: +# type: sq_string +# elements: 1 +# length: 2 +Pi + + +# name: +# type: sq_string +# elements: 1 +# length: 45 + mpirun -np 5 octave -q --eval "Pi(2E7,'s')" + + + +# name: +# type: sq_string +# elements: 1 +# length: 45 + mpirun -np 5 octave -q --eval "Pi(2E7,'s')" + + + + +# name: +# type: sq_string +# elements: 1 +# length: 12 +hello2dimmat + + +# name: +# type: sq_string +# elements: 1 +# length: 67 + the string NEWORLD is just a label could be whatever you want + + + +# name: +# type: sq_string +# elements: 1 +# length: 67 + the string NEWORLD is just a label could be whatever you want + + + + +# name: +# type: sq_string +# elements: 1 +# length: 9 +hellocell + + +# name: +# 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: +# 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: +# type: sq_string +# elements: 1 +# length: 14 +hellosparsemat + + +# name: +# type: sq_string +# elements: 1 +# length: 65 + the string NEWORLD is just a label could be whatever you want + + + +# name: +# type: sq_string +# elements: 1 +# length: 65 + the string NEWORLD is just a label could be whatever you want + + + + +# name: +# type: sq_string +# elements: 1 +# length: 11 +hellostruct + + +# name: +# 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: +# 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: +# type: sq_string +# elements: 1 +# length: 10 +helloworld + + +# name: +# 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: +# 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: +# type: sq_string +# elements: 1 +# length: 10 +mc_example + + +# name: +# 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: +# type: sq_string +# elements: 1 +# length: 80 + info = MPI_Init + tic; + montecarlo(f, args, reps, outfile, n_pooled, verbose); + + + + +# name: +# type: sq_string +# elements: 1 +# length: 10 +montecarlo + + +# name: +# 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: +# type: sq_string +# elements: 1 +# length: 12 + montecarlo. + + + + +