Cortex/Archive: Difference between revisions
Jump to navigation
Jump to search
(link back to main Cortex page) |
|||
Line 4: | Line 4: | ||
== User repositories == | == User repositories == | ||
you should add <iCub>/bin to your PATH by editing your ~/.bashrc like this: | |||
PATH=$PATH:~/iCub/bin/ | |||
ICUB_DIR=~/iCub/ <-- needs to change | |||
export ICUB_DIR | |||
ICUB_ROOT=$ICUB_DIR | |||
export ICUB_ROOT | |||
You should also edit ~/.bash_env adding these lines: | |||
export ICUB_DIR=$HOME/iCub <-- needs to change | |||
export ICUB_ROOT=$ICUB_DIR | |||
this is needed when you connect non-interactively via ssh to a Cortex computer, for instance when execute a "yarp run ..." on a Cortex, from Chico2. | |||
Be aware that Ubuntu 7.10 (the version currently installed on the cluster) has a conflict with iKin, specifically with iCub/conf/FindIPOPT.cmake (used by iKin): for now, in order to compile iKin, change the following line of FindIPOPT.cmake from | |||
SET(IPOPT_LIB ${IPOPT_LIB} gfortranbegin gfortran) | |||
to | |||
SET(IPOPT_LIB ${IPOPT_LIB} gfortran) |
Revision as of 16:07, 19 November 2010
Note: these methods are obsolete and kept here for historic reference only. Most probably, you may ignore this page and go back to Cortex.
Additional setup
User repositories
you should add <iCub>/bin to your PATH by editing your ~/.bashrc like this:
PATH=$PATH:~/iCub/bin/ ICUB_DIR=~/iCub/ <-- needs to change export ICUB_DIR ICUB_ROOT=$ICUB_DIR export ICUB_ROOT
You should also edit ~/.bash_env adding these lines:
export ICUB_DIR=$HOME/iCub <-- needs to change export ICUB_ROOT=$ICUB_DIR
this is needed when you connect non-interactively via ssh to a Cortex computer, for instance when execute a "yarp run ..." on a Cortex, from Chico2.
Be aware that Ubuntu 7.10 (the version currently installed on the cluster) has a conflict with iKin, specifically with iCub/conf/FindIPOPT.cmake (used by iKin): for now, in order to compile iKin, change the following line of FindIPOPT.cmake from
SET(IPOPT_LIB ${IPOPT_LIB} gfortranbegin gfortran)
to
SET(IPOPT_LIB ${IPOPT_LIB} gfortran)