Version 3 (modified by 12 years ago) ( diff ) | ,
---|
Installation Instructions
This page holds instructions for obtaining and installing all of AstroBEAR's required packages.
Installing the Intel Compiler Suite
- Go to Intel's compiler site for instructions on downloading Intel's Fortran and C/C++ compilers. Depending on the nature of your institution, you may be required to purchase a license.
- Follow Intel's installation instructions to install the Fortran and C/C++ compilers in the
/usr/local/intel/fce/
compiler_version
and/usr/local/intel/cce/
compiler_version
directories, respectively.
Installing the HDF4 Libraries
The following script can be used to download and install the HDF4 libraries. Note that make install
must be run with root
privileges.
wget ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/src/HDF4.2r1.tar.gz tar -xzvf HDF4.2r1.tar.gz cd HDF4.2r1 export LDFLAGS=-lm # The HDF4 package needs help finding math library ./configure -enable-fortran -prefix=/usr/local/hdf make make install
Installing the HDF5 Libraries
The following script can be used to download and install the HDF5 libraries. Note that make install
must be run with root
privileges.
export FC=ifort;export F77=ifort;export F9X=ifort export CXX=icpc;export CXXCPP="icpc -E" export CC=icc;export CPP="icc -E" wget ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/current/src/hdf5-1.6.5.tar.gz tar -xzvf hdf5-1.6.5.tar.gz cd hdf5-1.6.5 CFLAGS=-fPIC ./configure -prefix=/usr/local/hdf5_intel_9.0 -enable-fortran make make install
Downloading and installing LAM-MPI
This script should download and install version 7.1.4 of LAM-MPI.
export FC=ifort;export F77=ifort;export F9X=ifort export CXX=icpc;export CXXCPP="icpc -E" export CC=icc;export CPP="icc -E" wget http://www.lam-mpi.org/download/files/lam-7.1.4.tar.gz tar -xzvf lam-7.1.4.tar.gz cd lam-7.1.4 ./configure -prefix=/usr/local/lam-intel_9.0 -with-rsh="ssh -x" -with-fc=ifort make # As root: make install # Make a sim limk for "mpif90" cd /usr/local/lam-intel_9.0/bin ln -s mpif77 mpif90
Downloading and Installing PGPlot
wget ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz tar -xzvf pgplot5.2.tar.gz chmod -R a+rX pgplot # As root: mkdir /usr/lo cal/pgplot cd /usr/local/pgplot cp $ \sim$ /pgplot/drivers.list . # EDIT drivers.list to include the drivers: PS, VPS, CPS, & VCPS $ \sim$ /pgplot/makemake $ \sim$ /pgplot linux g77_gcc #Sidenote: If your system uses the newer gfortran instead of g77, edit the Makefile to reflect this. #Also: if necessary, the location of 64-bit X11 libraries on x64 systems can be set via LIBS=-L/usr/X11R6/lib64 -lX11 MOTIF_LIBS=-lXm -lXt -L/usr/X11R6/lib64 -lX11 ATHENA_LIBS=-lXaw -lXt -lXmu -lXext -L/usr/X11R6/lib64 -lX11 TK_LIBS=-L/usr/lib -ltk -ltcl -L/usr/X11R6/lib64 -lX11 -ldl # Now you can proceed to make the library make make clean
Downloading and Installing OpenDX
wget http://opendx.npaci.edu/source/dx-4.4.0.tar.gz tar -xzvf dx-4.4.0.tar.gz export CPPFLAGS=-Ihomedir /hdf/include/ export LDFLAGS=-L/usr/local/hdf/lib/ cd dx-4.4.0 ./configure -prefix=/usr/local -with-hdf \ -x-includes=/usr/local/hdf/include/:/usr/X11R6/include \ -x-libraries=/usr/local/hdf/lib/:/usr/X11R6/lib64 -libdir=/usr/lib64 make # As root: make install
Note:
See TracWiki
for help on using the wiki.