Dear Eduardo,
I used mpif77 as compiler for blacs and scalapack, and mpiifort for
siesta, which you can see in attaches. Still the "undefined ..."
borders me.
Could you give me again comments?
With kind regards,
Chol-Jun
Eduardo Anglada wrote:
Hi,
You compiled blacs and scalapack with gfortran or g77, while siesta
was compiled
with ifort (intel fortran). You shouldn't mix compilers.
Regards,
Eduardo
On 28/05/2008, at 9:11, Chol-Jun Yu wrote:
Hello,
during the compilation of parallel version, the following errors were
appeared,
...
cdiag.o: In function `cdiag':
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/cdiag.F:234:
undefined reference to `blacs_get_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/cdiag.F:235:
undefined reference to `blacs_gridinit_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/cdiag.F:243:
undefined reference to `blacs_get_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/cdiag.F:244:
undefined reference to `blacs_gridinit_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/cdiag.F:246:
undefined reference to `blacs_gridinfo_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/cdiag.F:321:
undefined reference to `blacs_gridinfo_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/cdiag.F:325:
undefined reference to `blacs_gridinfo_'
rdiag.o: In function `rdiag':
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/rdiag.F:226:
undefined reference to `blacs_get_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/rdiag.F:227:
undefined reference to `blacs_gridinit_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/rdiag.F:235:
undefined reference to `blacs_get_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/rdiag.F:236:
undefined reference to `blacs_gridinit_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/rdiag.F:238:
undefined reference to `blacs_gridinfo_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/rdiag.F:304:
undefined reference to `blacs_gridinfo_'
/rwthfs/rz/cluster/home/cy849828/siesta-2.0.1/Src/rdiag.F:306:
undefined reference to `blacs_gridinfo_'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pxerbla.o): In
function `pxerbla_':
pxerbla.f:(.text+0x3c): undefined reference to `s_wsfe'
pxerbla.f:(.text+0x52): undefined reference to `do_fio'
pxerbla.f:(.text+0x68): undefined reference to `do_fio'
pxerbla.f:(.text+0x79): undefined reference to `do_fio'
pxerbla.f:(.text+0x8d): undefined reference to `do_fio'
pxerbla.f:(.text+0x94): undefined reference to `e_wsfe'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdgemr.o): In
function `Cpdgemr2do':
...
I have attached the "arch.make" file.
Any comment will be thankful.
Chol-Jun
--
Chol-Jun Yu
Computational Materials Engineering (CME)
Institute of Minerals Engineering (GHI)
Center for Computational Engineering Science (CCES)
RWTH Aachen University (RWTH)
Jülich-Aachen Research Alliance (JARA)
D-52064 Aachen, Mauerstrasse 5,
Tel: +49-241-8094989
Fax: +49-241-80695097
#
# 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.
#
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90
SIESTA_ARCH=x86_64-unknown-linux-gnu--Intel
FPP=
FPP_OUTPUT=
FC=mpiifort
RANLIB=ranlib
SYS=nag
SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)
FFLAGS=-g
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=-lblas
LAPACK_LIBS=-llapack
BLACS_LIBS=/home/cy849828/BLACS/LIB/blacs_MPI-LINUX-0.a
SCALAPACK_LIBS=/home/cy849828/scalapack-1.8.0/libscalapack.a
COMP_LIBS=dc_lapack.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=libmpi_f90.a
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) $<
--
Chol-Jun Yu
Computational Materials Engineering (CME)
Institute of Minerals Engineering (GHI)
Center for Computational Engineering Science (CCES)
RWTH Aachen University (RWTH)
Jülich-Aachen Research Alliance (JARA)
D-52064 Aachen, Mauerstrasse 5,
Tel: +49-241-8094989
Fax: +49-241-80695097
libmpi_f90.a\
dc_lapack.a /home/cy849828/scalapack-1.8.0/
libscalapack.a /home/cy849828/BLACS/LIB/blacs_MPI-LINUX-0.a/home/
cy849828/BLACS/LIB/blacsCinit_MPI-LINUX-0.a
/home/cy849828/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /home/cy849828/
lapack-3.1.1/lapack_LINUX.a /home/cy849828/BLAS/blas_LINUX.a
/home/cy849828/scalapack-1.8.0/libscalapack.a(descinit.o): In
function `descinit_':
descinit.f:(.text+0x41): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pxerbla.o): In function
`pxerbla_':
pxerbla.f:(.text+0x34): undefined reference to `blacs_gridinfo__'
pxerbla.f:(.text+0x43): undefined reference to `s_wsfe'
pxerbla.f:(.text+0x5b): undefined reference to `do_fio'
pxerbla.f:(.text+0x73): undefined reference to `do_fio'
pxerbla.f:(.text+0x89): undefined reference to `do_fio'
pxerbla.f:(.text+0xa1): undefined reference to `do_fio'
pxerbla.f:(.text+0xab): undefined reference to `e_wsfe'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pjlaenv.o): In function
`pjlaenv_':
pjlaenv.f:(.text+0x65): undefined reference to `s_copy'
pjlaenv.f:(.text+0x190): undefined reference to `s_copy'
pjlaenv.f:(.text+0x32c): undefined reference to `s_copy'
pjlaenv.f:(.text+0x465): undefined reference to `s_copy'
pjlaenv.f:(.text+0x51c): undefined reference to `s_copy'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pjlaenv.o):pjlaenv.f:
(.text+0x53c): more undefined references to `s_copy'follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pjlaenv.o): In function
`pjlaenv_':
pjlaenv.f:(.text+0x5af): undefined reference to `s_cmp'
pjlaenv.f:(.text+0x5d0): undefined reference to `s_cmp'
pjlaenv.f:(.text+0x5f5): undefined reference to `s_cmp'
pjlaenv.f:(.text+0x63a): undefined reference to `s_cmp'
pjlaenv.f:(.text+0x67f): undefined reference to `s_cmp'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pjlaenv.o):pjlaenv.f:
(.text+0x6c1): more undefined references to `s_cmp' follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdpotrf.o): In function
`pdpotrf_':
pdpotrf.f:(.text+0x4b): undefined reference to `blacs_gridinfo__'
pdpotrf.f:(.text+0x292): undefined reference to `pb_topget__'
pdpotrf.f:(.text+0x2c1): undefined reference to `pb_topget__'
pdpotrf.f:(.text+0x2fb): undefined reference to `pb_topset__'
pdpotrf.f:(.text+0x32b): undefined reference to `pb_topset__'
pdpotrf.f:(.text+0x8df): undefined reference to `pb_topset__'
pdpotrf.f:(.text+0x90f): undefined reference to `pb_topset__'
pdpotrf.f:(.text+0xec4): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdpotrf.o):pdpotrf.f:
(.text+0xef3): more undefined references to `pb_topset__' follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsyevd.o): In function
`pdsyevd_':
pdsyevd.f:(.text+0x5e): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsyevx.o): In function
`pdsyevx_':
pdsyevx.f:(.text+0x67): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsygvx.o): In function
`pdsygvx_':
pdsygvx.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsyngst.o): In
function `pdsyngst_':
pdsyngst.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsyntrd.o): In
function `pdsyntrd_':
pdsyntrd.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pdsyntrd.f:(.text+0x748): undefined reference to `blacs_get__'
pdsyntrd.f:(.text+0x76f): undefined reference to `blacs_gridinit__'
pdsyntrd.f:(.text+0x79c): undefined reference to `blacs_gridinfo__'
pdsyntrd.f:(.text+0xb99): undefined reference to `blacs_gridexit__'
pdsyntrd.f:(.text+0xbcd): undefined reference to `pb_topget__'
pdsyntrd.f:(.text+0xbfc): undefined reference to `pb_topget__'
pdsyntrd.f:(.text+0xc2c): undefined reference to `pb_topset__'
pdsyntrd.f:(.text+0xc5c): undefined reference to `pb_topset__'
pdsyntrd.f:(.text+0x17af): undefined reference to `pb_topset__'
pdsyntrd.f:(.text+0x17de): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsyttrd.o): In
function `pdsyttrd_':
pdsyttrd.f:(.text+0x5b): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsytd2.o): In function
`pdsytd2_':
pdsytd2.f:(.text+0x4e): undefined reference to `blacs_gridinfo__'
pdsytd2.f:(.text+0x21d): undefined reference to `blacs_abort__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsytrd.o): In function
`pdsytrd_':
pdsytrd.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pdsytrd.f:(.text+0x487): undefined reference to `pb_topget__'
pdsytrd.f:(.text+0x4b6): undefined reference to `pb_topget__'
pdsytrd.f:(.text+0x4e6): undefined reference to `pb_topset__'
pdsytrd.f:(.text+0x516): undefined reference to `pb_topset__'
pdsytrd.f:(.text+0xfca): undefined reference to `pb_topset__'
pdsytrd.f:(.text+0xff9): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlamr1d.o): In
function `pdlamr1d_':
pdlamr1d.f:(.text+0x138): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlared1d.o): In
function `pdlared1d_':
pdlared1d.f:(.text+0x44): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function
`pdstebz_':
pdstebz.f:(.text+0x4f): undefined reference to `blacs_gridinfo__'
pdstebz.f:(.text+0xa30): undefined reference to `blacs_pnum__'
pdstebz.f:(.text+0xa96): undefined reference to `blacs_get__'
pdstebz.f:(.text+0xac3): undefined reference to `blacs_gridmap__'
pdstebz.f:(.text+0xaf0): undefined reference to `blacs_gridinfo__'
pdstebz.f:(.text+0x317d): undefined reference to `blacs_freebuff__'
pdstebz.f:(.text+0x318e): undefined reference to `blacs_gridexit__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdstedc.o): In function
`pdstedc_':
pdstedc.f:(.text+0x44): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzheevd.o): In function
`pzheevd_':
pzheevd.f:(.text+0x68): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzheevx.o): In function
`pzheevx_':
pzheevx.f:(.text+0x67): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhegvx.o): In function
`pzhegvx_':
pzhegvx.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhengst.o): In
function `pzhengst_':
pzhengst.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhentrd.o):pzhentrd.f:
(.text+0x57): more undefined references to `blacs_gridinfo__' follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhentrd.o): In
function `pzhentrd_':
pzhentrd.f:(.text+0x886): undefined reference to `blacs_get__'
pzhentrd.f:(.text+0x8ad): undefined reference to `blacs_gridinit__'
pzhentrd.f:(.text+0x8da): undefined reference to `blacs_gridinfo__'
pzhentrd.f:(.text+0xcd7): undefined reference to `blacs_gridexit__'
pzhentrd.f:(.text+0xd0b): undefined reference to `pb_topget__'
pzhentrd.f:(.text+0xd3a): undefined reference to `pb_topget__'
pzhentrd.f:(.text+0xd6a): undefined reference to `pb_topset__'
pzhentrd.f:(.text+0xd9a): undefined reference to `pb_topset__'
pzhentrd.f:(.text+0x191b): undefined reference to `pb_topset__'
pzhentrd.f:(.text+0x194a): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhettrd.o): In
function `pzhettrd_':
pzhettrd.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhetd2.o): In function
`pzhetd2_':
pzhetd2.f:(.text+0x4e): undefined reference to `blacs_gridinfo__'
pzhetd2.f:(.text+0x226): undefined reference to `blacs_abort__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhetrd.o): In function
`pzhetrd_':
pzhetrd.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pzhetrd.f:(.text+0x490): undefined reference to `pb_topget__'
pzhetrd.f:(.text+0x4bf): undefined reference to `pb_topget__'
pzhetrd.f:(.text+0x4ef): undefined reference to `pb_topset__'
pzhetrd.f:(.text+0x51f): undefined reference to `pb_topset__'
pzhetrd.f:(.text+0x1001): undefined reference to `pb_topset__'
pzhetrd.f:(.text+0x1030): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlanhe.o): In function
`pzlanhe_':
pzlanhe.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pzlanhe.f:(.text+0x451): undefined reference to `z_abs'
pzlanhe.f:(.text+0x652): undefined reference to `z_abs'
pzlanhe.f:(.text+0x76e): undefined reference to `z_abs'
pzlanhe.f:(.text+0x9ff): undefined reference to `z_abs'
pzlanhe.f:(.text+0xc00): undefined reference to `z_abs'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlanhe.o):pzlanhe.f:
(.text+0xd1c): more undefined references to `z_abs' follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlascl.o): In function
`pzlascl_':
pzlascl.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlatrd.o): In function
`pzlatrd_':
pzlatrd.f:(.text+0x59): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzpotrf.o): In function
`pzpotrf_':
pzpotrf.f:(.text+0x4b): undefined reference to `blacs_gridinfo__'
pzpotrf.f:(.text+0x292): undefined reference to `pb_topget__'
pzpotrf.f:(.text+0x2c1): undefined reference to `pb_topget__'
pzpotrf.f:(.text+0x2fb): undefined reference to `pb_topset__'
pzpotrf.f:(.text+0x32b): undefined reference to `pb_topset__'
pzpotrf.f:(.text+0x8df): undefined reference to `pb_topset__'
pzpotrf.f:(.text+0x90f): undefined reference to `pb_topset__'
pzpotrf.f:(.text+0xec4): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzpotrf.o):pzpotrf.f:
(.text+0xef3): more undefined references to `pb_topset__' follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzstein.o): In function
`pzstein_':
pzstein.f:(.text+0x51): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzunmtr.o): In function
`pzunmtr_':
pzunmtr.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlaevswp.o): In
function `pzlaevswp_':
pzlaevswp.f:(.text+0x50): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlamr1d.o): In
function `pzlamr1d_':
pzlamr1d.f:(.text+0x138): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(chk1mat.o): In function
`chk1mat_':
chk1mat.f:(.text+0xc6): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pchkxmat.o):pchkxmat.f:
(.text+0x6ec): more undefined references to `blacs_gridinfo__' follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdpotf2.o): In function
`pdpotf2_':
pdpotf2.f:(.text+0x209): undefined reference to `blacs_abort__'
pdpotf2.f:(.text+0x2b1): undefined reference to `pb_topget__'
pdpotf2.f:(.text+0x2e0): undefined reference to `pb_topget__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdstein.o): In function
`pdstein_':
pdstein.f:(.text+0x51): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsygst.o): In function
`pdsygst_':
pdsygst.f:(.text+0x5f): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlaevswp.o): In
function `pdlaevswp_':
pdlaevswp.f:(.text+0x50): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlaed0.o): In function
`pdlaed0_':
pdlaed0.f:(.text+0x4e): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlaed1.o): In function
`pdlaed1_':
pdlaed1.f:(.text+0x51): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlaed2.o): In function
`pdlaed2_':
pdlaed2.f:(.text+0x72): undefined reference to `blacs_pinfo__'
pdlaed2.f:(.text+0x96): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlaed3.o): In function
`pdlaed3_':
pdlaed3.f:(.text+0x82): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlaedz.o): In function
`pdlaedz_':
pdlaedz.f:(.text+0x72): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlasrt.o): In function
`pdlasrt_':
pdlasrt.f:(.text+0x5e): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhegst.o): In function
`pzhegst_':
pzhegst.f:(.text+0x5f): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlacgv.o):pzlacgv.f:
(.text+0x4a): more undefined references to `blacs_gridinfo__' follow
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzpotf2.o): In function
`pzpotf2_':
pzpotf2.f:(.text+0x1fe): undefined reference to `blacs_abort__'
pzpotf2.f:(.text+0x2a0): undefined reference to `pb_topget__'
pzpotf2.f:(.text+0x2cf): undefined reference to `pb_topget__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzunmql.o): In function
`pzunmql_':
pzunmql.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
pzunmql.f:(.text+0x9b5): undefined reference to `pb_topget__'
pzunmql.f:(.text+0x9e4): undefined reference to `pb_topget__'
pzunmql.f:(.text+0xbcb): undefined reference to `pb_topset__'
pzunmql.f:(.text+0xbfd): undefined reference to `pb_topset__'
pzunmql.f:(.text+0xc2d): undefined reference to `pb_topset__'
pzunmql.f:(.text+0x110b): undefined reference to `pb_topset__'
pzunmql.f:(.text+0x113a): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzunmqr.o): In function
`pzunmqr_':
pzunmqr.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pzunmqr.f:(.text+0x9c2): undefined reference to `pb_topget__'
pzunmqr.f:(.text+0x9f1): undefined reference to `pb_topget__'
pzunmqr.f:(.text+0xbf3): undefined reference to `pb_topset__'
pzunmqr.f:(.text+0xc25): undefined reference to `pb_topset__'
pzunmqr.f:(.text+0xc55): undefined reference to `pb_topset__'
pzunmqr.f:(.text+0x113d): undefined reference to `pb_topset__'
pzunmqr.f:(.text+0x116c): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlacp2.o): In function
`pdlacp2_':
pdlacp2.f:(.text+0x6b): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlarfg.o): In function
`pdlarfg_':
pdlarfg.f:(.text+0x4a): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlase2.o): In function
`pdlase2_':
pdlase2.f:(.text+0x6b): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdormql.o): In function
`pdormql_':
pdormql.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
pdormql.f:(.text+0x9ac): undefined reference to `pb_topget__'
pdormql.f:(.text+0x9db): undefined reference to `pb_topget__'
pdormql.f:(.text+0xbc2): undefined reference to `pb_topset__'
pdormql.f:(.text+0xbf4): undefined reference to `pb_topset__'
pdormql.f:(.text+0xc24): undefined reference to `pb_topset__'
pdormql.f:(.text+0x1102): undefined reference to `pb_topset__'
pdormql.f:(.text+0x1131): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdormqr.o): In function
`pdormqr_':
pdormqr.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pdormqr.f:(.text+0x9b9): undefined reference to `pb_topget__'
pdormqr.f:(.text+0x9e8): undefined reference to `pb_topget__'
pdormqr.f:(.text+0xbea): undefined reference to `pb_topset__'
pdormqr.f:(.text+0xc1c): undefined reference to `pb_topset__'
pdormqr.f:(.text+0xc4c): undefined reference to `pb_topset__'
pdormqr.f:(.text+0x1134): undefined reference to `pb_topset__'
pdormqr.f:(.text+0x1163): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdsygs2.o): In function
`pdsygs2_':
pdsygs2.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pdsygs2.f:(.text+0x42f): undefined reference to `blacs_exit__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzhegs2.o): In function
`pzhegs2_':
pzhegs2.f:(.text+0x57): undefined reference to `blacs_gridinfo__'
pzhegs2.f:(.text+0x42f): undefined reference to `blacs_exit__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlarfb.o): In function
`pzlarfb_':
pzlarfb.f:(.text+0x7e): undefined reference to `blacs_gridinfo__'
pzlarfb.f:(.text+0x5e9): undefined reference to `pb_topget__'
pzlarfb.f:(.text+0x3082): undefined reference to `pb_topget__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlarft.o): In function
`pzlarft_':
pzlarft.f:(.text+0x6b): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzunm2l.o): In function
`pzunm2l_':
pzunm2l.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
pzunm2l.f:(.text+0x66b): undefined reference to `blacs_abort__'
pzunm2l.f:(.text+0xc8c): undefined reference to `pb_topget__'
pzunm2l.f:(.text+0xcbb): undefined reference to `pb_topget__'
pzunm2l.f:(.text+0xd63): undefined reference to `pb_topset__'
pzunm2l.f:(.text+0xd95): undefined reference to `pb_topset__'
pzunm2l.f:(.text+0xdc5): undefined reference to `pb_topset__'
pzunm2l.f:(.text+0x108e): undefined reference to `pb_topset__'
pzunm2l.f:(.text+0x10bd): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzunm2r.o): In function
`pzunm2r_':
pzunm2r.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
pzunm2r.f:(.text+0x66b): undefined reference to `blacs_abort__'
pzunm2r.f:(.text+0xc8c): undefined reference to `pb_topget__'
pzunm2r.f:(.text+0xcbb): undefined reference to `pb_topget__'
pzunm2r.f:(.text+0xd70): undefined reference to `pb_topset__'
pzunm2r.f:(.text+0xda2): undefined reference to `pb_topset__'
pzunm2r.f:(.text+0xdd2): undefined reference to `pb_topset__'
pzunm2r.f:(.text+0x10e6): undefined reference to `pb_topset__'
pzunm2r.f:(.text+0x1115): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzelset2.o): In
function `pzelset2_':
pzelset2.f:(.text+0x41): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pbztran.o): In function
`pbztran_':
pbztran.f:(.text+0x80): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlarfb.o): In function
`pdlarfb_':
pdlarfb.f:(.text+0x7e): undefined reference to `blacs_gridinfo__'
pdlarfb.f:(.text+0x5e9): undefined reference to `pb_topget__'
pdlarfb.f:(.text+0x3082): undefined reference to `pb_topget__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlarft.o): In function
`pdlarft_':
pdlarft.f:(.text+0x6b): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdorm2l.o): In function
`pdorm2l_':
pdorm2l.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
pdorm2l.f:(.text+0x662): undefined reference to `blacs_abort__'
pdorm2l.f:(.text+0xb49): undefined reference to `pb_topget__'
pdorm2l.f:(.text+0xb78): undefined reference to `pb_topget__'
pdorm2l.f:(.text+0xc20): undefined reference to `pb_topset__'
pdorm2l.f:(.text+0xc52): undefined reference to `pb_topset__'
pdorm2l.f:(.text+0xc82): undefined reference to `pb_topset__'
pdorm2l.f:(.text+0xeb9): undefined reference to `pb_topset__'
pdorm2l.f:(.text+0xee8): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdorm2r.o): In function
`pdorm2r_':
pdorm2r.f:(.text+0x56): undefined reference to `blacs_gridinfo__'
pdorm2r.f:(.text+0x662): undefined reference to `blacs_abort__'
pdorm2r.f:(.text+0xb49): undefined reference to `pb_topget__'
pdorm2r.f:(.text+0xb78): undefined reference to `pb_topget__'
pdorm2r.f:(.text+0xc2d): undefined reference to `pb_topset__'
pdorm2r.f:(.text+0xc5f): undefined reference to `pb_topset__'
pdorm2r.f:(.text+0xc8f): undefined reference to `pb_topset__'
pdorm2r.f:(.text+0xeef): undefined reference to `pb_topset__'
pdorm2r.f:(.text+0xf1e): undefined reference to `pb_topset__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlarf.o): In function
`pzlarf_':
pzlarf.f:(.text+0x6d): undefined reference to `blacs_gridinfo__'
pzlarf.f:(.text+0x14ed): undefined reference to `pb_topget__'
pzlarf.f:(.text+0x25c1): undefined reference to `pb_topget__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pzlarfc.o): In function
`pzlarfc_':
pzlarfc.f:(.text+0x6d): undefined reference to `blacs_gridinfo__'
pzlarfc.f:(.text+0x15df): undefined reference to `pb_topget__'
pzlarfc.f:(.text+0x276e): undefined reference to `pb_topget__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdelset2.o): In
function `pdelset2_':
pdelset2.f:(.text+0x41): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pbdtran.o): In function
`pbdtran_':
pbdtran.f:(.text+0x80): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function
`pbztrnv_':
pbztrnv.f:(.text+0x5b): undefined reference to `blacs_gridinfo__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pdlarf.o): In function
`pdlarf_':
pdlarf.f:(.text+0x6d): undefined reference to `blacs_gridinfo__'
pdlarf.f:(.text+0x134c): undefined reference to `pb_topget__'
pdlarf.f:(.text+0x224f): undefined reference to `pb_topget__'
/home/cy849828/scalapack-1.8.0/libscalapack.a(pbdtrnv.o): In function
`pbdtrnv_':
pbdtrnv.f:(.text+0x5b): undefined reference to `blacs_gridinfo__'
/home/cy849828/BLACS/LIB/blacsCinit_MPI-LINUX-0.a(Cblacs_pinfo.o): In
function `Cblacs_pinfo':
blacs_pinfo_.c:(.text+0x75): undefined reference to
`bi_f77_get_constants_'
/home/cy849828/lapack-3.1.1/lapack_LINUX.a(dtrtri.o): In function
`dtrtri_':
dtrtri.f:(.text+0x229): undefined reference to `s_cat'
/home/cy849828/lapack-3.1.1/lapack_LINUX.a(zlanhe.o): In function
`zlanhe_':
zlanhe.f:(.text+0xe8): undefined reference to `z_abs'
zlanhe.f:(.text+0x3bb): undefined reference to `z_abs'
zlanhe.f:(.text+0x4e6): undefined reference to `z_abs'
zlanhe.f:(.text+0x5ba): undefined reference to `z_abs'
/home/cy849828/lapack-3.1.1/lapack_LINUX.a(dlamch.o): In function
`dlamc2_':
dlamch.f:(.text+0x1283): undefined reference to `s_wsfe'
dlamch.f:(.text+0x129c): undefined reference to `do_fio'
dlamch.f:(.text+0x12a6): undefined reference to `e_wsfe'
/home/cy849828/lapack-3.1.1/lapack_LINUX.a(ilaenv.o): In function
`ilaenv_':
ilaenv.f:(.text+0x12c): undefined reference to `s_copy'
ilaenv.f:(.text+0x195): undefined reference to `s_copy'
ilaenv.f:(.text+0x1fa): undefined reference to `s_copy'
ilaenv.f:(.text+0x217): undefined reference to `s_copy'
ilaenv.f:(.text+0x231): undefined reference to `s_copy'
ilaenv.f:(.text+0x267): undefined reference to `s_cmp'
ilaenv.f:(.text+0x282): undefined reference to `s_cmp'
ilaenv.f:(.text+0x2c3): undefined reference to `s_cmp'
ilaenv.f:(.text+0x2de): undefined reference to `s_cmp'
ilaenv.f:(.text+0x309): undefined reference to `s_cmp'
/home/cy849828/lapack-3.1.1/lapack_LINUX.a(ilaenv.o):ilaenv.f:(.text
+0x345): more undefined references to `s_cmp' follow
/home/cy849828/lapack-3.1.1/lapack_LINUX.a(xerbla.o): In function
`xerbla_':
xerbla.f:(.text+0x15): undefined reference to `s_wsfe'
xerbla.f:(.text+0x29): undefined reference to `do_fio'
xerbla.f:(.text+0x3d): undefined reference to `do_fio'
xerbla.f:(.text+0x44): undefined reference to `e_wsfe'
xerbla.f:(.text+0x52): undefined reference to `s_stop'
make: *** [siesta] Error 1
#= = = = = = =
======================================================================
#====================== SECTION 1: PATHS AND LIBRARIES
=======================
#= = = = = = =
======================================================================
# The following macros specify the name and location of libraries
required by
# the BLACS and its tester.
#= = = = = = =
======================================================================
# --------------------------------------
# Make sure we've got a consistent shell
# --------------------------------------
SHELL = /bin/sh
# -----------------------------
# The top level BLACS directory
# -----------------------------
BTOPdir = $(HOME)/BLACS
#
---------------------------------------------------------------------------
# The communication library your BLACS have been written for.
# Known choices (and the machines they run on) are:
#
# COMMLIB MACHINE
# .......
..............................................................
# CMMD Thinking Machine's CM-5
# MPI Wide variety of systems
# MPL IBM's SP series (SP1 and SP2)
# NX Intel's supercomputer series (iPSC2, iPSC/860, DELTA,
PARAGON)
# PVM Most unix machines; See PVM User's Guide for details
#
---------------------------------------------------------------------------
COMMLIB = MPI
# -------------------------------------------------------------
# The platform identifier to suffix to the end of library names
# -------------------------------------------------------------
PLAT = LINUX
# ----------------------------------------------------------
# Name and location of the BLACS library. See section 2 for
# details on BLACS debug level (BLACSDBGLVL).
# ----------------------------------------------------------
BLACSdir = $(BTOPdir)/LIB
BLACSDBGLVL = 0
BLACSFINIT = $(BLACSdir)/blacsF77init_$(COMMLIB)-$(PLAT)-$
(BLACSDBGLVL).a
BLACSCINIT = $(BLACSdir)/blacsCinit_$(COMMLIB)-$(PLAT)-$
(BLACSDBGLVL).a
BLACSLIB = $(BLACSdir)/blacs_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
# -------------------------------------
# Name and location of the MPI library.
# -------------------------------------
MPIdir = /opt/intel/impi/3.1.038
MPILIBdir = $(MPIdir)/lib64
MPIINCdir = $(MPIdir)/include64
MPILIB = $(MPILIBdir)/libmpi.a
# -------------------------------------
# All libraries required by the tester.
# -------------------------------------
BTLIBS = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT) $(MPILIB)
# ----------------------------------------------------------------
# The directory to put the installation help routines' executables
# ----------------------------------------------------------------
INSTdir = $(BTOPdir)/INSTALL/EXE
# ------------------------------------------------
# The name and location of the tester's executable
# ------------------------------------------------
TESTdir = $(BTOPdir)/TESTING/EXE
FTESTexe = $(TESTdir)/xFbtest_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL)
CTESTexe = $(TESTdir)/xCbtest_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL)
#= = = = = = =
======================================================================
#=============================== End SECTION 1
===============================
#= = = = = = =
======================================================================
#= = = = = = =
======================================================================
#========================= SECTION 2: BLACS INTERNALS
========================
#= = = = = = =
======================================================================
# The following macro definitions set preprocessor values for the
BLACS.
# The file Bconfig.h sets these values if they are not set by the
makefile.
# User's compiling only the tester can skip this entire section.
# NOTE: The MPI defaults have been set for MPICH.
#= = = = = = =
======================================================================
#
-----------------------------------------------------------------------
# The directory to find the required communication library include
files,
# if they are required by your system.
#
-----------------------------------------------------------------------
SYSINC = -I$(MPIINCdir)
#
---------------------------------------------------------------------------
# The Fortran 77 to C interface to be used. If you are unsure of
the correct
# setting for your platform, compile and run BLACS/INSTALL/xintface.
# Choices are: Add_, NoChange, UpCase, or f77IsF2C.
#
---------------------------------------------------------------------------
INTFACE = -DAdd_
#
------------------------------------------------------------------------
# Allows the user to vary the topologies that the BLACS default
topologies
# (TOP = ' ') correspond to. If you wish to use a particular topology
# (as opposed to letting the BLACS make the choice), uncomment the
# following macros, and replace the character in single quotes with the
# topology of your choice.
#
------------------------------------------------------------------------
# DEFBSTOP = -DDefBSTop="'1'"
# DEFCOMBTOP = -DDefCombTop="'1'"
# -------------------------------------------------------------------
# If your MPI_Send is locally-blocking, substitute the following line
# for the empty macro definition below.
# SENDIS = -DSndIsLocBlk
# -------------------------------------------------------------------
SENDIS =
# --------------------------------------------------------------------
# If your MPI handles packing of non-contiguous messages by copying to
# another buffer or sending extra bytes, better performance may be
# obtained by replacing the empty macro definition below with the
# macro definition on the following line.
# BUFF = -DNoMpiBuff
# --------------------------------------------------------------------
BUFF =
#
-----------------------------------------------------------------------
# If you know something about your system, you may make it easier
for the
# BLACS to translate between C and fortran communicators. If the empty
# macro defininition is left alone, this translation will cause the C
# BLACS to globally block for MPI_COMM_WORLD on calls to BLACS_GRIDINIT
# and BLACS_GRIDMAP. If you choose one of the options for translating
# the context, neither the C or fortran calls will globally block.
# If you are using MPICH, or a derivitive system, you can replace the
# empty macro definition below with the following (note that if you let
# MPICH do the translation between C and fortran, you must also
indicate
# here if your system has pointers that are longer than integers.
If so,
# define -DPOINTER_64_BITS=1.) For help on setting TRANSCOMM, you can
# run BLACS/INSTALL/xtc_CsameF77 and BLACS/INSTALL/xtc_UseMpich as
# explained in BLACS/INSTALL/README.
# TRANSCOMM = -DUseMpich
#
# If you know that your MPI uses the same handles for fortran and C
# communicators, you can replace the empty macro definition below with
# the macro definition on the following line.
TRANSCOMM = -DCSameF77
#
-----------------------------------------------------------------------
# TRANSCOMM =
#
--------------------------------------------------------------------------
# You may choose to have the BLACS internally call either the C or
Fortran77
# interface to MPI by varying the following macro. If TRANSCOMM is
left
# empty, the C interface BLACS_GRIDMAP/BLACS_GRIDINIT will globally-
block if
# you choose to use the fortran internals, and the fortran interface
will
# block if you choose to use the C internals. It is recommended
that the
# user leave this macro definition blank, unless there is a strong
reason
# to prefer one MPI interface over the other.
# WHATMPI = -DUseF77Mpi
# WHATMPI = -DUseCMpi
#
--------------------------------------------------------------------------
WHATMPI =
#
---------------------------------------------------------------------------
# Some early versions of MPICH and its derivatives cannot handle
user defined
# zero byte data types. If your system has this problem (compile
and run
# BLACS/INSTALL/xsyserrors to check if unsure), replace the empty macro
# definition below with the macro definition on the following line.
# SYSERRORS = -DZeroByteTypeBug
#
---------------------------------------------------------------------------
SYSERRORS =
# ------------------------------------------------------------------
# These macros set the debug level for the BLACS. The fastest
# code is produced by BlacsDebugLvl 0. Higher levels provide
# more debug information at the cost of performance. Present levels
# of debug are:
# 0 : No debug information
# 1 : Mainly parameter checking.
# ------------------------------------------------------------------
DEBUGLVL = -DBlacsDebugLvl=$(BLACSDBGLVL)
#
-------------------------------------------------------------------------
# All BLACS definitions needed for compile (DEFS1 contains
definitions used
# by all BLACS versions).
#
-------------------------------------------------------------------------
DEFS1 = -DSYSINC $(SYSINC) $(INTFACE) $(DEFBSTOP) $(DEFCOMBTOP) $
(DEBUGLVL)
BLACSDEFS = $(DEFS1) $(SENDIS) $(BUFF) $(TRANSCOMM) $(WHATMPI) $
(SYSERRORS)
#= = = = = = =
======================================================================
#=============================== End SECTION 2
===============================
#= = = = = = =
======================================================================
#= = = = = = =
======================================================================
#=========================== SECTION 3: COMPILERS
============================
#= = = = = = =
======================================================================
# The following macros specify compilers, linker/loaders, the archiver,
# and their options. Some of the fortran files need to be compiled
with no
# optimization. This is the F77NO_OPTFLAG. The usage of the remaining
# macros should be obvious from the names.
#= = = = = = =
======================================================================
F77 = mpif77
F77NO_OPTFLAGS = -O0
F77FLAGS = $(F77NO_OPTFLAGS) -O3
F77LOADER = $(F77)
F77LOADFLAGS =
CC = mpicc
CCFLAGS = -O3
CCLOADER = $(CC)
CCLOADFLAGS =
#
--------------------------------------------------------------------------
# The archiver and the flag(s) to use when building an archive
(library).
# Also the ranlib routine. If your system has no ranlib, set RANLIB
= echo.
#
--------------------------------------------------------------------------
ARCH = ar
ARCHFLAGS = r
RANLIB = ranlib
#= = = = = = =
======================================================================
#=============================== End SECTION 3
===============================
#= = = = = = =
======================================================================
############################################################################
#
# Program: ScaLAPACK
#
# Module: SLmake.inc
#
# Purpose: Top-level Definitions
#
# Creation date: February 15, 2000
#
# Modified:
#
# Send bug reports, comments or suggestions to [EMAIL PROTECTED]
#
############################################################################
#
SHELL = /bin/sh
#
# The complete path to the top level of ScaLAPACK directory, usually
# $(HOME)/SCALAPACK
#
home = $(HOME)/scalapack-1.8.0
#
# The platform identifier to suffix to the end of library names
#
PLAT = LINUX
#
# BLACS setup. All version need the debug level (0 or 1),
# and the directory where the BLACS libraries are
#
BLACSDBGLVL = 0
BLACSdir = $(HOME)/BLACS/LIB
#
# MPI setup; tailor to your system if using MPIBLACS
# Will need to comment out these 6 lines if using PVM
#
USEMPI = -DUsingMpiBlacs
SMPLIB = /opt/intel/impi/3.1.038/lib64/libmpi.a
BLACSFINIT = $(BLACSdir)/blacsF77init_MPI-LINUX-0.a
BLACSCINIT = $(BLACSdir)/blacsCinit_MPI-LINUX-0.a
BLACSLIB = $(BLACSdir)/blacs_MPI-LINUX-0.a
TESTINGdir = $(home)/TESTING
#
# PVMBLACS setup, uncomment next 6 lines if using PVM
#
#USEMPI =
#SMPLIB = $(PVM_ROOT)/lib/$(PLAT)/libpvm3.a
#BLACSFINIT =
#BLACSCINIT =
#BLACSLIB = $(BLACSdir)/blacs_PVM-$(PLAT)-$(BLACSDBGLVL).a
#TESTINGdir = $(HOME)/pvm3/bin/$(PLAT)
CBLACSLIB = $(BLACSCINIT) $(BLACSLIB) $(BLACSCINIT)
FBLACSLIB = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT)
#
# The directories to find the various pieces of ScaLapack
#
PBLASdir = $(home)/PBLAS
SRCdir = $(home)/SRC
TESTdir = $(home)/TESTING
PBLASTSTdir = $(TESTINGdir)
TOOLSdir = $(home)/TOOLS
REDISTdir = $(home)/REDIST
REDISTTSTdir = $(TESTINGdir)
#
# The fortran and C compilers, loaders, and their flags
#
F77 = mpif77
CC = mpicc
NOOPT = -O0
F77FLAGS = -O3 $(NOOPT)
CCFLAGS = -O3
SRCFLAG =
F77LOADER = $(F77)
CCLOADER = $(CC)
F77LOADFLAGS =
CCLOADFLAGS =
#
# C preprocessor defs for compilation
# (-DNoChange, -DAdd_, -DUpCase, or -Df77IsF2C)
#
CDEFS = -DAdd_ -DNO_IEEE $(USEMPI)
#
# The archiver and the flag(s) to use when building archive (library)
# Also the ranlib routine. If your system has no ranlib, set RANLIB
= echo
#
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
#
# The name of the libraries to be created/linked to
#
SCALAPACKLIB = $(home)/libscalapack.a
BLASLIB = $(HOME)/BLAS/blas_LINUX.a
LAPACKLIB = $(HOME)/lapack-3.1.1/lapack_LINUX.a
#
PBLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(LAPACKLIB) $(BLASLIB)
$(SMPLIB)
PRLIBS = $(SCALAPACKLIB) $(CBLACSLIB) $(SMPLIB)
RLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(CBLACSLIB) $
(LAPACKLIB) $(BLASLIB) $(SMPLIB)
LIBS = $(PBLIBS)
#
# 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.
#
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90
SIESTA_ARCH=x86_64-unknown-linux-gnu--Intel
FPP=
FPP_OUTPUT=
FC=mpiifort
RANLIB=ranlib
SYS=nag
SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)
FFLAGS=-g
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=$(HOME)/BLAS/blas_LINUX.a
LAPACK_LIBS=$(HOME)/lapack-3.1.1/lapack_LINUX.a
BLACS_LIBS=$(HOME)/BLACS/LIB/blacs_MPI-LINUX-0.a $(HOME)/BLACS/LIB/
blacsCinit_MPI-LINUX-0.a $(HOME)/BLACS/LIB/blacsF77init_MPI-LINUX-0.a
SCALAPACK_LIBS=$(HOME)/scalapack-1.8.0/libscalapack.a
COMP_LIBS=dc_lapack.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=libmpi_f90.a
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) $<