BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
C_Golen
Obsidian | Level 7

Greetings,

 

In SAS Viya I learned that there is parallel processing with the help of workers and that I can check its activation by opening a cas session. But my question is at this point: let's say I am running a time series model (Auto-Forecasting). If my workers are active, does this process automatically run in parallel (In model Studio). Or do I have to write CAS code to develop in parallel? How do I understand and manage whether it works in parallel or not?

 

Thank you in advance for your related resources and detailed explanations! 

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

@C_Golen wrote:

But my question is at this point: let's say I am running a time series model (Auto-Forecasting). If my workers are active, does this process automatically run in parallel (In model Studio)?


Hello,

If you use Model Studio for a Visual Forecasting (VF-) project , then this project runs automatically on all available threads of all available nodes (distributed computing on in-memory data residing in a CASLIB).

To do parallel processing (for time series modelling) in SAS Studio , you need to use an action (from an action set) in PROC CAS.
Or use a CAS-enabled procedure :

  • PROC ARIMA , PROC SSM , PROC PANEL and PROC MODEL run on SPRE.
  • PROC CARIMA , PROC CSSM , PROC CPANEL and PROC TSMODEL (SAS Econometrics) run on CAS engine.

In SAS Studio you can easily control the number of workers and the number of threads per worker.
In Model Studio I am not aware of a manner to control the number of workers and the number of threads per worker.

 

In SAS Studio , you need to initiate a CAS session yourself.

In Model Studio (and Visual Analytics) it is taken care of (you do NOT have to start a CAS session yourself).

 

Good luck,
Koen

View solution in original post

2 REPLIES 2
sbxkoenk
SAS Super FREQ

@C_Golen wrote:

But my question is at this point: let's say I am running a time series model (Auto-Forecasting). If my workers are active, does this process automatically run in parallel (In model Studio)?


Hello,

If you use Model Studio for a Visual Forecasting (VF-) project , then this project runs automatically on all available threads of all available nodes (distributed computing on in-memory data residing in a CASLIB).

To do parallel processing (for time series modelling) in SAS Studio , you need to use an action (from an action set) in PROC CAS.
Or use a CAS-enabled procedure :

  • PROC ARIMA , PROC SSM , PROC PANEL and PROC MODEL run on SPRE.
  • PROC CARIMA , PROC CSSM , PROC CPANEL and PROC TSMODEL (SAS Econometrics) run on CAS engine.

In SAS Studio you can easily control the number of workers and the number of threads per worker.
In Model Studio I am not aware of a manner to control the number of workers and the number of threads per worker.

 

In SAS Studio , you need to initiate a CAS session yourself.

In Model Studio (and Visual Analytics) it is taken care of (you do NOT have to start a CAS session yourself).

 

Good luck,
Koen

C_Golen
Obsidian | Level 7
Thank you for your detailed and explanatory answers! So far it is enough for me.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 746 views
  • 1 like
  • 2 in conversation