I have installed Parallel Studios successfully and am trying to link Intel compilers to R, however I cannot get that far because I am first having issues with DAAL. When I start my system, it seems that the DAAL examples are all being run via:
From the error messages I am receiving (one for each of the ~160 examples!), I see the `daal` module is not able to be imported when running the examples. This is because the script is being run with the system Python3, so no DAAL or MKL etc is available to it. Here is the bug report, where I have marked the parts I found useful:
- why is this script even being run at startup?
- how can I prevent it from being run?
- What other options do I have, apart from uninstalling everything?
I thought I might try a work around and simply set my PATH so that the Intel Python Distribution is the first found. I did this, so `echo $PATH` shows that folder first. This didn't work though, the error messages still show the Ubuntu system Python being used for the DAAL examples.
I have included the setup file from Parallel Studios in my start-up script, i.e. i have a file "intel.sh" in `/etc/profile.d/`, which is run at start-up via the file `/etc/profile`. This `intel.sh` script simply contains:
I have also tried running the explicit `daalvars.sh` file in my startup bash, but that didn't change anything. It just meant environment variables were defined twice.
I am running Ubuntu 16.04. Here are the places where DAAL is found in my environment:
n1k31t4@n1k31t4:~$ env | grep daal | tr \: \\n LIBRARY_PATH=/opt/intel/compilers_and_libraries_2017.3.191/linux/ipp/lib/intel64 /opt/intel/compilers_and_libraries_2017.3.191/linux/compiler/lib/intel64_lin /opt/intel/compilers_and_libraries_2017.3.191/linux/mkl/lib/intel64_lin /opt/intel/compilers_and_libraries_2017.3.191/linux/tbb/lib/intel64/gcc4.7 /opt/intel/compilers_and_libraries_2017.3.191/linux/daal/lib/intel64_lin /opt/intel/compilers_and_libraries_2017.3.191/linux/daal/../tbb/lib/intel64_lin/gcc4.4 CPATH=/opt/intel/compilers_and_libraries_2017.3.191/linux/ipp/include /opt/intel/compilers_and_libraries_2017.3.191/linux/mkl/include /opt/intel/compilers_and_libraries_2017.3.191/linux/tbb/include /opt/intel/compilers_and_libraries_2017.3.191/linux/daal/include DAALROOT=/opt/intel/compilers_and_libraries_2017.3.191/linux/daal CLASSPATH=/opt/intel/compilers_and_libraries_2017.3.191/linux/mpi/intel64/lib/mpi.jar /opt/intel/compilers_and_libraries_2017.3.191/linux/daal/lib/daal.jar