Providing Optional Compilers

SCore was built to use GNU compilers for C, C++ and FORTRAN77. Also FORTRAN 90 Compiler is not used. Then mpicc, mpic++ and mpif77 is used gcc, g++, g77 as backend compiler. And mpif90 can not use.

SCore can be re-installed to provide support for optional compilers that can be specified on the compiler command lines with the -compiler command line option.

In order to provide alternative compilers the build config file for your platform has to be edited to include variable names specifying the name and path of the compilers. Edit the following file:

/opt/score/src/build/config/`/opt/score/deploy/config.nickname`
where `/opt/score/deploy/config.nickname` outputs a nickname for the compile machine you are using.

Now include variables for the optional compilers. The general format of the variable is:

OPT_compiler = compiler_definition...
where compiler_definition can be a space-separated list of compiler definitions. Each compiler definition is defined as:
compiler_name:compiler_path
where compiler_name is a name chosen for the -compiler compiler option. Here is an example of specifying optional FORTRAN77 compilers:
OPT_F77 = absoft:/usr/tool/absoft/bin/f77 pgi:pgf77
Here, two optional compilers are specified. The first is the Absoft Fortran compiler, installed as f77 under the /usr/tool/absoft/bin directory. It is assigned the symbolic name absoft which will be used by SCore users for the -compiler compiler option. The second optional Fortran compiler is pgf77 which will be found using the default PATH. The symbolic name is pgi.

Valid optional compiler variable names are:

OPT_CC for C compilers
OPT_CXX for C++ compilers
OPT_F77 for FORTRAN77 compilers
OPT_F90 for FORTRAN90 compilers

In this version, following compilers are support:
compiler_name description
pgi The Portland Group C, C++ and Fortran compilers (i386 only)
absoft Absoft ProFortran compilers (i386 only) (Fortran and Fortran 90 only)
kai KAI C++ compiler (i386 only) (C++ only)
fujitsu Fujitsu C, C++ and Fortran compilers (i386 only)
compaq Compaq C, C++ and Fortran compilers (alpha only)
If you want to use other compilers, you may need to modify compiler driover in /opt/score/src/driver.

After you have edited the build config file you will have to re-compile the SCore software. Please see the Re-Compilation and Installation from Source page for details on re-compiling the SCore software.


CREDIT
This document is a part of the SCore cluster system software developed at Real World Computing Partnership, Japan. Copyright (c) 2000, 1999 Real World Computing Partnership.