Hello Sir,
Looking your arch file, there is no BLAS libraries. Also -Vaxlib -static in 
LDFLAG will be a good idea. 

Recently I install siesta-2.0.2 in my laptop with mpich2-1.0.7. I also got 
errors like undefined references. But after using the above options, siesta is 
executed and worked well.

Bipul Rakshit

SRF DAE-BRNS

Computational Research Lab.

Barkatullah University,

Bhopal 462 026, India

Mob.: +919406540952

--- On Mon, 25/8/08, Sushil Auluck <[EMAIL PROTECTED]> wrote:
From: Sushil Auluck <[EMAIL PROTECTED]>
Subject: Re: [SIESTA-L] Strange mpi problem
To: SIESTA-L@listserv.uam.es
Date: Monday, 25 August, 2008, 9:38 AM

hi,
some time back i had problems with compilation of siesta version 2.0
on a xeon machine. eventually i had to use the intel cmkl 8.0 libraries.
i am enclosing the arch.make files......i used the intel compiler and 
mpich-1.2.6
s.auluck

-- 
........................................................................
Prof. Sushil Auluck                      Phone:+91-512-6797092/6148
Department of Physics                          +91-512-6798177(Home)            
Indian Institute of Technology           Cell :+91-9305548667  
Kanpur 208016 (UP)                       Fax  :+91-512-6790914     
India                                    E-mail:[EMAIL PROTECTED]              
................................................:[EMAIL PROTECTED]
http://www.iitk.ac.in/phy/People/phy_facvis.html
http://www.iitk.ac.in/phy/New01/profile_SA.html
........................................................................

# 
# 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=x86_64-unknown-linux-gnu--Intel
#
#  itanium2 machine at Leioa with myrinet
#
#FC=mpif90 -Vaxlib
#FC=mpif90 -heaps-arrays
FC=mpif90
#
FC_ASIS=$(FC)
#
#FFLAGS= -O2 -tpp2 -W0 
#FFLAGS= -O2 -W0 
FFLAGS= 
FFLAGS_DEBUG= -g -O0
#LDFLAG=#-Vaxlib 
LDFLAG= 
RANLIB=echo
LIBS=  
SYS=scalapack_extra
DEFS=-DMPI -DNODAT -DWXML_INIT_FIX -DHAS_DLAMC3 -DALLOC_SAVE_BUG
MPI_INTERFACE=libmpi_f90.a
#
#MPIROOT=/opt/intel/mpich-1.2.6
#MPIROOT=/opt/mpich2intel
MPIROOT=/opt/mpich2ifort9
MPI_INCLUDE=$(MPIROOT)/include
#
#MPI_LIBS= $(MPIROOT)/lib/libmpich.a  $(MPIROOT)/lib/libpmpich.a  \
#         /usr/local/gm-2.0.6_Linux/binary/lib/libgm.a \
#          -L/opt/intel/mkl61/lib/64 -lpthread
#
#MPI_LIBS=-L$(MPIROOT)/lib \
#         -lmpichf90 -lpmpich -lmpich -lpmpich -lmpich \
#         -L/opt/gm/binary/lib/ -L/opt/gm/lib/ \
#         -lgm -lpthread -lPEPCF90
#
LAPACK=-L/opt/intel/cmkl/8.0/lib/em64t -lmkl_lapack -lmkl 
#LAPACK=-L/opt/intel/mkl/10.0.011/lib/em64t -lmkl_lapack -lmkl -lguide
-lpthread
#
BLACS_LIBS=-L/opt/intel/cmkl/8.0/lib/em64t -lmkl_blacs_intelmpi20
#BLACS_LIBS=-L/opt/intel/mkl/10.0.011/lib/em64t -lmkl_blacs_intelmpi20_ilp64
SCALAPACK_LIBS=-L/opt/intel/cmkl/8.0/lib/em64t -lmkl_scalapack
#SCALAPACK_LIBS=-L/opt/intel/mkl/10.0.011/lib/em64t -lmkl_scalapack_ilp64
#SCALAPACK_LIBS=-L/opt/lib -lscalapack -llapack
#-lscalapack-arina.GM  \
 
#                                   -lpblas-arina.GM \
 
#                                   -ltools-arina.GM \
        
#                           -lredist-arina.GM
#
LIBS=  $(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK) $(NETCDF_LIBS)
#LIBS=  $(BLACS_LIBS) $(LAPACK) $(NETCDF_LIBS)
COMP_LIBS=
#
..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)   $<
#



# 
# 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=intel-nolibs
#
# Serial compilation without the need of any installed libraries.
# (That would be too simple: ifc needs the -Vaxlib option at link time)
#
# Following line for Pentium 4 , with static alloc
#FC=ifc  -tpp7 -O2  -Vaxlib -static -xW
#
# More conservative
FC=ifort  -tpp5 -O2 -w -mp -Vaxlib 
#
FC_ASIS=$(FC)
#
FFLAGS= -O
FFLAGS_DEBUG= -g 
LDFLAGS=-Vaxlib 
RANLIB=echo
LIBS=  
SYS=bsd
DEFS=
COMP_LIBS=linalg.a
#
..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)   $<
#




      From Chandigarh to Chennai - find friends all over India. Go to 
http://in.promos.yahoo.com/groups/citygroups/

Reply via email to