分类: LINUX
2010-12-29 19:32:20
source /opt/intel/Compiler/11.1/072/bin/intel64/ifortvars_intel64.sh |
export PATH=$PATH:/opt/mpich2-1.3.1/bin |
# # 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- . # # 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=ifort14-mpich2 FPP= FPP_OUTPUT= FC=mpif90 RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) DUMMY_FOX=--enable-dummy FFLAGS=-O2 -mp1 -pad -ip FPPFLAGS=-DMPI # add -DMPI to enable MPI LDFLAGS=$(FFLAGS) ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= MKLPATH=/opt/intel/mkl/lib/intel64 BLAS_LIBS=-lmkl_blas95_lp64 LAPACK_LIBS=-lmkl_lapack95_lp64 BLACS_LIBS=-lmkl_blacs_intelmpi_lp64 SCALAPACK_LIBS=-lmkl_scalapack_lp64 ADD_LIBS=-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lmkl_intel_thread COMP_LIBS= NETCDF_LIBS= NETCDF_INTERFACE= LIBS=-L$(MKLPATH) $(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS) $(ADD_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=/opt/mpich2-1.5/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) $< |
Siesta Version: siesta-3.0-rc2 |
chinaunix网友2010-12-30 14:08:56
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com