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%3E%EC%B6%9C%EB%A0%A5%EC%9D%B4%20%EB%B2%A1%ED%84%B0%EC%9D%BC%20%EB%95%8C%20%EB%B3%91%EB%A0%AC%20%ED%95%A0%EB%8B%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98%EC%9D%98%20%EC%B6%9C%EB%A0%A5%EC%9D%B4%20%EB%B2%A1%ED%84%B0%EC%9D%B8%20%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98%EC%9D%84%20%EC%8B%A4%ED%96%89%20%EC%A4%91%EC%9E%85%EB%8B%88%EB%8B%A4.%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%3E%EC%9E%85%EB%A0%A5%20a%EC%99%80%20b%EC%97%90%20%EB%8C%80%ED%95%9C%20%EA%B0%92%EC%9D%98%20%EA%B7%B8%EB%A6%AC%EB%93%9C%EC%97%90%20%EB%8C%80%ED%95%B4%20%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%98%EA%B3%A0%20%EC%8B%B6%EC%8A%B5%EB%8B%88%EB%8B%A4.%20Parallel%20Assign%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EB%B3%91%EB%A0%AC%ED%99%94%ED%95%98%EB%A9%B4%20%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98%20%EC%97%B0%EA%B5%AC%20%EC%8B%A4%ED%96%89%20%EC%86%8D%EB%8F%84%EA%B0%80%20%ED%81%AC%EA%B2%8C%20%ED%96%A5%EC%83%81%EB%90%A0%20%EC%88%98%20%EC%9E%88%EB%8A%94%20%EA%B2%83%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%9D%84%EA%B9%8C%3F%20%EC%9D%B4%20%EC%9E%91%EC%97%85%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%97%90%20%EB%8C%80%ED%95%9C%20%EC%A0%9C%EC%95%88%EC%9D%B4%20%EC%9E%88%EC%9C%BC%EC%8B%AD%EB%8B%88%EA%B9%8C%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%3E%EC%9E%90%EB%8F%99%ED%99%94%20%EB%B0%8F%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8C%85%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%3ERe%3A%20%EC%B6%9C%EB%A0%A5%EC%9D%B4%20%EB%B2%A1%ED%84%B0%EC%9D%BC%20%EB%95%8C%20%EB%B3%91%EB%A0%AC%20%ED%95%A0%EB%8B%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778253%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%95%84%EB%A7%88%EB%8F%84%20Parallel%20Assign()%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%20%EC%98%88%EC%A0%9C%EA%B0%80%20%ED%8F%AC%ED%95%A8%EB%90%98%EC%96%B4%20%EC%9E%88%EC%9C%BC%EB%AF%80%EB%A1%9C%20%EB%AA%87%20%EA%B0%80%EC%A7%80%20%EC%95%84%EC%9D%B4%EB%94%94%EC%96%B4%EB%A5%BC%20%EC%96%BB%EC%9D%84%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%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%3E%EB%B3%91%EB%A0%AC%20%ED%95%A0%EB%8B%B9%20%EC%9D%B4%ED%95%B4%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%3E%ED%8A%B9%EC%A0%95%20%EC%9E%A5%EC%B9%98%EC%97%90%EC%84%9C%20%EB%B3%91%EB%A0%AC%20%ED%95%A0%EB%8B%B9()%EC%9D%B4%20%EB%8A%90%EB%A6%BD%EB%8B%88%EB%8B%A4.%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%3E%EB%B3%91%EB%A0%AC%20%ED%95%A0%EB%8B%B9%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%9C%20%EB%8B%A4%EC%A4%91%20%EC%8A%A4%EB%A0%88%EB%94%A9%20%EB%AC%B8%EC%A0%9C%20%ED%95%B4%EA%B2%B0%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