cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
%3CLINGO-SUB%20id%3D%22lingo-sub-778107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EParallele%20Zuweisung%2C%20wenn%20die%20Ausgabe%20ein%20Vektor%20ist%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIch%20f%C3%BChre%20eine%20Simulation%20durch%2C%20bei%20der%20die%20Ausgabe%20der%20Simulation%20ein%20Vektor%20ist%2C%20d.%26nbsp%3Bh.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EF_Simulation%3DFunction(%7Ba%2Cb%7D%2C%20%0A%2F*%20do%20simulation%2C%20resuling%20in%203%20values%20that%20are%20put%20into%20a%201x3%20matrix%20named%0Aoutvec%20*%2F%0Aoutvec%3B%0A)%3B%20%20%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EIch%20m%C3%B6chte%20die%20Simulation%20%C3%BCber%20ein%20Werteraster%20f%C3%BCr%20die%20Eingaben%20a%20und%20b%20durchf%C3%BChren.%20Es%20scheint%2C%20als%20k%C3%B6nnte%20ich%20die%20Ausf%C3%BChrung%20der%20Simulationsstudie%20durch%20Parallelisierung%20mithilfe%20von%20Parallel%20Assign%20deutlich%20beschleunigen.%20K%C3%B6nnte%20das%20gemacht%20werden%3F%20Irgendwelche%20Vorschl%C3%A4ge%2C%20wie%20das%20geht%3F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-778107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-778253%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Parallele%20Zuweisung%2C%20wenn%20die%20Ausgabe%20ein%20Vektor%20ist%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778253%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EVielleicht%20geben%20diese%20einige%20Ideen%2C%20da%20sie%20Beispiele%20f%C3%BCr%20die%20Verwendung%20von%20Parallel%20Assign()%20enthalten.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FUnderstanding-Parallel-Assign%2Fm-p%2F247314%23U247314%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3EInformationen%20zur%20parallelen%20Zuweisung%3C%2FA%3E%20%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FParallel-Assign-is-slow-on-certain-devices%2Fm-p%2F428225%23U428225%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3EParallel%20Assign()%20ist%20auf%20bestimmten%20Ger%C3%A4ten%20langsam%3C%2FA%3E%20%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FMultithreading-troubleshooting-using-Parallel-Assign%2Fm-p%2F230563%23U230563%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3EFehlerbehebung%20bei%20Multithreading%20mithilfe%20von%20%E2%80%9EParallel%20Assign%E2%80%9C%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
MathStatChem
Level VI

Parallel assign when the output is a vector

I am running a simulation where the output of the simulation is a vector, i.e.

 

F_Simulation=Function({a,b}, 
/* do simulation, resuling in 3 values that are put into a 1x3 matrix named
outvec */
outvec;
);  

I want to do the simulation over a grid of values for the inputs a and b.  It seems like i could get a significant speedup in execution of the simulation study by parallelizing, using Parallel Assign.  Could be done?  Any suggestions on how to do this?  

 

 

1 REPLY 1
jthi
Super User

Re: Parallel assign when the output is a vector

Maybe these give some ideas as they contain examples using Parallel Assign()

 

-Jarmo