Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  installing cplex

    Posted 07/15/11 02:28 PM

    Originally posted by: alexshu


    Hi,
    I downloaded cplex_studio122.prev.linux-x86.bin ,

    and I want to install it.

    What are the steps ?

    Thanks
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: installing cplex

    Posted 07/15/11 07:54 PM

    Originally posted by: SystemAdmin


    Open a terminal where the bin file is. Make sure it is executable; I don't think it downloads that way, so you'll need to run 'chmod +x ___' where _ is the file name (I'm too lazy to type it). Then run './___' (file name again) and follow the directions.

    Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: installing cplex

    Posted 07/16/11 03:11 AM

    Originally posted by: alexshu


    this is what I did and got :
    @ubuntu:~/Desktop$ ./cplex_studio122.prev.linux-x86.bin
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    strings: '/lib/libc.so.6': No such file

    Launching installer...

    exec: 2470: /tmp/install.dir.1790/Linux/resource/jre/jre/bin/java: not found

    what's the problem ?
    thanks
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: installing cplex

    Posted 07/16/11 05:40 PM

    Originally posted by: SystemAdmin


    > alexshu wrote:
    > this is what I did and got :
    >
    >
    > @ubuntu:~/Desktop$ ./cplex_studio122.prev.linux-x86.bin
    > Preparing to install...
    > Extracting the JRE from the installer archive...
    > Unpacking the JRE...
    > Extracting the installation resources from the installer archive...
    > Configuring the installer for this system's environment...
    > strings: '/lib/libc.so.6': No such file

    I'm not sure what's up with this, but I don't have that file on my system, so apparently it's not necessary for installing CPLEX. I do have libc.so installed (in /usr/lib/i386-linux-gnu); not sure if that subs for libc.so.6 or not.
    >
    > Launching installer...
    >
    > exec: 2470: /tmp/install.dir.1790/Linux/resource/jre/jre/bin/java: not found
    >
    > what's the problem ?
    > thanks

    I've seen one or two other reports of Java failing to run (or failing to run the installer), but I don't recall seeing any definitive explanation, and I've never encountered it myself. Do you have the Sun Java package installed as your default Java VM? I always install it first thing (because I use a few programs that really do not like the GNU Java that ships with Ubuntu); it could be that helps. Right now I've got OpenJDK and Sun Java installed, and I'm not sure if OpenJDK would work with the CPLEX installer (it might, but I don't think I've tried it).

    If you're not sure which Java you're using, open a terminal, run 'java -version', and see what it says. If you're not running the Sun version, it might be worth a try. Use Synaptic Package Manager to install the sun-java6-jre if it's not already installed. If it's installed, run 'sudo update-alternatives --config java' in a terminal to select Sun as the default Java VM.

    The error message seems to be saying that the IBM installer thinks it installed a JVM in /tmp but couldn't find it when the time came to use it. I'm not sure if it does that regardless of what JVM(s) you have installed, or if it only does it when it can't find a Java it likes on your command path.

    Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: installing cplex

    Posted 07/18/11 06:03 AM

    Originally posted by: SystemAdmin


    Hello

    This error occurs because the CPLEX Optimization Studio installer is itself a 32-bit binary using 32-bit binaries, which may cause problems on a 64-bit machine. It needs 32-bit libraries installed.
    On an Ubuntu 64-bit Linux machine, to work around this issue, install the package "ia32-libs" from your Linux distribution:

    apt-get install ia32-libs

    http://www.debian-administration.org/articles/531

    --
    Christophe
    #CPLEXOptimizers
    #DecisionOptimization