Hi John,
I attach an arch.make for sgi-altix. It uses the system blacs and scalapack optimized by sgi. Regards, Eduardo
arch.make-sgi
Description: Binary data
On sep 26, 2006, at 1:46 AM, John B. Baba wrote:
Hi all: Thanks lan and Marcos replay, I also try to compile siesta1.3 parallel using mpi and f90in sgi, I following their suggestions, and log out all the options aboutnetCDF. But I also get some errors, I do not know the reason, Does anyone know the reasons? Following is the error messages: *********************************************** a\ -L/usr/lib64 -lscs_mp -lmpild64: ERROR 33 : Unresolved text symbol "blacs_get_" -- 1st referencedby cdiag.o.Use linker option -v to see when and which objects, archives anddsos are loaded. ld64: ERROR 33 : Unresolved text symbol "blacs_gridinit_" -- 1st referenced by cdiag.o.Use linker option -v to see when and which objects, archives anddsos are loaded. ld64: ERROR 33 : Unresolved text symbol "blacs_gridexit_" -- 1st referenced by cdiag.o.Use linker option -v to see when and which objects, archives anddsos are loaded.ld64: ERROR 33 : Unresolved text symbol "descinit_" -- 1st referencedby cdiag.o.Use linker option -v to see when and which objects, archives anddsos are loaded. ld64: ERROR 33 : Unresolved text symbol "pzhegvx_" -- 1st referenced by cdiag.o.Use linker option -v to see when and which objects, archives anddsos are loaded. ld64: ERROR 33 : Unresolved text symbol "pdsygvx_" -- 1st referenced by rdiag.o.Use linker option -v to see when and which objects, archives anddsos are loaded. ld64: INFO 152: Output file removed because of error. ******************************************************** Following is my arch.make file: ######################################################### # This file is part of the SIESTA package. # # Copyright (c) Fundacion General Universidad Autonoma de Madrid:# E.Artacho, J.Gale, A.Garcia, J.Junquera, P.Ordejon, D.Sanchez- Portal #and J.M.Soler, 1996-2006. ## Use of this software constitutes agreement with the full conditions #given in the SIESTA license, as signed by all legitimate users. # SIESTA_ARCH=sgi64-mpi_fermat # # This file seems to work for SGI systems using 64-bit compiled# Scalapack and Blacs libraries from netlib, and *some version* (perhaps# SGI's own?) of MPI. ## Note that the Scalapack and Blacs library files must be linked from #their standard places to the building directory... # # Note that the locations of the libraries are configured for the # Fermat system of the CSAR service at Manchester. Details must # changed for other machines accordingly. # FC=f90 -64 # FFLAGS= -O3 INCFLAGS = -I/usr/local/netcdf-3.5.1/include netcdf.inc #FFLAGS= -O scalar2,pipeline2,aggress -eA FFLAGS_DEBUG= -g -O0 RANLIB=echo # #NETCDF_LIBS=-L/usr/local/netcdf-3.5.1/lib -lnetcdf #NETCDF_INTERFACE= #DEFS_CDF=-DCDF # MPI_INTERFACE=libmpi_f90.a #MPI_INTERFACE= MPI_INCLUDE=/usr/include DEFS_MPI=-DMPI # #LIBS= -lscalapack -lblacs -lpblas -ltools \# /usr/local/unsupported/numerical/lib64/blacsCinit_MPI- O2K_64-0.a \ # /usr/local/unsupported/numerical/lib64/blacs_MPI- O2K_64-0.a \ #-lscs -lcomplib.sgimath -lmpi #LIBS= -ltools \ # -lscs_mp -lcomplib.sgimath -lmpi LIBS= -L/usr/lib64 \ -lscs_mp -lmpi SYS=bsd DEFS= $(DEFS_CDF) $(DEFS_MPI) # .F.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(DEFS) $< .f.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $< .F90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(DEFS) $< .f90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $< ##################################################################