COMPILERS(5)
FILE FORMATS
COMPILERS(5)
NAME
compilers - SCore Compiler database

DESCRIPTION
mpc++, scorecc and mpi compiler commands can specify backend compiler use -compiler option. compilers files specify the backend compilers and this command path. All compilers files in (INSTALL_DIR)/etc/compilers directory. Compiler commands search and read following files:
(INSTALL_DIR)/etc/compilers/system.bintype
(INSTALL_DIR)/etc/compilers/site
(INSTALL_DIR)/etc/compilers/site.bintype
bintype specifies the binary type to run the compiler commands. The first file is created when you install SCore system. We recommented don't touch this file, because this file is repaced when you re-compile or verion up to SCore system. If you want to change backend compiler, please create site (or site.bintype when you share multiple platform).

Each line of the compiler file specifies tag name and compiler command path. A single '#' character indicates that the rest of the line is a comment, and to be ignored.

Notation of a compiler as follows:

tag C_compiler_path C++_compiler_path Fortran77_compiler_path Fortran90_compiler_path
If compiler of tag is not found, you can specify "-" instead of compiler path. If following compilers are not foun, following fields may be ommited. If only tag is found, compiler for tag is removed. But compilers tagged gnu is not able to removed. To check current compiler list, you can run score_compiler_list. Note that if you add backend compiler for MPI, you must recompile mpich module.

EXAMPLE
# GNU compiler's path change
gnu	/opt/gnu/bin/gcc	/opt/gnu/bin/g++	/opt/gnu/bin/g77
# KAI compiler -- C++ only
kai	-	KCC
# pgi compiler is not found
pgi
FILES
(INSTALL_DIR)/etc/compilers/system.bintype
(INSTALL_DIR)/etc/compilers/site
(INSTALL_DIR)/etc/compilers/site.bintype

SEE ALSO
mpc++(1), scorecc(1), mpicc(1), mpic++(1), mpif77(1), mpif90(1), score_compiler_list(8),

$Id: compilers.html,v 1.2 2002/02/17 04:25:26 kojima Exp $