Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
18 Views

micprun and compilervars.sh

Dear all,

I just buit a new xeon phi test host. I would like to run the micprun stress test program, but when I run it, it fails because it cannot find the compilervars.sh script.

I downloaded and installed the run-time from here:

https://software.intel.com/en-us/articles/redistributables-for-intel-parallel-studio-xe-2016-compose...

The installation folder was /home/user, which resulted in the scripts placed in /home/user/bin, which I added to the bash PATH. I can run the script "compilervars.sh intel64" manually, but the micprun command says these cannot be found. What is the issue there?

Thanks,

Etienne

0 Kudos
2 Replies
Highlighted
New Contributor III
18 Views

which env vars are set after sourcing the /home/user/bin/compilervars.sh script? you should see many env vars starting with MIC_ etc ; if not, then the PROD_DIR env var inside the compilervars.sh script needs to be adjusted - it is hardcoded to point to /opt/intel/composer_xe_2016 (or something similar).

 

HTH,

JJK

0 Kudos
Highlighted
Beginner
18 Views

JJK wrote:

which env vars are set after sourcing the /home/user/bin/compilervars.sh script?

I just forgot to use "source" and ran the script directly... Thanks!

0 Kudos