dear Gino
It is ok for SGI altix.
But you need compile yourself BLACS and scalapack which is useful for this
system.
Of course, you can find some useful information from this file for compiling
BLACS and scalapack.
# 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=itanium2
#
# Serial compilation
#
FC=ifort -Vaxlib -no-ipo -mp1
#
FC_ASIS=$(FC)
#
FFLAGS= -O2 -tpp2 -W0
FFLAGS_DEBUG= -g -O0
LDFLAG=#-Vaxlib
RANLIB=echo
LAPACK=-L/opt/intel/mkl/8.0/lib/64 -lmkl_lapack64 -lmkl -lguide -lpthread
DEFS=-DMPI -DNODAT -DWXML_INIT_FIX -DHAS_DLAMC3 -DALLOC_SAVE_BUG
MPI_INTERFACE=libmpi_f90.a
#
MPI_INCLUDE=/usr/include/mpif.h
#
MPI_LIBS=-L/usr/lib -lmpi
# -lmpichf90 -lfmpich -lmpich -lmpichcxx
BLACS_LIBS=$(HOME)/BLACS/LIB/blacsCinit_MPI-LINUX-0.a \
$(HOME)/BLACS/LIB/blacsF77init_MPI-LINUX-0.a \
$(HOME/BLACS/LIB/blacs_MPI-LINUX-0.a
SCALAPACK_LIBS=-L$(HOME)/scalapack-1.7.4 -lscalapack
#
LIBS= $(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK) \
$(MPI_LIBS) $(NETCDF_LIBS)
SYS=bsd
DEFS=-DMPI -DNODAT -DWXML_INIT_FIX -DHAS_DLAMC3 -DALLOC_SAVE_BUG
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) $<
#
ChunshengGUO 50005568
2007-08-15
发件人: DiLabio, Gino
发送时间: 2007-08-15 01:21:56
收件人: [email protected]
抄送:
主题: [SIESTA-L] make file for SGI altix
Hello,
Does anyone out there have a working make file for SGI’s altix? I have had a
hard time getting siesta compiled on my machine using MPI and intel fortran 90.
Thanks,
Gino.