none
Install MRO and MKL in an Alternative Directory on Linux RRS feed

  • Question

  • Hi, is there a way to install MRO and MKL into an alternative directory such as /opt under linux.  I could compile the source and set "--prefix=/opt/R-3.2.3", but I'm not sure how that would affect the licensing of MKL.

    Thanks

    Monday, April 18, 2016 4:48 PM

Answers

  • Thanks for the answer, unfortunately the answer does not allow for arbitrary directories.

    The solution I came up with at least for SLES 11 was to use,

    rpm -ivh --prefix=/opt MRO-3.2.3-SLES11.x86_64.rpm

    and

    rpm -ivh --prefix=/opt MRO-3.2.4-SLES11.x86_64.rpm

    Then I commented out lines 88 and 98 in each RevoMath.sh for the version specific MKL binaries to force setting R_PATH, and edited line 90 and 96 in the RevoMath.sh to install MKL into the correct directory.  In these edited lines I replaced /usr/lib64 with /opt.

    So now everything is running perfectly in /opt.

    Thanks


    • Edited by Jonathan Lisic Wednesday, April 20, 2016 4:49 AM Forgot to add a comment
    • Marked as answer by Jonathan Lisic Thursday, April 21, 2016 10:14 AM
    Wednesday, April 20, 2016 4:47 AM

All replies

  • Yes, you can install side-by-side on Linux.  See the instructions at https://mran.microsoft.com/documents/rro/installation/#revorinst-lin


    Tuesday, April 19, 2016 1:04 PM
  • Thanks for the answer, unfortunately the answer does not allow for arbitrary directories.

    The solution I came up with at least for SLES 11 was to use,

    rpm -ivh --prefix=/opt MRO-3.2.3-SLES11.x86_64.rpm

    and

    rpm -ivh --prefix=/opt MRO-3.2.4-SLES11.x86_64.rpm

    Then I commented out lines 88 and 98 in each RevoMath.sh for the version specific MKL binaries to force setting R_PATH, and edited line 90 and 96 in the RevoMath.sh to install MKL into the correct directory.  In these edited lines I replaced /usr/lib64 with /opt.

    So now everything is running perfectly in /opt.

    Thanks


    • Edited by Jonathan Lisic Wednesday, April 20, 2016 4:49 AM Forgot to add a comment
    • Marked as answer by Jonathan Lisic Thursday, April 21, 2016 10:14 AM
    Wednesday, April 20, 2016 4:47 AM