Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.
419 Discussions

How to use csh, tcsh and other non-POSIX shells with oneAPI and


oneAPI: or compiler/latest/ and other environment setup scripts:

Simplest workaround is:

# oneAPI use in csh/tcsh
bash -c 'source /opt/intel/oneapi/ ; exec csh'
# oneAPI compiler use in csh/tcsh
bash -c 'source /opt/intel/oneapi/compiler/latest/env/ ; exec csh'

IMPORTANT - do not use this workaround in your shell "rc" dot file; for example, in your ~/.cshrc file. Your shell RC file is invoked with each new shell - the "exec csh" in this workaround will start a new subshell, invoking .cshrc, which then execs a new shell; the new shell runs .cshrc and you get into an infinite loop.

Labels (1)
0 Kudos
0 Replies