| 5 | 1/1 | 返回列表 |
| 查看: 1523 | 回復(fù): 4 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | |||
[交流]
【求助】siesta進行ordern計算出錯求助
|
|||
|
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). -------------------------------------------------------------------------- |
» 搶金幣啦!回帖就可以得到:
+2/116
+1/90
+1/81
+1/74
+1/74
+1/63
+2/58
+2/38
+1/31
+1/15
+1/14
+1/11
+1/11
+1/10
+1/7
+1/6
+1/5
+1/4
+1/2
+1/1
至尊木蟲 (職業(yè)作家)
|
一)如果你堅持要用intel ifort 11來進行編譯。可以采取如下方式(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 ; \這一行前是一個Tab空格,而不是一個space空格 將這兩個地方修改好后, make clen make 之后生成的siesta可執(zhí)行文件并行計算不會出現(xiàn)問題。但要注意的是,arch.make文件中的優(yōu)化級別是FFLAGS=-g -O2或FFLAGS=-g -O1或FFLAGS=-g -O0,不能是FFLAGS=-g -O3,我試了一下FFLAGS=-g -O3,發(fā)現(xiàn)計算過程中出現(xiàn)下面的錯誤 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)類似的錯誤提示,具體原因我就沒去深究了。當(dāng)然不同的優(yōu)化級別在計算時間上會有一些差異。 比如用FFLAGS=-g -O2時,運行時間如下(用的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時,運行時間如下(用的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來進行并行計算。 1)安裝openmpi,詳細步驟不說了,只是在configure的時候我使用的是如下的命令: ./configure --prefix=要安裝的目錄 F77=ifort FC=ifort FCFLAGS=-em64t FFLAGS=-em64t FCFLAGS和FFLAGS是告訴編譯器用的是64位的編譯器,如果機器不是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è)作家)
至尊木蟲 (職業(yè)作家)
|
實在要用ifort11.1來編譯的話,可以按照siesta官方網(wǎng)站提供的解決辦法來編譯,我的就是按他的方法成功編譯的,并行運算沒有問題,你可以參考一下。 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. |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 289求調(diào)劑 +3 | 懷瑾握瑜l 2026-03-20 | 3/150 |
|
|---|---|---|---|---|
|
[基金申請]
學(xué)校已經(jīng)提交到NSFC,還能修改嗎?
40+4
|
babangida 2026-03-19 | 8/400 |
|
|
[考研] 求調(diào)劑 +4 | Mqqqqqq 2026-03-19 | 4/200 |
|
|
[考研]
|
簡木ChuFront 2026-03-19 | 7/350 |
|
|
[考研] 294求調(diào)劑材料與化工專碩 +14 | 陌の森林 2026-03-18 | 14/700 |
|
|
[考研] 328求調(diào)劑,英語六級551,有科研經(jīng)歷 +4 | 生物工程調(diào)劑 2026-03-16 | 12/600 |
|
|
[考研] 0817調(diào)劑 +3 | 沒有答案_ 2026-03-14 | 3/150 |
|
|
[考研] 【同濟軟件】軟件(085405)考研求調(diào)劑 +3 | 2026eternal 2026-03-18 | 3/150 |
|
|
[考研] 311求調(diào)劑 +6 | 26研0 2026-03-15 | 6/300 |
|
|
[考研] 302求調(diào)劑 +10 | 呼呼呼。。。。 2026-03-17 | 10/500 |
|
|
[考研] 278求調(diào)劑 +5 | 煙火先于春 2026-03-17 | 5/250 |
|
|
[考研] 334求調(diào)劑 +3 | 志存高遠意在機?/a> 2026-03-16 | 3/150 |
|
|
[考研] 考研求調(diào)劑 +3 | 橘頌. 2026-03-17 | 4/200 |
|
|
[考研] 材料專碩326求調(diào)劑 +6 | 墨煜姒莘 2026-03-15 | 7/350 |
|
|
[考研] 290求調(diào)劑 +3 | p asserby. 2026-03-15 | 4/200 |
|
|
[考研] 一志愿蘇州大學(xué)材料工程(085601)專碩有科研經(jīng)歷三項國獎兩個實用型專利一項省級立項 +6 | 大火山小火山 2026-03-16 | 8/400 |
|
|
[考研] 材料工程專碩274一志愿211求調(diào)劑 +6 | 薛云鵬 2026-03-15 | 6/300 |
|
|
[考研] 一志愿,福州大學(xué)材料專碩339分求調(diào)劑 +3 | 木子momo青爭 2026-03-15 | 3/150 |
|
|
[考研] 085601材料工程315分求調(diào)劑 +3 | yang_0104 2026-03-15 | 3/150 |
|
|
[考研] 招收0805(材料)調(diào)劑 +3 | 18595523086 2026-03-13 | 3/150 |
|