All of the site dependent information such as compiler locations, compiler options, libraries, and linkers is contained in the file make.conf located in Socorro’s root directory. There are several examples contained in the makefiles directory to use as a guide.

Most of the variables are pretty obvious what they stand for but two critical variables MPLIBS and UPLIBS aren’t. The first MPLIBS (Multi-Processor Libraries) should contain all the libraries needed for Socorro, including MPI. The other, UPLIBS (UniProcessor Libraries), should NOT contain anything related to MPI. It is used for making some tools, such as taginfo, which is used for examining the contents of restart files.

Once you’ve made a stab at configuring make.conf you are ready to continue.

VariableDefinition
CCC compiler
CCFLAGSC compiler flags
CCINCSGeneric include directory for C header files
F90Fortran 90 compiler and also linker
F90FLAGSCompile time flags for F90 code
F90INCSThis is a macro listing all the F90 includes from the individual includes(F90MISCINCS MPIINCS LAPINCS FFTINCS) and is what is actually used in the other makefiles.
F90MISCINCSGeneric F90 include directory
F90MISCLIBSMiscellaneous Libraries needed in order to make an executable
FFTINCSLocation of FFTW include files
FFTLIBSFFTW Libraries and directory locations
LAPINCSLocation of LAPACK or BLAS include files
LAPLIBSLAPACK and BLAS libraries. Order here is important. Normally LAPACK libraries should be listed before BLAS libraries.
MPIINCSLocation of MPI header or include files
MPILIBSMPI libraries and directories
  
MPLIBSMacro listing all libraries required to build socorro. This contains MPI related libraries. The order is important. Typically this is just $(MPILIBS) $(FFTLIBS) $(LAPLIBS) $(F90MISCLIBS)
UPLIBSMacro listing all libraries to builds serial tools. Hence it doesn not include any MPI references. Typically this is $(FFTLIBS) $(LAPLIBS) $(F90MISCLIBS)

« Required Packages | TOC | Running Configure »