Proc IML Performance

Reply
Occasional Contributor
Posts: 7

Proc IML Performance


I have a SAS process which uses the proc iml in a cycle of many iterations. This SAS process takes about 11 hours.

I have also used the options  SYMSIZE=8388608 and  WORKSIZE=8388608 but the Runtime doesn't improve.

Could suggest me the possible solutions?

Many Thanks!!

SAS Super FREQ
Posts: 3,753

Re: Proc IML Performance

Posted in reply to Mariangela

There are dozens of reasons why your SAS/IML code could be running slowly.

The two most common are

1) Concatenating an array of results within a loop. See Pre-allocate arrays to improve efficiency - The DO Loop

2) Programming lots of subscripts (like FORTRAN or C) instead of using vectorization. See vectorization - The DO Loop

Ask a Question
Discussion stats
  • 1 reply
  • 226 views
  • 0 likes
  • 2 in conversation