Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28446 Discussions

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

pardhasarathy
Beginner
489 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
Honored Contributor III
465 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?

0 Kudos
mecej4
Honored Contributor III
460 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.

0 Kudos
Reply