查看: 1700  |  回复: 15
当前主题已经存档。

newness

铜虫 (小有名气)


wuli8(金币+1):谢谢参与
楼主编译好了没?我在集群上编译,也碰到一样的问题,不知怎么解决了。
我们的计算机系统:rocks 3.3,  比较老了,自带编译器ifort8.1,装wien2k_09,反复编译两天啦,搞不定了啊
Compile time errors (if any) were:
SRC_2Doptimize/compile.msg:make: *** [../fminenefitcoa] Error 1
SRC_afminput/compile.msg:make: *** [afminput] Error 1
SRC_aim/compile.msg:make[1]: *** [aim] Error 1
SRC_aim/compile.msg:make: *** [real] Error 2
SRC_aim/compile.msg:make[1]: *** [aimc] Error 1
SRC_aim/compile.msg:make: *** [complex] Error 2
SRC_arrows/compile.msg:make: *** [arrows] Error 1
SRC_balsac-utils/compile.msg:make: *** [../outnn2plt] Error 1
SRC_broadening/compile.msg:make: *** [broadening] Error 1
SRC_cif2struct/compile.msg:make: *** [cif2struct] Error 1
SRC_clmaddsub/compile.msg:make: *** [clmaddsub] Error 1
SRC_clmcopy/compile.msg:make: *** [clmcopy] Error 1
SRC_dstart/compile.msg:make: *** [dstart] Error 1
SRC_elast/compile.msg:make: *** [../genetempl] Error 1
SRC_eosfit6/compile.msg:make: *** [eosfit6] Error 1
SRC_eosfit/compile.msg:make: *** [eosfit] Error 1
SRC_filtvec/compile.msg:make[1]: *** [filtvec] Error 1
SRC_filtvec/compile.msg:make: *** [real] Error 2
SRC_filtvec/compile.msg:make[1]: *** [filtvecc] Error 1
SRC_filtvec/compile.msg:make: *** [complex] Error 2
SRC_fsgen/compile.msg:make: *** [../bcc_fs_mesh] Error 1
SRC_initelnes/compile.msg:make: *** [initelnes] Error 1
SRC_initxspec/compile.msg:make: *** [initxspec] Error 1
SRC_irrep/compile.msg:make: *** [irrep] Error 1
SRC_joint/compile.msg:make: *** [joint] Error 1
SRC_kgen/compile.msg:make: *** [kgen] Error 1
SRC_kram/compile.msg:make: *** [kram] Error 1
SRC_lapw0/compile.msg:make[1]: *** [lapw0] Error 1
SRC_lapw0/compile.msg:make: *** [seq] Error 2
SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 19: Cannot open include file 'mpif.h'
SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 45: Cannot open include file 'mpif.h'
SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 20: This name does not have a type, and must have an explicit type.   [MPI_STATUS_SIZE]
SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 20: The highest data type rank permitted is INTEGER(KIND=8).   [MPI_STATUS_SIZE]
SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 22: This name does not have a type, and must have an explicit type.   [MPI_SUCCESS]
SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 26: This name does not have a type, and must have an explicit type.   [MPI_COMM_WORLD]
SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 47: This name does not have a type, and must have an explicit type.   [MPI_UNDEFINED]
SRC_lapw0/compile.msg:make[1]: *** [modules.o] Error 1
SRC_lapw0/compile.msg:make: *** [para] Error 2
SRC_lapw1/compile.msg:make[1]: *** [lapw1] Error 1
SRC_lapw1/compile.msg:make: *** [real] Error 2
SRC_lapw1/compile.msg:make[1]: *** [lapw1c] Error 1
SRC_lapw1/compile.msg:make: *** [complex] Error 2
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 33: Cannot open include file 'mpif.h'
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 68: Cannot open include file 'mpif.h'
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 173: Cannot open include file 'mpif.h'
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 183: Cannot open include file 'mpif.h'
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 192: Cannot open include file 'mpif.h'
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 36: This name does not have a type, and must have an explicit type.   [MPI_COMM_WORLD]
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 229: Error in opening the Library module file.   [PARALLEL]
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 304: Error in opening the Library module file.   [PARALLEL]
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 322: Error in opening the Library module file.   [PARALLEL]
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 234: Conflicting attributes or multiple declaration of name.   [ICTXTALL]
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 241: Conflicting attributes or multiple declaration of name.   [ICTXTALL]
SRC_lapw1/compile.msg:fortcom: Error: modules_tmp_.F, line 229: Name in only-list does not exist.   [ICTXTALL]
可见百川东到海 飘逸自随青山成
11楼2009-05-03 10:13:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangyunli

金虫 (正式写手)

★ ★ ★ ★ ★ ★
wuli8(金币+1):谢谢参与
wuli8(金币+5,VIP+0):谢谢。 5-3 10:43
安装mpich2后并行时使用mpif90编辑器即可
12楼2009-05-03 10:43:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuchenwf

荣誉版主 (职业作家)


fegg7502(金币+1,VIP+0):鼓励交流! 5-4 05:33
顶一下
楼上说的确实 mpich2 装好之后就用mpif90
13楼2009-05-03 23:32:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

newness

铜虫 (小有名气)


qasd(金币+1,VIP+0):xiexie~ 5-6 20:09
rocks cluster 3.3系统自带mpich,里面能搜索到mpif90,并行时用mpif90,我在Ldflags设置了mpif90的路径,可为什么编译报错说找不到mpif90呢?
可见百川东到海 飘逸自随青山成
14楼2009-05-05 23:20:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

veryman

木虫 (正式写手)

$_$

引用回帖:
Originally posted by wuli8 at 2009-3-8 14:31:
如果是这样的配置:
RP  RP_LIB(SCALAPACK+PBLAS):  -L/opt/intel/MKL/10.5.025/em64t -lmkl_intel_lp64 -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_sequential -L /opt/local/fftw/lib/ ...

里面说找不到mpif.h~
wuli8大您说怎么办哩?
15楼2009-05-06 07:40:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

newness

铜虫 (小有名气)

★ ★ ★
wuli8(金币+3,VIP+0):3ks 8-27 15:48
把mpi所在路径写进.bash_profile 里试试看,如PATH=$PATH:$HOME/bin:/opt/mpich/intel/bin:/opt/intel_fc_80/bin;
可见百川东到海 飘逸自随青山成
16楼2009-05-08 14:59:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 wuli8 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见