Cortex: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
(IP address)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Cortex is a server used by VisLab for '''development''' purposes (by contrast, the [[iCubBrain server configuration | iCubBrain]] servers are used for demos).
Cortex is a server used by VisLab for running simulations (not the ones with the iCub robot).


''Old information can be consulted at [[Cortex/Archive]].''
''Old information can be consulted at [[Cortex/Archive]].''
Line 5: Line 5:
= Specifications =
= Specifications =


Since summer 2012, there is one machine (cortex1) with these specs:
As of 2017, there is one machine (cortex1) with these specs:
* 8 x [http://ark.intel.com/products/65523/Intel-Core-i7-3770K-Processor-(8M-Cache-up-to-3_90-GHz) i7-3770K] @ 3.50GHz processor
* 8 x [http://ark.intel.com/products/65523/Intel-Core-i7-3770K-Processor-(8M-Cache-up-to-3_90-GHz) i7-3770K] @ 3.50GHz processor
* 16GB of memory (<code>sudo dmidecode --type 17</code> to see RAM speed and type)
* 16GB of memory (<code>sudo dmidecode --type 17</code> to see RAM speed and type)
* 112GB SSD drive
* 112GB SSD drive + 1TB HDD drive
* NVidia [http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-670 GeForce GTX 670] graphics card (CUDA)
* NVidia [http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-670 GeForce GTX 670] graphics card (CUDA)
 
* internal ISR IP address: 10.10.1.1
= Operating system installation =
 
In general, follow the guidelines at [[VisLab machines configuration]]. Below are some special notes.
 
= Additional software =
 
On this cluster, each user should manage his own yarp and iCub repositories. As a result, '''do not''' use system-wide installation of those (<strike><code>sudo make install</code></strike>): instead, simply use <code>make</code> and set your environment variables.
 
== YARP and iCub ==
 
The yarp and iCub repositories are installed for user 'icub', similarly to [[iCubBrain server configuration]].
 
= Customization =
 
== Network tuning ==
 
  sysctl -w net.core.rmem_max=8388608
  sysctl -w net.core.wmem_max=8388608
  sysctl -w net.core.rmem_default=65536
  sysctl -w net.core.wmem_default=65536
  sysctl -w net.ipv4.tcp_rmem='4096 87380 8388608'
  sysctl -w net.ipv4.tcp_wmem='4096 65536 8388608'
  sysctl -w net.ipv4.tcp_mem='8388608 8388608 8388608'
  sysctl -w net.ipv4.route.flush=1
 
== Prompt ($PS1) ==
 
The prompt is set to <code>user@cortex?:pwd$</code> in <code>/etc/bash.bashrc</code>. With those settings, if you log in to Cortex1, the prompt will be <code>user@cortex1:~$</code>.
We chose to do so because sometimes it's convenient to have the number of the Cortex machine you're working on embedded in the prompt.
By default, though, this configuration is overridden in the users' <code>~/.bashrc</code> file, and the prompt is set to <code>user@source</code> regardless of the Cortex machine you log in to.<br>
If you want to inhibit this behaviour in <code>~/.bashrc</code> and thus have a prompt like <code>user@cortex?:pwd</code>, just comment these lines in your <code>~/.bashrc</code>:
  # set a fancy prompt (non-color, unless we know we "want" color)
  case "$TERM" in
  xterm-color)
      PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
      ;;
  *)
      PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
      ;;
  esac
However, for users created after 2009-05-07, the prompt is already set to <code>user@cortex?:pwd$</code> by default.
 
== Mounting network folders  ==
 
The folder "database" on BlackHole is mounted automatically to /media/blackhole. See /etc/fstab for details.


[[Category:Vislab]]
[[Category:Vislab]]

Latest revision as of 13:59, 26 January 2018

Cortex is a server used by VisLab for running simulations (not the ones with the iCub robot).

Old information can be consulted at Cortex/Archive.

Specifications

As of 2017, there is one machine (cortex1) with these specs:

  • 8 x i7-3770K @ 3.50GHz processor
  • 16GB of memory (sudo dmidecode --type 17 to see RAM speed and type)
  • 112GB SSD drive + 1TB HDD drive
  • NVidia GeForce GTX 670 graphics card (CUDA)
  • internal ISR IP address: 10.10.1.1