Software gurobi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
** You need the 64-bit Linux version. | ** You need the 64-bit Linux version. | ||
* Unpack the tarball: | * Unpack the tarball in your home directory: | ||
cd | cd $HOME | ||
tar zxf | tar zxf gurobi6.5.2_linux64.tar.gz | ||
* Set a few environment variables (change " | * Set a few environment variables (change "652" to reflect the actual version you downloaded): | ||
export GUROBI_HOME=${HOME}/ | export GUROBI_HOME=${HOME}/gurobi652/linux64 | ||
export PATH="${PATH}:${ | export PATH="${PATH}:${GUROBI_HOME}/bin" | ||
export | export LD_LIBRARY_PATH="${GUROBI_HOME}/lib" | ||
(You might want to put these command in your ~/.bashrc, lest you must type them every time you want to use gurobi.) | (You might want to put these command in your ~/.bashrc, lest you must type them every time you want to use gurobi.) | ||
Latest revision as of 16:20, 3 October 2016
Gurobi Seems to be software that needs the user to be able to write in system directories. This makes it unsuitable for distribution by the LWP admins, but you can still install it in your home directory...
- Get a license if you don't already have one.
- Fetch the software from the download page.
- You need the 64-bit Linux version.
- Unpack the tarball in your home directory:
cd $HOME tar zxf gurobi6.5.2_linux64.tar.gz
- Set a few environment variables (change "652" to reflect the actual version you downloaded):
export GUROBI_HOME=${HOME}/gurobi652/linux64 export PATH="${PATH}:${GUROBI_HOME}/bin" export LD_LIBRARY_PATH="${GUROBI_HOME}/lib"
(You might want to put these command in your ~/.bashrc, lest you must type them every time you want to use gurobi.)
- Enable your license as explained on the license page:
grbgetkey substitute-your-own-key-here
- Start using gurobi:
gurobi.sh
Due to the license construction, you must repeat the "grbgetkey" command on every computer you wish to run Gurobi on.
Running gurobi from your home directory is somewhat slower than running it from disk, or even /opt/netapps.
You may wish to install it in /mnt/D instead of ${HOME} to gain speed.
The consequence of that is that you also have to install it on every machine you use.