Decision Optimization

 View Only
  • 1.  Problem with Cplex Studio IDE on new MacBook M1 (Apple Silicon)

    Posted Mon March 08, 2021 03:04 AM

    So I got the new MacBook Air M1, downloaded and installed the latest Cplex Studio V20.1.  Following a recommendation from the IBM helpdesk, I also defined the environment variable DYLD_LIBRARY_PATH to point to the OPL's binaries folder by adding

    export DYLD_LIBRARY_PATH=/Applications/CPLEX_Studio201/opl/bin/x86-64_osx

    to .zshrc

    I can run now oplrun from the command line, but when launching the IDE, I get a cryptic error message:

    "An error occurred. See the log file  /Applications/CPLEX_Studio201/opl/oplide/Oplide.app/Contents/Eclipse/configuration/1615133814643.log". The log file is attached.

    Obviously, this is an Intel CPU version, and I don't expect it to run fast on M1 with Rosseta 2, but is there any workaround to get it working?

    Between while, any information about the M1 version will be released? 



    ------------------------------
    Tal Raviv
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Problem with Cplex Studio IDE on new MacBook M1 (Apple Silicon)

    Posted Mon March 08, 2021 04:49 AM
    As the error seems to be in the "Open workspace"dialog, you may try to launch the IDE in command-line, with an option to use a workspace :
    cd Applications/<COSVERSION>/opl/oplide/Oplide.app/Contents/MacOS
    ./oplide -data <workspacedirectory>

    It should bypass the dialog and may get you further running the IDE.

    ------------------------------
    Frederic Delhoume
    ------------------------------



  • 3.  RE: Problem with Cplex Studio IDE on new MacBook M1 (Apple Silicon)

    Posted Mon March 08, 2021 06:43 AM

    Thanks for the answer.   

    It does open the IDE application and pops up an IBM login screen.  After entering my e-mail and password, it gets stuck.   If I close the login window, I can see the main IDE screen and menu, but none of the menu or toolbar option responds.  Except for quit.

    Any idea?


     



    ------------------------------
    Tal Raviv
    ------------------------------



  • 4.  RE: Problem with Cplex Studio IDE on new MacBook M1 (Apple Silicon)

    Posted Mon March 08, 2021 07:52 AM
    To get rid of the IBM login screen, you can choose not to allow information to be sent at install time (in the installer), or
    delete the file <COSDIR>/Uninstall/anonymousId

    As I do not have a M1 machine, I cannot help further(nor reproduce) for now. Maybe there is something in the log ?

    ------------------------------
    Frederic Delhoume
    ------------------------------