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

setvars.sh crash on Linux

Jacob_Williams
New Contributor I
220 Views

When i run: . /software/x86_64/intel/oneapi/2021.2.0/setvars.sh

 

I get:

:: initializing oneAPI environment ...
-bash: BASH_VERSION = 4.2.46(2)-release
:: advisor -- latest
-bash: [: too many arguments
-bash: [: too many arguments
:: ccl -- latest
:: clck -- latest
:: compiler -- latest

 

I'm using oneAPI 2021.2 on Linux. Any ideas?

0 Kudos
1 Reply
Jacob_Williams
New Contributor I
213 Views

Never mind. It looks like one of these aliases in my bashrc was breaking the script:

# aliases:
#alias cd..="cd .."
#alias uname="uname -a"
#alias lls="ls -la"
#alias topu="top -u $USER"

 

when i comment those out it works fine now.

Reply