Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Running CPLEX in HPC from a Bash File

    Posted 03/30/21 12:18 PM

    I am trying to run an OPL file (CPLEX) from a script in an HPC.

    Without the bash file, if go to the directory:

    /home/mydir/opl/bin/x86-64_linux/

    and execute

    ./oplrun "/home/mydir/filedir/file.mod" "/home/mydir/filedir/datafile.dat"

    my code is executed with no problem.

    However, If I try and run the following file MyCPLEX.sh from the same directory

    #!/bin/bash

    #$ -l rmem=48G

    #$ -l mem=48G

    #$ -cwd

    ./oplrun "/home/mydir/filedir/file.mod" "/home/mydir/filedir/datafile.dat"

    I get the message:

    ./oplrun: error while loading shared libraries: libicuuc.so.55: cannot open shared object file: No such file or directory

    I have tried different versions of the sh file, but nothing seems to work.

    Any help will be appreciated,

    Diego






    #DecisionOptimization
    #Support
    #SupportMigration


  • 2.  RE: Running CPLEX in HPC from a Bash File

    Posted 04/02/21 07:02 PM

    You might be missing updating the opl bin path in LD_LIBRARY_PATH.

    If you need further discussion, please open a case if you are entitled. Otherwise, please discuss your question in Data Science Community https://community.ibm.com/community/user/datascience/communities/community-home/digestviewer?communitykey=ab7de0fd-6f43-47a9-8261-33578a231bb7&tab=digestviewer






    #DecisionOptimization
    #Support
    #SupportMigration