07-30-2012 01:04 PM
I have SAS 9.2/Enterprise 4.3 running on a windows (7 x64) machine with eight cores (+ Tesla C2075 GPU) and cannot get my program to run on more than one core at a time. The code runs nicely and produces great results, but is very slow. The code is below; any thoughts on getting it to run on more than one core would be greatly appreciated.
proc surveyselect DATA=data
Proc reg data=boot1 outest=est1(drop=_noprint;
MODEL Total = x1 x2 …… xn
/ SELECTION= adjrsq cp start=7 stop=7 best=1;
Proc means data=est1
VAR x1 x2 …… xn;
08-14-2012 07:53 AM
How slow is very slow?
You'll get that if you're running a SAS desktop license.
Do you have access to a SAS server license? Silly question I know as it is much more expensive.
With 8 cores and a desktop licence you could still run one surveyselect, but then split the resulting reps plus inference into 8 roughly equal parts and run all in paralell in batch, then append all tables after all batch SAS jobs have completed and analyse the boot stats in a 9th interactive session. What happens if you use another constant seed other than 1? (I always use my birthday in 8 digits, cos I think it's a lucky number. Hilarious ay?)