Last Modified 26 Mar 2002

SCTB: Installation

Version 0.80


The source code for Version 0.80 of sctb is designed to be compiled into a serial version for use on single processor PCs or workstations, or a parallel version for use on any MPI capable platform.

sctb is written in FORTRAN 90. In serial mode the code has been tested on a variety of CPUs, using various operating systems and compilers. It should be possible to run this code on any computer with a valid FORTRAN 90 compiler and the LAPACK library, provided an architecture dependent Makefile is edited to reflect the appropriate compile and link options. In parallel mode the code has been tested on a cluster of Linux machines, and on the IBM SMP.

SCTB has currently been tested on:

The program will be tested on other computer architectures. Porting should involve only the changes in the Makefile to reflect the system's LAPACK, FORTRAN, and linker installation. In the meantime, users are encouraged to attempt to port this code to other systems using LAPACK and FORTRAN 90. Please report both problems and successes to bernstei@dave.nrl.navy.mil.

The source code for sctb is password protected. See Obtaining the Source Code for more information.

Once you have the downloaded package, you will need to extract the files from the gzipped tar file.

On Supported Systems

On supported systems, the procedure is as simple as typing

build_scc_nrl_tb
then answer some questions. The most important is the "System Type" which is one of the following possibilities: Then answer the choices about how to do the diagonalization and where the relevant library files are installed. The defaults are good for the IBM SMP at ASC, but may or may not be optimal anyplace else.

This procedure will create several executables in the directory bin_${SYSTEM_TYPE}/ where ${SYSTEM_TYPE} is the "System Type" above. These should include the following:

wher ${MODEL} is either nrl_tb for the Gamma point only code or nrl_tb_k_sum for the version that sums over k-points in the Brillouin zone.

On Other Systems

If you're not at a supported site, you'll need to do much of this work by hand. You can look at the build_scc_nrl_tb script, but this is the general procedure:


sctb Home Page   Introduction   About Version 0.80   Installation   List of Files   Usage   Input Files   Output Files   Trouble Shooting   Appendix