Hi, Trying to build siesta-4.0 with OpenMPI-1.8.8, I followed a guide from https://mail-archive.com/users@lists.open-mpi.org/msg29688.html which says there is no libmpi_f90.a any more. Instead mpifort is a wrapper which includes all libraries.
Here is the output I see in the build process root@cluster:spar# ls arch.make fdf liblapack.a Libs Makefile SiestaXC wxml config.status FoX libopenblas.a libscalapack.a MPI Tests xmlparser root@cluster:spar# make Compilation architecture to be used: x86_64-unknown-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="/export/apps/siesta/siesta-4.0/Src/FoX/configure"; \ $CONFIGURE VPATH="/export/apps/siesta/siesta-4.0/Src/FoX" \ FC="/export/apps/siesta/openmpi-1.8.8/bin/mpifort" FCFLAGS="-g -O2" \ --enable-wcml || false ) checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-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 root@cluster:spar# ls config.log ls: cannot access config.log: No such file or directory The content of arch.make is .SUFFIXES: .SUFFIXES: .f .F .o .a .f90 .F90 SIESTA_ARCH=x86_64-unknown-linux-gnu--unknown FPP= FPP_OUTPUT= FC=/export/apps/siesta/openmpi-1.8.8/bin/mpifort RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) FFLAGS=-g -O2 FPPFLAGS= -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT LDFLAGS= ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= BLAS_LIBS=libopenblas.a LAPACK_LIBS=liblapack.a BLACS_LIBS= SCALAPACK_LIBS=libscalapack.a COMP_LIBS= 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= MPI_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) $< Any idea about that? Regards, Mahmood