Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
27228 Discussions

Intel parallel studio xe composer edition Fortran and c++ linux

pardhasarathy
Beginner
224 Views
I am trying to
source psxevars.sh
From linux KSH. The script is not working

However the same works with BASH.

Is there any fix for this from intel?
0 Kudos
2 Replies
Steve_Lionel
Black Belt Retired Employee
200 Views

Please elaborate on "not working". Provide a log of the command session where you issue the command and show the output. Have you tried the current version, from the oneAPI HPC Toolkit?

mecej4
Black Belt
195 Views

If you switch to a different shell, such as ksh, from the standard shell, bash, you should be prepared to adapt bash shell scripts to ksh scripts. Depending on which version of ksh you are using, the 'dot' command should work in ksh (the source command comes from csh). However, the commands in the setvars.sh scripts may not mean the same things to bash and ksh, so again you may need to make changes.

An alternative is to start a bash session, 'source' or 'dot' the Intel setvars.sh script, and then run ksh from the bash command prompt.

One wonders what it is that ksh provides to you that justifies this extra trouble that you have to go through.

Reply