Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

cplex_studio125.solaris-sparc installation on solaris issue

  • 1.  cplex_studio125.solaris-sparc installation on solaris issue

    Posted Tue December 30, 2014 08:22 PM

    Originally posted by: John Cui


    Dear all,

    Does anybody used COS on solaris?

    After I installed COS on solaris, and used below commands to build/run carseq, while failed. The fail message is below as well.

    # javac -cp cplex/opl/lib/oplall.jar  cplex/opl/examples/opl_interfaces/java/carseq/src/carseq/Carseq.java

    # jar cvf Carseq.jar ./carseq/*.class     

    # java -cp cplex/opl/lib/oplall.jar:./Carseq.jar carseq.Carseq

     

    OPL - Development Mode. Use IloOplFactory.setDebugMode(false) to switch to production mode.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: swig_module_init
          at ilog.opl.opl_lang_wrapJNI.swig_module_init(Native Method)
          at ilog.opl.opl_lang_wrapJNI.<clinit>(opl_lang_wrapJNI.java:1233)
          at ilog.opl.IloOplErrorHandler.<init>(IloOplErrorHandler.java:92)

     

    Did anybody know what happened?

    And also, in the install directory, I didn't find the "run.bat" like  file as windows has.

    Thanks!


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: cplex_studio125.solaris-sparc installation on solaris issue

    Posted Mon January 05, 2015 05:12 AM

    hi

    have you had a look at

    IDE and OPL > Starting Kit > Working Environment > Supported platforms

    in documentation ?

    Solaris UltraSPARC

    • Set the environment variable LD_LIBRARY_PATH to point to the 32-bit or 64-bit dynamic libraries of the CPLEX Studio distribution.

      <Install_dir>/opl/bin/ultrasparc32_solaris

      <Install_dir>/opl/bin/ultrasparc64_solaris

    • Set the PRELOAD environment variable for 32-bit or 64-bit mode.

      LD_PRELOAD_32 with a list of 32-bit libraries (/usr/lib/32/libCstd.so.1:/usr/lib/32/libc.so:/usr/lib/32/libmalloc.so.1)

      LD_PRELOAD_64 with a list of 64-bit libraries (/usr/lib/sparcv9/libCstd.so.1:/usr/lib/sparcv9/libc.so:/usr/lib/sparcv9/libmalloc.so.1)

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: cplex_studio125.solaris-sparc installation on solaris issue

    Posted Wed January 07, 2015 03:35 AM

    Originally posted by: John Cui


    problem resolved by below tech note:

     

    http://www-01.ibm.com/support/docview.wss?uid=swg21609827

     

    Thanks Alex


    #DecisionOptimization
    #OPLusingCPLEXOptimizer