#! /bin/bash ## Be noted that the following are pre-installed in a fresh copy of Rocks 5.3: # fftw3, numpy, python-2-4, mpich2, openmpi, ## Assumed epel and CENTOS5 repos have been installed. No livna, rpmforge, rpmfusion are to be present in /etc/yum/repos.d while intalling numerical packages. ## Put back livna, rpmforge, rpmfusion repos at times when they are needed only (e.g. when install chinese packages). The presence of e.g. rpmforge causes conflicts when intalling numerical packages. ## Verified must-install libraries in for Rocks 5.3. yum install -y blas.x86_64 lapack.x86_64 python26.x86_64 blas-devel.x86_64 blas-devel.x86_64 blas-devel.x86_64 yum install -y numpy yum install -y scipy.x86_64 python-matplotlib.x86_64 python-matplotlib-tk.x86_64 yum install -y libgfortran44.x86_64 #must creat the following links or else rocks may not find lapack/blas ln -s /usr/lib64/libblas.so.3.0.3 /usr/lib64/libblas.so ln -s /usr/lib64/liblapack.so.3.0.3 /usr/lib64/liblapack.so #must creat the following link so that rocks 5.3 can run sse.out ln -s /opt/mpich2/gnu/lib/libmpich.so.1.1 /opt/mpich2/gnu/lib/libmpich.so.1.2 # Note: atlas will be simultaneosly installed when blas, lapack are installed, so no need to install it separately. # libgfortran44.x86_64 is required to run sse.out #### Beyond this is only for storage purpose ############# #yum install -y compat-libstdc++-33 gcc-c++.x86_64 scalapack-common.x86_64 scalapack-openmpi.x86_64 scalapack.x86_64 scalapack-devel.x86_64 gcc-gfortran.x86_64 #cernlib-g77.x86_64 cernlib-g77-devel.x86_64 cernlib-g77-static.x86_64 cernlib-g77-utils.x86_64 cernlib-packlib-g77.x86_64 cernlib-packlib-gfortran.x86_64 #yum install -y patchy-gfortran.x86_64 patchy-g77.x86_64 paw-g77.x86_64 compat-gcc-34-g77.x86_64 gcc44-gfortran.x86_64 paw-gfortran.x86_64 perl-Math-Fortran.noarch # yum install -y fftw3-static.x86_64 fftw2.x86_64 fftw3-devel.x86_64 fftw2-devel.x86_64 fftw3.x86_64