| 查看: 794 | 回复: 5 | |||
| 当前主题已经存档。 | |||
| 【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 pengdou 的 20 个金币 | |||
pengdou至尊木虫 (正式写手)
|
[交流]
【求助】关于siesta3.0并行 编译的问题
|
||
|
请教大家: 我在并行编译siesta3.0时出现以下问题: Compilation architecture to be used: i686-pc-linux-gnu--Intel If this is not what you want, create the right arch.make file using the models in Src/Sys Hit ^C to abort... (cd FoX; touch arch.make ; \ CONFIGURE="/home/doukp/Siesta/parall/siesta-3.0-b/Src/FoX/configure"; \ $CONFIGURE VPATH="/home/doukp/Siesta/parall/siesta-3.0-b/Src/FoX" \ FC="/opt/openmpi/bin/mpif90" FCFLAGS="-g -O2" \ --enable-wcml || false ) checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for linker flag to name executables... -o checking for Fortran compiler default output file name... conftest checking whether the Fortran compiler works... configure: error: cannot run Fortran compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make: *** [FoX/.config] 错误 但是我串行编译siesta3.0,没出错,这是怎么回事啊 |
» 猜你喜欢
Bioresource Technology期刊,第一次返修的时候被退回好几次了
已经有6人回复
2025冷门绝学什么时候出结果
已经有4人回复
真诚求助:手里的省社科项目结项要求主持人一篇中文核心,有什么渠道能发核心吗
已经有8人回复
寻求一种能扛住强氧化性腐蚀性的容器密封件
已经有5人回复
论文投稿,期刊推荐
已经有6人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有4人回复
孩子确诊有中度注意力缺陷
已经有14人回复
请问下大家为什么这个铃木偶联几乎不反应呢
已经有5人回复
请问有评职称,把科研教学业绩算分排序的高校吗
已经有5人回复
天津工业大学郑柳春团队欢迎化学化工、高分子化学或有机合成方向的博士生和硕士生加入
已经有4人回复
pengdou
至尊木虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 22671.7
- 帖子: 957
- 在线: 182小时
- 虫号: 461689
- 注册: 2007-11-18
- 专业: 凝聚态物性 II :电子结构
附arch.mke文件
|
我的arch.makes是 FPP= FPP_OUTPUT= FC=/opt/openmpi/bin/mpif90 RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) FFLAGS=-g -O2 FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT LDFLAGS= ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= #BLAS_LIBS=-lmkl_ia32 -lguide -lpthread #LAPACK_LIBS=-L/opt/intel/mkl/10.0.2.018 b/32 #BLACS_LIBS= #SCALAPACK_LIBS= #SCA=-L/opt/intel/mkl/10.0.2.018 b/32 -lscalapack -lblacs -lmkl_ia32 -llapack -lguide #SCA=-L/opt/intel/mkl/10.0.2.018 b/32 -lscalapack -lblacs -lmkl_ia32 -lguide SCA=-L/opt/intel/mkl/10.0.2.018 b/32 -lmkl_scalapack -lmkl_blacs_openmpi -lmkl_ia32 -lguide -lpthread #COMP_LIBS=dc_lapack.a liblapack.a libblas.a NETCDF_LIBS= NETCDF_INTERFACE= LIBS=$(SCA) $(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=/opt/openmpi/include DEFS_MPI=-DMPI DEFS= $(DEFS_MPI) #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) $(DEFS) $< .F90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $(DEFS) $< .f.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $< .f90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $< |
2楼2010-01-13 20:03:25
pengdou
至尊木虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 22671.7
- 帖子: 957
- 在线: 182小时
- 虫号: 461689
- 注册: 2007-11-18
- 专业: 凝聚态物性 II :电子结构
config.log
|
In config.log,it show: ..... configure:2078: result: conftest configure:2083: checking whether the Fortran compiler works configure:2093: ./conftest ./conftest: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory configure:2096: $? = 127 configure:2105: error: cannot run Fortran compiled programs. If you meant to cross compile, use `--host'. ...... |
3楼2010-01-13 21:18:19
fuzp
铁杆木虫 (正式写手)
- 应助: 12 (小学生)
- 金币: 5745.3
- 散金: 139
- 红花: 12
- 帖子: 555
- 在线: 72.8小时
- 虫号: 422943
- 注册: 2007-07-19
- 性别: GG
- 专业: 无机非金属类光电信息与功
★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
pengdou(金币+10,VIP+0):谢谢捧场 1-14 09:07
aylayl08(金币+2,VIP+0):谢谢提示 1-14 09:09
pengdou(金币+10,VIP+0):谢谢捧场 1-14 09:07
aylayl08(金币+2,VIP+0):谢谢提示 1-14 09:09
|
从错误上看,checking whether the Fortran compiler works... configure: error: cannot run Fortran compiled programs. 应该是你的编译器不正常,既然提示说 libmpi_f90.so.0找不到,那就看看这个有没有。 也可以换库文件看看。BLAS_LIBS, LAPACK_LIBS, BLACS_LIBS, SCALAPACK_LIBS这些,可以试试系统自带的库。 |
4楼2010-01-14 08:54:28
pengdou
至尊木虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 22671.7
- 帖子: 957
- 在线: 182小时
- 虫号: 461689
- 注册: 2007-11-18
- 专业: 凝聚态物性 II :电子结构
5楼2010-01-14 09:09:17
6楼2010-03-24 19:23:33













回复此楼