If PGI is used, check first Intel MKL then ACML. Works single and multi-threading. Tested using PGI 14.7 and Intel MKL 11.1, not yet ready to handle the CRAY case.