pro my_idl_test COMPILE_OPT idl2 ; make a test array v=[16,5,9,4,2,11,7,14] ; Print it print,v ; Sum it and print that print,total(v) ; print out the CPU/thread info ; The TPOOL_NTHREADS value was set by the calling batch program. HELP, /STRUCTURE, !CPU end