This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hardware:flexbuff [2018/07/02 02:13] Warren Hankey |
hardware:flexbuff [2018/07/25 04:20] 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 openmpi-bin rpcbind ethtool libpng-dev libx11-dev mlocate bc dnsutils rsync'' |
* 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 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-3.18/hops.bash | ||
+ | * export PGPLOT_DEV="/xs" | ||
+ | * export HOPS_STATION_CODE=/home/observer/hops_station_code.txt | ||
+ | * export DEF_CONTROL=~/cf_def | ||
+ |