LogAnalyzer RunParallel
LogAnalyzer RunParallel

No thanks, just

RunParallel

Download

1

What is RunParallel?

RunParallel makes it possible to execute multiple snippets of SAS-code simultaneously. Tell RunParallel how to boost the performance of your program by adding simple SAS-comments such as /*EP.SINGLE*/ and /*EP.END*/. With this comment-based approach, your code will remain intact to run in Base SAS as always. Our integrated interface in Base SAS includes an editor and log views, with the possibility of choosing how many SAS parallel sessions are wanted. Active sessions running code light up in green. Download the installation files above and follow the instructions below to get started.

2

How to install RunParallel

To experience RunParallel, click the “Download” button and unzip the installation folder. If you see no button above, try maximizing the window. Installation requirements: 64 bit Windows, a functioning Base SAS installation and administrator rights on your PC.

In the installation folder, you should see the following:

Double-click on BaseSasExInstaller.exe and follow the instructions. A successful installation looks like this:

RunParallel is now ready for use, and you may find it under the new Add-ins menu in the Base SAS menu bar.

How to uninstall: The installation folder contains an uninstaller which may be run by double-clicking Uninstaller.exe. A successful uninstallation returns the following and removes the Add-ins menu in Base SAS.

3

How to get started

To get a quick feel of how RunParallel works, open Base SAS and copy below code into the editor:

dm log 'clear';
/*EP.SINGLE*/
data _NULL_;
call streaminit(123);
do i = 1 to 100000000;
u = rand('Uniform');
end;
run;
/*EP.END*/

/*EP.SINGLE*/
data _NULL_;
call streaminit(456);
do i = 1 to 100000000;
u = rand('Uniform');
end;
run;
/*EP.END*/

/*EP.SINGLE*/
data _NULL_;
call streaminit(789);
do i = 1 to 100000000;
u = rand('Uniform');
end;
run;
/*EP.END*/

/*EP.SINGLE*/
data _NULL_;
call streaminit(333);
do i = 1 to 100000000;
u = rand('Uniform');
end;
run;
/*EP.END*/

Here, we generate a load of random values in four DATA-steps. The comments added at the beginning and end of each DATA-step are RunParallel commands. First, you may try to execute the code in Base SAS as usual, ie one DATA-step at a time. To execute this code in RunParallel, choose the Editor Window, and pick RunParallel in the Add-ins menu.

This will open the RunParallel interface. The first time the interface opens, it may need a few seconds to initialize. By default, RunParallel will create four SAS-sessions to run the DATA-steps in parallel. The number of sessions used may be changed in the drop-down list.

When RunParallel has started up the sessions, submit the code for parallel execution using the submit button. Notice how the execution time improves in the blue box in the upper right corner!

To learn more about syntax and which types of programs RunParallel is well-suited for, visit this page.