## Run this script as $USER to install psi4 first in the home dir of$USER in a rocks linux computer cluster. ## Then make install as su to install it in /share/apps/psi4 #! /bin/bash cd ~/ wget http://www2.fizik.usm.my/configrepo/howto/psi4/psi4.tar.gz tar -zxvf psi4.tar.gz cd psi4.0b5 autoconf cd madness autoreconf cd .. mkdir obj cd obj make clean rm -rf /tmp/$USERS ### to compile using gcc 492 ############## ../configure --prefix=/share/apps/psi4 --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --with-plugins --with-libdirs='-L/share/apps/estools/ATLAS/3.10.2/lib -L/opt/mpich2/gnu/lib' --with-incdirs='-I/share/apps/estools/ATLAS/3.10.2/include -I/share/apps/estools/ATLAS/3.10.2/include/atlas -I/opt/mpich2/gnu/include' --with-lapack='-llapack -lcblas -latlas' --with-blas='-lcblas -lf77blas -latlas' ### end of to compile using gcc 492 ############## make cd ~/psi4.0b5/obj/plugins make make tests #make install ####### do it as su