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.

Setting up user environment

Viet-Duc
Novice
1,487 Views

Hi,

After installing oneAPI 2021.1 Beta08, I could set up environments for every components excepts DPCPP compiler.

$ source setvars.sh
:: initializing oneAPI environment ...
:: compiler -- latest
-bash: [: too many arguments
:: intelpython -- latest
:: ccl -- latest
:: ippcp -- latest
:: dev-utilities -- latest
:: mpi -- latest
:: mkl -- latest
:: advisor -- latest
:: dpcpp-ct -- latest
:: dnnl -- latest
:: vpl -- latest
:: daal -- latest
:: ipp -- latest
:: tbb -- latest
ERROR: libtbb.so.12 library does not exist in vars.sh
/scratch/optpar01/apps/oneAPI/2021.1.8/tbb/2021.1-beta08/env/../lib/intel64/gcc4.8.
:: vtune -- latest
:: debugger -- latest
:: oneAPI environment initialized ::

 

I checked the vars.sh file locating under 'compiler/2021.1-beta08/env' but could not see any apparent issue.

Regards.

0 Kudos
7 Replies
PrasanthD_intel
Moderator
1,476 Views

Hi Viet,


Could you once check if libtbb.so.12 was there in <install_dir>/tbb/latest/lib/intel64/gcc4.8. 

As if you see in <install_dir>/tbb/latest/env/vars.sh script:

 

if [ -e "$TBBROOT/lib/$TBB_LIB_DIR/$TBB_LIB_NAME" ]; then

.....

.....

else

  echo "ERROR: $TBB_LIB_NAME library does not exist in $TBBROOT/lib/$TBB_LIB_DIR."

  return 2

fi


If the shared library exists under the directory and still it is showing error means TBBROOT might have been set to another path. Please post 

echo $TBBROOT if you have manually intervened the path.


If there is no libtbb.so.12 under that location it might be due to installation issue. Could you please run sys_check.sh, which you can find in the same path as setvars.sh, and post us the output.


Regards

Prasanth


0 Kudos
Viet-Duc
Novice
1,462 Views

Dear Prasanth,

The following is the information that you've requested.

[libtbb.so.12]

 

$ find . -name libtbb.so.12

./tbb/2021.1-beta08/lib/ia32/gcc4.8/libtbb.so.12
./tbb/2021.1-beta08/lib/intel64/gcc4.8/libtbb.so.12 

 

[interfering $TBBROOT]

 

echo $TBBROOT
vars.sh /scratch/optpar01/apps/oneAPI/2021.1.8/tbb/2021.1-beta08/env/..

 

 [syscheck.sh]

 

:: compiler -- latest
/scratch/optpar01/apps/oneAPI/2021.1.8/compiler/latest/linux/lib/oclfpga/fpga_sys_check.sh: line 12: lsb_release: command not found
/scratch/optpar01/apps/oneAPI/2021.1.8/compiler/latest/linux/lib/oclfpga/fpga_sys_check.sh: line 14: lsb_release: command not found
Warning: Unable to determine OS.  The FPGA backend may not work correctly
Warning: INTELFPGAOCLSDKROOT is not set.
         Please source oneAPI setvars.sh to set it.
         Continuing sys_check with INTELFPGAOCLSDKROOT set to /scratch/optpar01/apps/oneAPI/2021.1.8/compiler/2021.1-beta08/linux/lib/oclfpga.
/scratch/optpar01/apps/oneAPI/2021.1.8/compiler/2021.1-beta08/linux/lib/oclfpga/fpgavars.sh: line 7: lsb_release: command not found
/scratch/optpar01/apps/oneAPI/2021.1.8/compiler/2021.1-beta08/linux/lib/oclfpga/fpgavars.sh: line 9: lsb_release: command not found
Warning: INTEL_FPGA_ROOT is not set.
         Please ensure Intel(R) FPGA Add-on for oneAPI Base Toolkit is installed
         if you want to perform FPGA bitstream generation.
Warning: Open Programmable Acceleration Engine (OPAE) driver was not found.
         If Intel(R) Programmable Acceleration Card with Intel(R) Arria(R) 10 GX
         or Intel(R) Stratix(R) 10 SX FPGA is installed in the system, please
         install OPAE driver by running
             aocl install <board package name or path>
:: intelpython -- latest
...None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='cython')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/cython-0.29.17-py37h6ebd63d_0/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='matplotlib')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/matplotlib-3.1.2-py37hf484d3e_5/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='mkl_fft')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/mkl_fft-1.1.0-py37h6ebd63d_3/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='mkl_random')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/mkl_random-1.1.1-py37h6ebd63d_3/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='mkl_sparse')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/mkl_sparse-0.1.0-py37h14c3975_1/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='mkl_umath')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/mkl_umath-0.1.0-py37h14c3975_0/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='mpi4py')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/mpi4py-3.0.3-py37hf484d3e_7/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='numba')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/numba-0.49.1-np118py37hfb6325d_18/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='numexpr')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/numexpr-2.7.0-py37_2/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='numpy')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/numpy-1.18.5-py37h6ebd63d_5/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='pandas')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/pandas-0.25.3-py37hf484d3e_6/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='pyarrow')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/pyarrow-0.17.0-np118py37hf484d3e_6/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='scikit-ipp')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/scikit-ipp-1.1.0-py37h85746b3_0/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='scikit-learn')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/scikit-learn-0.23.1-py37h6ebd63d_1/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='scipy')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/scipy-1.4.1-py37h6ebd63d_8/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='sdc')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/sdc-0.34.0-py37h01577a7_0/info/test/run_test.py"' returned non-zero exit status 1.

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='xgboost')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke
    raise err
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke
    stderr=subprocess.DEVNULL)
  File "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/scratch/optpar01/apps/oneAPI/2021.1.8/intelpython/latest/pkgs/xgboost-1.1.1-497_gcd3d14apy37_0/info/test/run_test.py"' returned non-zero exit status 1.

----------------------------------------------------------------------
Ran 4 tests in 13.988s

FAILED (errors=17)

Failed
:: advisor -- latest
Cannot find GTK3 package.
Cannot find libXScrnSaver/libXss1 package.
Warning: Requirements for running Intel(R) Advisor 2021.1 GUI are not met. Only command line interface will be available. For system requirements, see Intel(R) Advisor 2021.1 Release Notes
:: dpcpp-ct -- latest
:: tbb -- latest
:: vtune -- latest
Cannot find GTK3 package.
Cannot find libXScrnSaver/libXss1 package.
Warning: Requirements for running Intel(R) oneAPI VTune(TM) Profiler 2021.1.0 beta08 GUI are not met. Only command line interface will be available. For system requirements, see Intel(R) oneAPI VTune(TM) Profiler 2021.1.0 beta08 Release Notes
:: debugger -- latest
No Issues Encountered

 

The above outputs were obtained after sourcing the setenv. I saw several python-related errors. It seems that the errors generated by the two scripts are not consistent.

For the time being, I manually append DPCPP paths to $PATH and $LD_LIBRARY_PATH after sourcing. I was able to compile with DPCPP afterward.

Regards.

0 Kudos
PrasanthD_intel
Moderator
1,446 Views

Hi Viet,


Thanks for providing the information we have asked for.

We can see that the value of TBBROOT is incorrect here,

echo $TBBROOT

vars.sh /scratch/optpar01/apps/oneAPI/2021.1.8/tbb/2021.1-beta08/env/..

should be

echo $TBBROOT

/scratch/optpar01/apps/oneAPI/2021.1.8/tbb/2021.1-beta08/env/..

an extra "vars.sh " is added infront of the directory path.

I don't know the exact reason for this error and have tested multiple scenarios to reproduce this but failed.

Could you please provide your vars.sh script of tbb.

cat <install_dir>/tbb/latest/env/vars.sh


Regards

Prasanth


0 Kudos
Viet-Duc
Novice
1,433 Views
TBBROOT=$(cd $(dirname ${BASH_SOURCE}) && pwd -P)/..
TBB_TARGET_ARCH="intel64"

for i in "$@"
do
case $i in
    intel64|ia32)
        TBB_TARGET_ARCH="${i}";;
    *) ;;
esac
done

TBB_LIB_NAME="libtbb.so.12"
TBB_LIB_DIR="$TBB_TARGET_ARCH/gcc4.8"

if [ -e "$TBBROOT/lib/$TBB_LIB_DIR/$TBB_LIB_NAME" ]; then
    export TBBROOT
    if [ -z "${LD_LIBRARY_PATH}" ]; then
        LD_LIBRARY_PATH="$TBBROOT/lib/$TBB_LIB_DIR"; export LD_LIBRARY_PATH
    else
        LD_LIBRARY_PATH="$TBBROOT/lib/$TBB_LIB_DIR:${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH
    fi
    if [ -z "${LIBRARY_PATH}" ]; then
        LIBRARY_PATH="$TBBROOT/lib/$TBB_LIB_DIR"; export LIBRARY_PATH
    else
        LIBRARY_PATH="$TBBROOT/lib/$TBB_LIB_DIR:${LIBRARY_PATH}"; export LIBRARY_PATH
    fi
    if [ -z "${CPATH}" ]; then
        CPATH="${TBBROOT}/include"; export CPATH
    else
        CPATH="${TBBROOT}/include:$CPATH"; export CPATH
    fi
else
    echo "ERROR: $TBB_LIB_NAME library does not exist in $TBBROOT/lib/$TBB_LIB_DIR."
    return 2
fi

I don't know how 'vars.sh' inserted itself into $TBBROOT. This could be a fluke in the system.

I will try again when the beta 9 comes out. For now, this is just a minor inconvenience that can be fixed by manually setting the paths. Unless you can find issue with the script, I suggest closing the issue for now. What do you think ?

0 Kudos
PrasanthD_intel
Moderator
1,408 Views

Hi Viet,


Yes, you can raise a new thread if you get the same issue in beta9.

But we want to debug more on why this issue occurred, could you please provide the environment details of your system like OS, GCC version, BASH version ,are you using Devcloud? etc.

This will help us in identifying the corner case we have missed.


Thanks

Prasanth


0 Kudos
Viet-Duc
Novice
1,398 Views

[installation]

I installed on our cluster as following:

$ ./l_BaseKit_b_2021.1.8.1970.sh -a --cli

 There was only a warning regarding Intel OpenCL runtimes during installation.

[OS info]

$ cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)

 [bash version]

$ bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)

 [gcc version]

$ export PATH=/scratch/optpar01/apps/oneAPI/2021.1.8/compiler/2021.1-beta08/linux/bin:$PATH
$ export LD_LIBRARY_PATH=/scratch/optpar01/apps/oneAPI/2021.1.8/compiler/2021.1-beta08/linux/compiler/lib/intel64:$LD_LIBRARY_PATH
$ dpcpp -v
Intel(R) oneAPI DPC++ Compiler 2021.1-beta08 (2020.7.0.0715)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /scratch/optpar01/apps/oneAPI/2021.1.8/compiler/2021.1-beta08/linux/bin
Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/4.8.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5

I had to set the path manually and dpcpp is running with a 4.8.5 compatibility mode. I hope it can help identify the issue.

Thanks,

Viet-Duc

0 Kudos
PrasanthD_intel
Moderator
1,364 Views

Hi Viet,


Thanks for providing the details we have asked for.

We have raised this issue internally. We are closing this thread for now.

Please raise a new thread if you face the same issue with beta09 as we have discussed.

Any further interaction in this thread will be considered community only


Regards

Prasanth


0 Kudos
Reply