| 5 | 1/1 | 返回列表 |
| 查看: 1510 | 回復(fù): 4 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點(diǎn)擊這里查看本話題的所有回帖 | |||
[交流]
【求助】siesta進(jìn)行ordern計(jì)算出錯(cuò)求助
|
|||
|
Cells per Processor = 0 4 Cells per Processor = 1 0 Cells per Processor = 2 4 Cells per Processor = 3 0 Cells per Processor = 4 4 Cells per Processor = 5 0 Cells per Processor = 6 4 Cells per Processor = 7 0 Cells per Processor = 8 4 Cells per Processor = 9 0 Cells per Processor = 10 4 Cells per Processor = 11 0 Cells per Processor = 12 4 Cells per Processor = 13 0 Cells per Processor = 14 4 Cells per Processor = 15 0 Cells per Processor = 16 0 Cells per Processor = 17 0 Cells per Processor = 18 0 Cells per Processor = 19 0 Cells per Processor = 20 0 Cells per Processor = 21 0 Cells per Processor = 22 0 Cells per Processor = 23 0 Warning: Bad load balancing: no cells allocated to node 1 Try specifying a number of nodes that is an exact factor of the number of cells: 32 ERROR STOP from Node: 0 ERROR STOP from Node: 0 -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun has exited due to process rank 0 with PID 17012 on node node1 exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). -------------------------------------------------------------------------- |
» 搶金幣啦!回帖就可以得到:
+1/77
+1/71
+2/38
+1/35
+1/32
+1/18
+1/18
+1/18
+1/18
+1/12
+1/8
+1/7
+1/7
+1/6
+1/5
+1/2
+1/2
+1/2
+1/1
+1/1
至尊木蟲 (職業(yè)作家)
至尊木蟲 (職業(yè)作家)
|
實(shí)在要用ifort11.1來編譯的話,可以按照siesta官方網(wǎng)站提供的解決辦法來編譯,我的就是按他的方法成功編譯的,并行運(yùn)算沒有問題,你可以參考一下。 The Intel V11 compiler seems to have trouble compiling some of the constructs in the FoX library. We are working on finding workarounds, but for now it might be necessary to deactivate the FoX library in the Siesta building process. To do so, insert the line DUMMY_FOX= --enable-dummy in your arch.make file, and recompile Siesta (i.e, "make clean; make" .Deactivating the FoX library has two consequences: -- No SystemLabel.xml file is produced -- No pdos.xml file is produced, but the old-style xml file SystemLabel.PDOS is still produced (by the stand-alone wxml library which is still part of the Siesta distribution). The information in this file should be the same as in pdos.xml. NOTE: Depending on the patch-level of your compiler, you might be able to compile the FoX library turning off optimization. To do so, make sure that an appropriate line FFLAGS_DEBUG= -g -O0 # whatever options you might need appears in the arch.make file, and replace the following section in the main Makefile: $(FoX_configured): (cd FoX; touch arch.make ; \ CONFIGURE="$(VPATH)/FoX/configure"; \ $$CONFIGURE VPATH="$(VPATH)/FoX" \ FC="$(FC_SERIAL)" FCFLAGS="$(FFLAGS)" \ --enable-wcml $(DUMMY_FOX) || false ) by $(FoX_configured): (cd FoX; touch arch.make ; \ CONFIGURE="$(VPATH)/FoX/configure"; \ $$CONFIGURE VPATH="$(VPATH)/FoX" \ FC="$(FC_SERIAL)" FCFLAGS="$(FFLAGS_DEBUG)" \ --enable-wcml $(DUMMY_FOX) || false ) NOTE: Make sure that the space before "(cd FoX " is actually a TAB. |
至尊木蟲 (職業(yè)作家)
|
一)如果你堅(jiān)持要用intel ifort 11來進(jìn)行編譯。可以采取如下方式(siesta網(wǎng)站主頁上的方法,見http://www.icmab.es/siesta/) 在生成的arch.make文件中新加入 DUMMY_FOX= --enable-dummy FFLAGS_DEBUG= -g -O2 而后在Obj文件夾中的makefile文件修改第148-153行,將這幾行寫成如下形式 $(FoX_configured): (cd FoX; touch arch.make ; \ CONFIGURE="$(VPATH)/FoX/configure"; \ $$CONFIGURE VPATH="$(VPATH)/FoX" \ FC="$(FC_SERIAL)" FCFLAGS="$(FFLAGS_DEBUG)" \ --enable-wcml $(DUMMY_FOX) || false ) 注意(cd FoX; touch arch.make ; \這一行前是一個(gè)Tab空格,而不是一個(gè)space空格 將這兩個(gè)地方修改好后, make clen make 之后生成的siesta可執(zhí)行文件并行計(jì)算不會(huì)出現(xiàn)問題。但要注意的是,arch.make文件中的優(yōu)化級(jí)別是FFLAGS=-g -O2或FFLAGS=-g -O1或FFLAGS=-g -O0,不能是FFLAGS=-g -O3,我試了一下FFLAGS=-g -O3,發(fā)現(xiàn)計(jì)算過程中出現(xiàn)下面的錯(cuò)誤 SPLIT: Orbitals with angular momentum L= 0 SPLIT: Basis orbitals for state 4s izeta = 1 lambda = 1.000000 rc = 6.000769 energy = -0.359899 kinetic = 0.368794 potential(screened) = -0.728693 potential(ionic) = -6.200046 WARNING: Minimum split_norm parameter: 0.52689. Will not be able to generate orbital with split_norm = 0.15000 See manual for new split options ERROR STOP from Node: 0 當(dāng)改用FFLAGS=-g -O2和FFLAGS=-g -O0或FFLAGS=-g -O1之后則沒用出現(xiàn)類似的錯(cuò)誤提示,具體原因我就沒去深究了。當(dāng)然不同的優(yōu)化級(jí)別在計(jì)算時(shí)間上會(huì)有一些差異。 比如用FFLAGS=-g -O2時(shí),運(yùn)行時(shí)間如下(用的Fe.fdf例子) * Running on 8 nodes in parallel >> Start of run: 6-DEC-2010 17:19:33 >> End of run: 6-DEC-2010 17:27:54 當(dāng)改用FFLAGS=-g -O0時(shí),運(yùn)行時(shí)間如下(用的Fe.fdf例子) * Running on 8 nodes in parallel >> Start of run: 6-DEC-2010 16:48:25 >> End of run: 6-DEC-2010 16:58:58 (二)如果你不使用ifort11編譯器,而是使用ifort10或以下的版本,建議配合使用openmpi來進(jìn)行并行計(jì)算。 1)安裝openmpi,詳細(xì)步驟不說了,只是在configure的時(shí)候我使用的是如下的命令: ./configure --prefix=要安裝的目錄 F77=ifort FC=ifort FCFLAGS=-em64t FFLAGS=-em64t FCFLAGS和FFLAGS是告訴編譯器用的是64位的編譯器,如果機(jī)器不是64位的就不用了。 make make install 安裝完成后還得添加環(huán)境變量,至于怎么添加,網(wǎng)上很多,搜索一下就知道了。 2)編譯siesta 步驟就寫了,大家都知道。下面是我的arch.make文件 # # 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=x86_64-unknown-linux-gnu--unknown FPP= FPP_OUTPUT= FC=mpif90 RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) FFLAGS=-g -O2 #-i-static FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DMPI LDFLAGS= FFLAGS_DEBUG= -g -O2 # whatever options you might need,guohuazhong DUMMY_FOX= --enable-dummy # whatever options you might need,guohuazhong ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= BLAS_LIBS=-L/public/software/intel/Compiler/11.1/059/mkl/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_lapack -lmkl_core -lguide -pthread LAPACK_LIBS=-L/public/software/intel/Compiler/11.1/059/mkl/lib/em64t -lmkl_sequential -lmkl_core -pthread BLACS_LIBS=-L/public/software/intel/Compiler/11.1/059/mkl/lib/em64t -lmkl_blacs_openmpi_lp64 -pthread SCALAPACK_LIBS=-L/public/software/intel/Compiler/11.1/059/mkl/lib/em64t -lmkl_scalapack_lp64 -pthread COMP_LIBS= COMP_LIBS=dc_lapack.a liblapack.a libblas.a ######guohuazhong screened 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=/public/software/mpi/openmpi1.4.2-intel/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) $< 編譯成功,祝好運(yùn)! |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 293求調(diào)劑 +7 | zjl的號(hào) 2026-03-16 | 12/600 |
|
|---|---|---|---|---|
|
[考研] 0703化學(xué)336分求調(diào)劑 +4 | zbzihdhd 2026-03-15 | 5/250 |
|
|
[碩博家園] 湖北工業(yè)大學(xué) 生命科學(xué)與健康學(xué)院-課題組招收2026級(jí)食品/生物方向碩士 +3 | 1喜春8 2026-03-17 | 5/250 |
|
|
[考研] 312求調(diào)劑 +4 | 陌宸希 2026-03-16 | 5/250 |
|
|
[考研] 26考研求調(diào)劑 +6 | 丶宏Sir 2026-03-13 | 6/300 |
|
|
[考研] 梁成偉老師課題組歡迎你的加入 +8 | 一鴨鴨喲 2026-03-14 | 10/500 |
|
|
[考研] 工科材料085601 279求調(diào)劑 +3 | 困于星晨 2026-03-17 | 3/150 |
|
|
[考研] 285化工學(xué)碩求調(diào)劑(081700) +9 | 柴郡貓_ 2026-03-12 | 9/450 |
|
|
[考研] 267一志愿南京工業(yè)大學(xué)0817化工求調(diào)劑 +6 | SUICHILD 2026-03-12 | 6/300 |
|
|
[考研] 0703一志愿211 285分求調(diào)劑 +5 | ly3471z 2026-03-13 | 5/250 |
|
|
[考研] 070303 總分349求調(diào)劑 +3 | LJY9966 2026-03-15 | 5/250 |
|
|
[教師之家] 焦慮 +7 | 水冰月月野兔 2026-03-13 | 9/450 |
|
|
[基金申請(qǐng)] 現(xiàn)在如何回避去年的某一個(gè)專家,不知道名字 +3 | zk200107 2026-03-12 | 6/300 |
|
|
[考研] 復(fù)試調(diào)劑 +4 | z1z2z3879 2026-03-14 | 5/250 |
|
|
[考研] 材料與化工求調(diào)劑一志愿 985 總分 295 +8 | dream…… 2026-03-12 | 8/400 |
|
|
[考研] 304求調(diào)劑 +7 | 7712b 2026-03-13 | 7/350 |
|
|
[考研] 333求調(diào)劑 +3 | 球球古力 2026-03-11 | 3/150 |
|
|
[考研] 314求調(diào)劑 +7 | 無懈可擊的巨人 2026-03-12 | 7/350 |
|
|
[考研] 土木第一志愿276求調(diào)劑,科研和技能十分豐富,求新興方向的導(dǎo)師收留 +3 | 土木小天才 2026-03-12 | 3/150 |
|
|
[考研] 070303一志愿西北大學(xué)學(xué)碩310找調(diào)劑 +3 | d如愿上岸 2026-03-13 | 3/150 |
|