How to Extract Various System Information Into Your Code
From Jacket Wiki
Jacket Version
Say we want to know the Jacket version, which was used. There is no direct command for this but the following will do the trick:
ginfo_str = evalc('ginfo'); pplace = strfind(ginfo_str,')'); Jver = ginfo_str(1:pplace(1));
An example of running this code could result in:
Jver = Jacket v1.4.1 (build 6737)
Operating System
This can directly be done via the following code:
gpu_info = gpu_entry(13); gpu_system = gpu_info.system;
The output could for example be:
gpu_system = 32-bit Mac OS X
CUDA Level
This can directly be done via the following code:
gpu_info = gpu_entry(13); gpu_compute = gpu_info.compute;
The output could be:
gpu_compute = 1.2000