I want to install siesta (a computational code) to run parallel in Ubuntu 12.04. There is an arch.make file which a part of it's content is as follows:
.SUFFIXES: .SUFFIXES: .f .F .o .a .f90 .F90 SIESTA_ARCH=x86_64-unknown-linux-gnu--unknown FPP= FPP_OUTPUT= FC=/opt/pool/openmpi/bin/mpif90 RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) FFLAGS=-g -O2 FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DGRID_DP -DPHI_GRID_SP -DMPI LDFLAGS= ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= LIBPATH=/opt/pool/scalapack_installer-1.8.0 BLAS_LIBS=/usr/lib/libf77blas.a /usr/lib/atlas/libblas.a LAPACK_LIBS=/usr/lib/atlas/liblapack.a BLACS_LIBS= -L$(LIBPATH) -lblacsF77 -lblacsC -lblacs SCALAPACK_LIBS=-lscalapack COMP_LIBS= NETCDF_LIBS= NETCDF_INTERFACE= LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS) -lpthread #SIESTA needs an F90 interface to MPI #This will give you SIESTA's own implementation #If your compiler vendor offers an alternative, you may change #to it here. MPI_INTERFACE=libmpi_f90.a MPI_INCLUDE=./include
So, according to this. I have some questions, please:
1- what do the following lines mean? (what happens in them?)(for the second line, I don't know what does it mean to write
BLAS_LIBS and equal to an address.)
.SUFFIXES: .f .F .o .a .f90 .F90 BLAS_LIBS=/usr/lib/libf77blas.a /usr/lib/atlas/libblas.a
2-what should be written after the equal sign in the following lines?
FPP= FPP_OUTPUT= NETCDF_LIBS=
3-should the expressions in the right side of equal sign in the following line be replaced by something? if yes, what should be written?!
LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS)
I know some basics of bash scripting and familiar with command line in linux. I have watched several training courses about bash scripting but I'm still perplexed!!
Thanks for any help.