All posts by admin

INSTALL NVIDIA DRIVER ON SUN

download cuda driver from NVIDIA website.http://www.nvidia.com/Download/index.aspx?lang=en-us
yum install kernel-devel kernel-headers gcc make(if needed)
edit /boot/grub2/grub.cfg, add  rdblacklist=nouveau at the end of vmlinuz-3.xx.........
reboot
init 3
./cuda.......run

yum -y update
yum -y groupinstall “GNOME Desktop” “Development Tools”
yum -y install kernel-devel
Edit /etc/default/grub. Add “rd.driver.blacklist=nouveau nouveau.modeset=0″ to “GRUB_CMDLINE_LINUX”
grub2-mkconfig -o /boot/grub2/grub.cfg
List available kernels: awk -F\’ ‘$1==”menuentry ” {print $2}’ /etc/grub2.cfg
Use grub2-set-default to set the updated kernel to the default. The kernels are enumerated starting at 0
Reboot
Download the appropriate Nvidia driver for your card
Switch from graphical to text mode: systemctl isolate multi-user.target
Run the Nvidia driver installer
Remove the nouveau driver: yum remove xorg-x11-drv-nouveau
Backup old the old initramfs: mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
Create new initramfs: dracut /boot/initramfs-$(uname -r).img $(uname -r)
Reboot

To install ELRepo for RHEL-7, SL-7 or CentOS-7:
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
To install Repoforge
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

NEXT is the procedure on CentOS 6

Installing Nvidia Driver on CentOS 6 PDF Print
Written by Sargis Dallakyan
20 Comments
This post explains how to install NVIDIA proprietary drivers on CentOS 6. By default, CentOS 6 comes with nouveau drivers, which for 3D (OpenGL) rendering, is order of magnitude slower that NVIDIA's proprietary drivers. For instance, I had glxgear running at round 400 frames per second (FPS) before installing NVIDIA proprietary drivers and at around 1000 FPS after. So it pays to add this extra step to your CentOS 6 installation. Before we start, make sure you have all required packages installed:
yum groupinstall "Development Tools"
yum install kernel-devel kernel-headers dkms
The last package (dkms) is needed so that we don't have to reinstall NVIDIA drivers after each kernel updates. Now we are ready to download NVIDIA proprietary drivers - http://www.nvidia.com/Download/index.aspx
To find out your Video Card model number, click Main Menu → System Settings → Display or run:
lspci | grep VGA
I then run /sbin/init 3 and then chmod +x NVIDIA-Linux-x86-290.10.run followed by ./NVIDIA-Linux-x86-290.10.run. However, this gave me:
"ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver."
After trying many different options I have found a solution described at http://www.linuxquestions.org/questions/ubuntu-63/nouveau-kernel-driver-825432.
So I added the following line to /etc/modprobe.d/blacklist.conf file
blacklist nouveau
and then did:
$ mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
$ dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
Reboot and run ./NVIDIA-Linux-x86-290.10.run to finish installing NVIDIA driver.
Another difference, between CentOS 6 and earlier versions of CentoOS is that system-config-packages (Add/remove applications) is now called gpk-application. You need to run yum install gnome-packagekit if gpk-application is not installed in your system. Also, if you are planning to do OpenGL development run (source: www.centos.org - Forums - CentOS 6 - Software Support - Help me ..):
yum install mesa-libGL-devel mesa-libGLU-devel

install sun with centos 7

The hard drive is 147 SAS and 500G sata, I create a volume on these two.
change hostname:
edit /etc/hostname, but after this the computer need to be reboot to take effect.
cd c37a2/, ./install.com gnu huge
edit /etc/hosts
add sun to the end of 127.0.0.1 ........ sun
mmtsb:
./install.sh
tcl/tk:
download from www.tcl.tk/software/tcltk/download.html
cd ./unix
./configure --enable-threads
make
make test
make install
tk:yum install libX11-devel(if show couldn't find X11/Xlib.h)
nedcdf
download the latest version from www.unidata.ucar.edu/downloads/netcdf/index.jsp
If you don't want netCDF-4/HDF5, then build like this:
./configure --disable-netcdf-4
make check install(need root or sudo)
yum install mesa-libGLw.x86_64 mesa-libGL-devel.x86_64

vmd
make veryclean(not make clean)
intel c compiler
yum install libstdc++ (something like this)
FLTK
yum install fltk-devel.x86_64 fltk-static.x86_64 fltk.x86_64y
y
cannot open source file "X11/extensions/Xinerama.h"
yum install libXinerama-devel
cannot open source file "GL/glu.h"
yum install freeglut.x86_64 freeglut-devel.x86_64
cannot open source file "X11/extensions/XInput.h"
yum install libXi-dev
after installation, add source /opt/intel/bin/compilervars.sh intel64 to .bashrc

install cuda (xeon)

install all neccesary packages:
sudo yum install kernel-devel gcc-c++ freeglut freeglut-devel libX11-devel mesa-libGLU-devel libXmu-devel libXi-devel gcc* compat-gcc* compat-glibc* compat-lib*

edit /etc/modprobe.d/blacklist-nouveau.conf
add

blacklist nouveau
options nouveau modeset=0
then:
sudo dracut --force
then reboot
init 3
sudo ./***.run
after it is installed
init 5

another way:
init 3 (exit X window)
sudo ./***.run(they will create a file: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf)
sudo dracut --force
reboot
init 3(you should be able to see the font turn big, )
sudo ./***.run(again)

Install package for python on fock

curl "https/bootstrap.pypa.io/get-pip.py" -o "get-pip.py"

python get-pip.py

 

disable nouveau

linux /vmlinuz-3.15.4-200.fc20.x86_64 root=UUID=8abb3dc5-d948-4941-92ce-690339d445e5 ro rootflags=subvol=root vconsole.font=latarcyrheb-sun16 rhgb quiet nouveau.modeset=0

add nouveau.modeset=0  to the end of  /boot/grub2/grub.cfg

change runlevel in fedora

With systemd, to switch runlevels:

Code:
systemctl isolate multi-user.target

or ++

systemctl isolate graphical.target

To change the default runlevel:

Code:
rm /etc/systemd/system/default.target
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

or 

ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target

systemd does not even use the /etc/inittab So changing it in there doesn't work anymore.

Hydrogen Bond

however any covalency will increase the network stability relative to purely electrostatic effects. The hydrogen bond in water dimers is sufficiently strong to result in the dimers persisting within the gas state at significant concentrations [1977] (for example, ~0.1% H2O at 25 °C and 85% humidity) to contribute significantly to the absorption of sunlight and atmospheric reaction kinetics [266].
80% of the molecules of liquid water have one (cooperatively strengthened) strong hydrogen bonded O-H group and one non-, or only weakly, bonded O-H group at any instant (sub-femtosecond averaged and such as may occur in pentagonally hydrogen bonded clusters), the remaining 20% of the molecules being made up of four-hydrogen-bonded tetrahedrally coordinated clusters [613].

Hydrogen Bonds

The energy of covalently bonded H-O is about 492kJ/mol, but it still have addition attraction to form hydrogen bond of energy of 23kJ/mol.Water's hydrogen bonding holds water molecules up to about 15% closer than if water was a simple liquid with just van der Waals dispersion interactions.The hydrogen bond in water is part (about 90%) electrostatic and part (about 10%) covalent.Clusters linked by extensive hydrogen bonding can be considered as being connected by extensive, but complementary, electron delocalization. As electrons are not held by individual molecules but are easily distributed amongst water clusters they can give rise to coherent regions.
Hbond delocalization
The strongest hydrogen bonding in water existing in the short linear proton-centered H5O2+ ion at about 120 kJ mol-1.
H5O2+