Software Archive
Read-only legacy content
17061 Discussions

micprun and compilervars.sh

Etienne_S_
Beginner
328 Views

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-composer-edition-for-linux

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
JJK
New Contributor III
328 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
Etienne_S_
Beginner
328 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
Reply