38,760
edits
No edit summary |
(Updating to match new version of source page) |
||
Line 73: | Line 73: | ||
<!--T:16--> | <!--T:16--> | ||
prepend-path -d " " CPATH_EXPANDED -I$cplexroot/include | prepend-path -d " " CPATH_EXPANDED -I$cplexroot/include | ||
prepend-path | prepend-path -d " " CPATH_EXPANDED -I$concertroot/include | ||
prepend-path -d " " CPATH_EXPANDED -I$oplroot/include | prepend-path -d " " CPATH_EXPANDED -I$oplroot/include | ||
prepend-path -d " " CPATH_EXPANDED -I$cpoptimizerroot/include | prepend-path -d " " CPATH_EXPANDED -I$cpoptimizerroot/include | ||
Line 86: | Line 86: | ||
<!--T:18--> | <!--T:18--> | ||
prepend-path -d " " LIBRARY_PATH_EXPANDED -L$cplexroot/lib/$cplexlib | prepend-path -d " " LIBRARY_PATH_EXPANDED -L$cplexroot/lib/$cplexlib | ||
prepend-path | prepend-path -d " " LIBRARY_PATH_EXPANDED -L$concertroot/lib/$concertlib | ||
prepend-path -d " " LIBRARY_PATH_EXPANDED -L$oplroot/lib/$opllib | prepend-path -d " " LIBRARY_PATH_EXPANDED -L$oplroot/lib/$opllib | ||
prepend-path -d " " LIBRARY_PATH_EXPANDED -L$oplroot/bin/x86-64_linux/ | prepend-path -d " " LIBRARY_PATH_EXPANDED -L$oplroot/bin/x86-64_linux/ | ||
Line 98: | Line 98: | ||
prepend-path CLASSPATH $cplexroot/lib/cplex.jar | prepend-path CLASSPATH $cplexroot/lib/cplex.jar | ||
prepend-path MATLABPATH $cplexroot/matlab | prepend-path MATLABPATH $cplexroot/matlab | ||
prepend-path STUDIO_ROOT $studio_root | |||
<!--T:21--> | <!--T:21--> | ||
}} | }} | ||
Line 121: | Line 121: | ||
To install the CPLEX Python modules like <tt>docplex</tt>, we suggest that you use a [[Python#Creating_and_using_a_virtual_environment | virtual environment]]. | To install the CPLEX Python modules like <tt>docplex</tt>, we suggest that you use a [[Python#Creating_and_using_a_virtual_environment | virtual environment]]. | ||
<div class="mw-translate-fuzzy"> | |||
Once the virtual environment has been activated, you can install the module using the command: | Once the virtual environment has been activated, you can install the module using the command: | ||
{{Command|prompt=(ENV) [name@server ~]|pip install docplex}} | {{Command|prompt=(ENV) [name@server ~]|pip install docplex}} | ||
The installation of these Python modules must be done on the login node because they are not available in our [[Available_Python_wheels | software stack]]. | The installation of these Python modules must be done on the login node because they are not available in our [[Available_Python_wheels | software stack]]. | ||
</div> |