User Tools

Site Tools


hardware:flexbuff

This wiki is not maintained! Do not use this when setting up AuScope experiments!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardware:flexbuff [2018/07/02 02:13]
Warren Hankey
hardware:flexbuff [2019/05/22 00:52] (current)
Warren Hankey [2018 Version]
Line 8: Line 8:
   * When installing debian (stretch), if you need to create a new partition table for the OS disks do not use GPT - this (when combined with RAID) is incompatible with setting the bootable flag and/or installing grub. Use a DOS partition table, mark as for linux RAID & bootable, install the OS to the software RAID and install grub to one or both SSDs.    * When installing debian (stretch), if you need to create a new partition table for the OS disks do not use GPT - this (when combined with RAID) is incompatible with setting the bootable flag and/or installing grub. Use a DOS partition table, mark as for linux RAID & bootable, install the OS to the software RAID and install grub to one or both SSDs. 
   * In the main BIOS, make sure that the HDD boot priority is set to use the SSDs rather than the megaRAID drives. ​   * In the main BIOS, make sure that the HDD boot priority is set to use the SSDs rather than the megaRAID drives. ​
-  * After installing debian, edit /​etc/​apt/​sources.list to use "main contrib non-free"​ sources throughout. Run ''​apt-get update''​ and then ''​apt-get install libfuse-dev emacs nfs-kernel-server tightvncserver libfftw3-dev python iftop iotop wireshark make automake build-essential gfortran x11vnc nfs-kernel-server nfs-common gparted ​ pkg-config g++ gfortran bison flex libexpat1-dev fftw3-dev autoconf automake libtool build-essential pgplot5 subversion libopenmpi-dev openmpi-bin rpcbind ethtool libpng-dev libx11-dev mlocate bc ''​+  * After installing debian, edit /​etc/​apt/​sources.list to use "main contrib non-free"​ sources throughout. Run ''​apt-get update''​ and then ''​apt-get install libfuse-dev emacs nfs-kernel-server tightvncserver libfftw3-dev python iftop iotop wireshark make automake build-essential gfortran x11vnc nfs-kernel-server nfs-common gparted ​ntp ntpdate ​pkg-config g++ gfortran bison flex libexpat1-dev fftw3-dev autoconf automake libtool build-essential pgplot5 subversion libopenmpi-dev ​gv openmpi-bin rpcbind ethtool libpng-dev libx11-dev mlocate bc dnsutils rsync xfsprogs ghostscript-x libgsl0-dev''​
   * This should build in the pre-requisites for DiFX, fourfit, jive5ab, etc.    * This should build in the pre-requisites for DiFX, fourfit, jive5ab, etc. 
  
Line 21: Line 21:
 net.ipv4.conf.all.arp_filter = 1 net.ipv4.conf.all.arp_filter = 1
 net.core.netdev_max_backlog = 20971752 net.core.netdev_max_backlog = 20971752
-net.ipv4.udp_mem = "65536 131072 262144"+net.ipv4.udp_mem = 65536 131072 262144
 net.core.optmem_max = 50331648 ​ net.core.optmem_max = 50331648 ​
 vfs_cache_pressure = 50 vfs_cache_pressure = 50
Line 36: Line 36:
   * NB - in Debian 9, the libpng12-dev package has been removed while HOPS explicitly links against it. You can work around this by editing the configure script and changing all references to ''​-lpng12''​ to ''​-lpng''​. Then you should be able to configure & build the software with ''​./​configure ; make''​   * NB - in Debian 9, the libpng12-dev package has been removed while HOPS explicitly links against it. You can work around this by editing the configure script and changing all references to ''​-lpng12''​ to ''​-lpng''​. Then you should be able to configure & build the software with ''​./​configure ; make''​
   * If all goes well, then use ''​make install''​ as su and then run ''​make check''​   * If all goes well, then use ''​make install''​ as su and then run ''​make check''​
 +
 +  * Lastly, edit the ''​~/​.bashrc''​ file to fix some issues and to link the newly installed programs. ​
 +    * Comment out the "If not running interactively"​ logic - this interferes with openmpi
 +    * export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/​usr/​local/​lib/​
 +    * . ~/​DiFX-2.5.2/​setup.bash
 +    * export CALCDB=/​home/​observer/​DiFX-2.5.2/​applications/​calcserver/​trunk/​calc9.1
 +    * export PATH=${DIFXROOT}/​bin:​${PATH}
 +    * export HOPS_QUIET=1
 +    * . HOPS/​hops-3.18/​hops.bash
 +    * export PGPLOT_DEV="/​xs"​
 +    * export HOPS_STATION_CODE=/​home/​observer/​hops_station_code.txt
 +    * export DEF_CONTROL=~/​cf_def
 +
/home/www/auscope/opswiki/data/attic/hardware/flexbuff.1530497590.txt.gz · Last modified: 2018/07/02 02:13 by Warren Hankey