- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I had this working before when profile.d script, but I kept getting complaints about not re-running, and I took it out. No I get "Script setvars.sh not found." when starting eclipse. I have tried several etc/environment SETVARS_CONFIG but not one that works and still get error. SETVARS_CONFIG="/home/opt/intel/oneapi" , plus a "/" and "/setvars.sh". I still get error in eclipse, CentOS8. No build. (The "home" exists because I had to install there as I had not partitioned "/" with enough space.)
Now in terminal if I "source ./1apil.sh", 1apil.sh="source /home/opt/intel/oneapi/setvars.sh" and launch eclipse from terminal, all is fine. What am I missing to get the SETVARS_CONFIG to work?
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Upon further reading I see I was not attempting to use SETVARS_CONFIG to customize, but to run setvars.sh. Perhaps a better question is how to make eclipse run setvars.sh on startup?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I chose to put a " . ./apil.sh" in .bash_profile where apil.sh is "source /home/opt/intel/oneapi/setvars.sh" This seems to get done what I need for now.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Malcolm,
Glad you have found a way to work.
But please refer to this article (Automate the setvars.sh Script with Eclipse* (intel.com)) for the exact steps to be followed for automating setvars script in Eclipse.
Let us know if you still getting errors after following the steps.
Regards
Prasanth
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Malcolm,
We haven't heard back from you.
Did you find the steps useful? If you need any help or have any questions, please let us know.
Regards
Prasanth
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Malcolm,
We are closing this thread assuming your issue has been resolved. Ee will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
Regards
Prasanth

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable