Dear sirsta users and developes


WE ARE MAKING PARALLEL SIESTA WITH OPENMPI & gfortan BUT WE HAVE THE FOLLOWING 
ERROR. I HOPE SOME OF YOU MIGHT RESOLVE THIS:...  



SIESTA'S arch.make FILE:
-----------------------------------------------------------------------------
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90

SIESTA_ARCH=i686-pc-linux-gnu--unknown

FPP=
FPP_OUTPUT= 
FC            = /opt/pool/openmpi/bin/mpif90
CC            = /opt/pool/openmpi/bin/mpicc 
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
LDFLAGS=

ARFLAGS_EXTRA=

FCFLAGS_fixed_f=
FCFLAGS_free_f90=
FPPFLAGS_fixed_F=
FPPFLAGS_free_F90=

BLAS_LIBS=/opt/[pool/openmpi/librefblas.a
LAPACK_LIBS=/opt/pool/openmpi/liblapack.a
BLACS_LIBS=/opt/pool/openmpi/blacsCinit_MPI-LINUX-0.a 
/opt/pool/openmpi/blacsF77init_MPI-LINUX-0.a 
/opt/pool/openmpi/blacs_MPI-LINUX-0.a
SCALAPACK_LIBS=/opt/pool/openmpi/libscalapack.a

COMP_LIBS=dc_lapack.a liblapack.a libblas.a 

NETCDF_LIBS=
NETCDF_INTERFACE=

LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS)

#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=/opt/pool/openmpi/lib/libmpi_f77.a
MPI_INCLUDE=/opt/pool/openmpi/include

#Dependency rules are created by autoconf according to whether
#discrete preprocessing is necessary or not.
.F.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F)  $< 
.F90.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $< 
.f.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f)  $<
.f90.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90)  $<

_______________________________________________________________________________
ERROR FORMED AFTER MAKE INSTRUCTION:

[user@siesta12 Obj]$ make

Compilation architecture to be used: i686-pc-linux-gnu--unknown
If this is not what you want, create the right
arch.make file using the models in Src/Sys

Hit ^C to abort...
(cd FoX; touch arch.make ; \
         CONFIGURE="/home/user/siesta-3.1/Src/FoX/configure"; \
         $CONFIGURE VPATH="/home/user/siesta-3.1/Src/FoX" \
         FC="/usr/local/bin/mpif90" FCFLAGS="-g -O2" \
         --enable-wcml  || false )
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for linker flag to name executables... -o 
checking for Fortran compiler default output file name... conftest
checking whether the Fortran compiler works... configure: error: cannot run 
Fortran compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [FoX/.config] Error 1


Dr Mohan L Verma

Responder a