Search This Blog

Monday, February 18, 2013

customized .bst file


/usr/share/texmf-texlive/bibtex/bst/natbib/

there are many .bst files, which one can modify.

After type/enter

$ texhash





Thursday, February 14, 2013

How to install Openmpi using ifort and icc





$ ./configure --with-tm=/usr/include/torque/  --prefix=/opt/openmpi-1.6.3-intel-pbs CC=icc   CXX=icpc   F77=ifort    FC=ifort

$ make all install

openssh reinstallation

sudo apt-get remove --purge openssh-server 
sudo apt-get install openssh-server

resolve memtest86+ (4.20-1.1ubuntu1) hangs

Quick workaround:
Append the following to /etc/default/grub:

GRUB_DISABLE_OS_PROBER=true

Run 
$ sudo update-grub2

This will disable os-prober so grub doesn't see the other disks (this way it won't fail with an error).
Run sudo dpkg --configure -a to complete the configuration (should be successful this time).
The side-effect of this workaround is that you will loose all other boot entries in GRUB, so if you have a Windows dual boot or other distro's, you should remove or comment the line in /etc/default/grub and then run sudo update-grub2 once more to fully populate the GRUB menu.

How to resolve “Could not get lock /var/lib/dpkg/lock” problem.

Delete two "lock" files.

sudo rm /var/lib/dpkg/lock

sudo rm /var/cache/apt/archives/lock

Saturday, January 26, 2013

How to install netcdf on Ubuntu



 apt-get install netcdf-bin  nco netcdf-doc libnetcdf-dev  libnetcdf6

Saturday, January 7, 2012

how to see Ubuntu OS version


lsb_release -a

To release-upgrade:


sudo do-release-upgrade -d

Labels