| 查看: 1020 | 回复: 0 | |||
[资源]
【原创】并行平台构建与管理[4]:并行测试 atlas+hpl 测试之安装(1)
|
|
经过几天的试验和努力,同时得到鸟哥的指点,终于装好了这个东西。为了不至于马上忘记,赶紧将如何安装记录下来,让更多的人掌握这个技术文档。同时在此非常感谢鸟哥(vbird)。 我们的平台: AMD4000+ MPI1.4.7 PGI 1、到 https://sourceforge.net/project/showfiles.php?group_id=23725 下载 atlas3.6.0.tar.gz 文档 2、到 http://www.netlib.org/benchmark/hpl/index.html 下载 hpl.tgz 文档 3、在普通用户下用命令 tar -zxvf **将两个文件解压,就会看见ATLAS和hpl两个文件夹。 4、现安装atlas,进入ATLAS,用make config CC=/usr/mpich/bin/mpicc(CC所等的是编译器地址,各台机器不尽相同,我试了gcc好像不行),然后会出一些选择,一般默认即可,注意architecture这里的多少位的选择,一般先在新出的大多为64位的。我的是64位,architecture用默认的Linux_HAMMER64SSE2_2。 5、然后就对Make..Linux_HAMMER64SSE2_2作一定的修改,主要是对编译器路径的修改,见附件。 6、修改好以后,make install arch=Linux_HAMMER64SSE2_2,一般就会成功。如果失败,建议删除整个ATLAS,再从头来,每一步都要更仔细就好,多试几下是有好处的。 附录: # ----------------------------- # Make.ARCH for ATLAS3.6.0 # ----------------------------- # ---------------------------------- # Make sure we get the correct shell # ---------------------------------- SHELL = /bin/sh # ------------------------------------------------- # Name indicating the platform to configure BLAS to # ------------------------------------------------- ARCH = Linux_HAMMER64SSE2_2 # ------------------- # Various directories # ------------------- TOPdir = /home/tfbao/ATLAS INCdir = $(TOPdir)/include/$(ARCH) SYSdir = $(TOPdir)/tune/sysinfo/$(ARCH) GMMdir = $(TOPdir)/src/blas/gemm/$(ARCH) UMMdir = $(GMMdir) GMVdir = $(TOPdir)/src/blas/gemv/$(ARCH) GR1dir = $(TOPdir)/src/blas/ger/$(ARCH) L1Bdir = $(TOPdir)/src/blas/level1/$(ARCH) L2Bdir = $(TOPdir)/src/blas/level2/$(ARCH) L3Bdir = $(TOPdir)/src/blas/level3/$(ARCH) TSTdir = $(TOPdir)/src/testing/$(ARCH) AUXdir = $(TOPdir)/src/auxil/$(ARCH) CBLdir = $(TOPdir)/interfaces/blas/C/src/$(ARCH) FBLdir = $(TOPdir)/interfaces/blas/F77/src/$(ARCH) BINdir = $(TOPdir)/bin/$(ARCH) LIBdir = $(TOPdir)/lib/$(ARCH) PTSdir = $(TOPdir)/src/pthreads MMTdir = $(TOPdir)/tune/blas/gemm/$(ARCH) MVTdir = $(TOPdir)/tune/blas/gemv/$(ARCH) R1Tdir = $(TOPdir)/tune/blas/ger/$(ARCH) L1Tdir = $(TOPdir)/tune/blas/level1/$(ARCH) L3Tdir = $(TOPdir)/tune/blas/level3/$(ARCH) # --------------------------------------------------------------------- # Name and location of scripts for running executables during tuning # --------------------------------------------------------------------- ATLRUN = $(BINdir)/ATLrun.sh ATLFWAIT = $(BINdir)/xatlas_waitfile # --------------------- # Libraries to be built # --------------------- ATLASlib = $(LIBdir)/libatlas.a CBLASlib = $(LIBdir)/libcblas.a F77BLASlib = $(LIBdir)/libf77blas.a PTCBLASlib = $(LIBdir)/libptcblas.a PTF77BLASlib = $(LIBdir)/libptf77blas.a LAPACKlib = $(LIBdir)/liblapack.a TESTlib = $(LIBdir)/libtstatlas.a # ------------------------------------------- # Upper bound on largest cache size, in bytes # ------------------------------------------- L2SIZE = -DL2SIZE=1048576 # --------------------------------------- # Command setting up correct include path # --------------------------------------- INCLUDES = -I$(TOPdir)/include -I$(TOPdir)/include/$(ARCH) \ -I$(TOPdir)/include/contrib # ------------------------------------------- # Defines for setting up F77/C interoperation # ------------------------------------------- F2CDEFS = -DAdd__ -DStringSunStyle # -------------------------------------- # Special defines for user-supplied GEMM # -------------------------------------- UMMDEFS = # ------------------------------ # Architecture identifying flags # ------------------------------ ARCHDEFS = -DATL_OS_Linux -DATL_ARCH_HAMMER64 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8664 -m64 # ------------------------------------------------------------------- # NM is the flag required to name a compiled object/executable # OJ is the flag required to compile to object rather than executable # These flags are used by all compilers. # ------------------------------------------------------------------- NM = -o OJ = -c # --------------------------------------------------------------------------- # Fortran 77 compiler and the flags to use. Presently, ATLAS does not itself # use any Fortran 77, but vendor BLAS are typically written for Fortran, so # any links that include non-ATLAS BLAS will use FLINKER instead of CLINKER # --------------------------------------------------------------------------- F77 = /usr/mpich/bin/mpif77 F77FLAGS = -fomit-frame-pointer -O -m64 FLINKER = $(F77) FLINKFLAGS = $(F77FLAGS) FCLINKFLAGS = $(FLINKFLAGS) # --------------------------------------------------------------------------- # Various C compilers, and the linker to be used when we are not linking in # non-ATLAS BLAS (which usually necessitate using the Fortran linker). # The C compilers recognized by ATLAS are: # CC : Compiler to use to compile regular, non-generated code # MCC : Compiler to use to compile generated, highly-optimized code # XCC : Compiler to be used on the compile engine of a cross-compiler # These will typically all be the same. An example of where this is not # the case would be DEC ALPHA 21164, where you want to use gcc for MCC, # because DEC's cc does not allow the programmer access to all 32 floating # point registers. However, on normal C code, DEC's cc produces much faster # code than gcc, so you CC set to cc. Of course, any system where you are # cross-compiling, you will need to set XCC differently than CC & MCC. # --------------------------------------------------------------------------- CDEFS = $(L2SIZE) $(INCLUDES) $(F2CDEFS) $(ARCHDEFS) -DATL_NCPU=2 GCCdir = /usr/bin GOODGCC = /usr/mpich/bin/mpicc CC = /usr/mpich/bin/mpicc CCFLAG0 = -fomit-frame-pointer -O -mfpmath=387 -m64 CCFLAGS = $(CDEFS) $(CCFLAG0) MCC = /usr/mpich/bin/mpicc MMFLAGS = -fomit-frame-pointer -O -mfpmath=387 -m64 XCC = /usr/mpich/bin/mpicc XCCFLAGS = $(CDEFS) -fomit-frame-pointer -O -mfpmath=387 -m64 CLINKER = $(CC) CLINKFLAGS = $(CCFLAGS) BC = $(CC) BCFLAGS = $(CCFLAGS) ARCHIVER = ar ARFLAGS = r RANLIB = echo # ------------------------------------- # tar, gzip, gunzip, and parallel make # ------------------------------------- TAR = /bin/tar GZIP = /bin/gzip GUNZIP = /bin/gunzip PMAKE = $(MAKE) -j 2 # ------------------------------------ # Reference and system libraries # ------------------------------------ BLASlib = FBLASlib = FLAPACKlib = LIBS = -lpthread -lm # ---------------------------------------------------------- # ATLAS install resources (include arch default directories) # ---------------------------------------------------------- ARCHDEF = $(TOPdir)/CONFIG/ARCHS/HAMMER64SSE2/gcc/misc MMDEF = $(TOPdir)/CONFIG/ARCHS/HAMMER64SSE2/gcc/gemm INSTFLAGS = # --------------------------------------- # Generic targets needed by all makefiles # --------------------------------------- waitfile: |
» 猜你喜欢
🌟 比利时新鲁汶大学(UCLouvain)诚邀CSC博士加入Pascal Gehring教授团队
已经有0人回复
第一性原理计算方向2026级博士申请 PRB*1,四级484
已经有1人回复
物理学I论文润色/翻译怎么收费?
已经有287人回复
求助VISSIM破解版软件
已经有0人回复
求2026年在台湾举行的物理和材料领域国际学术会议信息
已经有0人回复
求国际会议网站
已经有1人回复
求取一些关于纳米材料和纳米技术相关的英文PPT。
已经有0人回复
【复旦大学】二维材料方向招收2026年博士研究生1名
已经有0人回复
北京纳米能源与系统研究所 王中林院士/曹南颖研究员课题组2026级硕/博/博后招生
已经有10人回复
荷兰Utrecht University超快太赫兹光谱王海教授课题招收2026 CSC博士生
已经有12人回复
找到一些相关的精华帖子,希望有用哦~
【求助】“脉冲交流直流并联叠加测试的方法”怎么翻译
已经有2人回复
刚做了原子力显微镜测试(AFM)不知道怎么作图啊
已经有14人回复
FLUENT读取并行case自动删除文件
已经有3人回复
关于PN结组装和IV曲线测试的问题
已经有4人回复
vasp并行测试时出错。
已经有7人回复
cp2k并行编译出错
已经有3人回复
请问MS-linux-cluster安装之后无法并行的问题?
已经有5人回复
【ghcacj个人文集】单机环境下安装openmpi使用Orca并行运算的方法介绍
已经有12人回复
【原创】并行平台构建与管理汇总
已经有4人回复
【原创】并行平台构建与管理[10]:强行删除pbs作业方式
已经有5人回复
【原创】并行平台构建与管理[1]:资金预算与配置
已经有3人回复
【资源】上传一本工业界及INL电池寿命测试手册
已经有4人回复
【求助/交流】微生物测试原子力显微镜如何制样好?
已经有5人回复
科研从小木虫开始,人人为我,我为人人














回复此楼
点击这里搜索更多相关资源