当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : How
帖子发表于 : 2009-04-19 17:24 
头像

注册: 2007-01-15 14:53
帖子: 81
地址: Hsiakuanin Univ.&Pentacham Univ.
送出感谢: 0 次
接收感谢: 0 次
g
g
g
g
g
g


_________________
ubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntu


最后由 langshah 编辑于 2014-02-19 3:52,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: How to use Intel Fortran with MKL(原创)
帖子发表于 : 2009-05-25 6:35 

注册: 2008-12-25 13:57
帖子: 9
送出感谢: 0 次
接收感谢: 0 次
你是64位处理器马?
这个装好之后你能不能用pathf95命令?

谢谢


页首
 用户资料  
 
3 楼 
 文章标题 : Re: How to use Intel Fortran with MKL(原创)
帖子发表于 : 2009-05-25 12:49 
头像

注册: 2007-01-15 14:53
帖子: 81
地址: Hsiakuanin Univ.&Pentacham Univ.
送出感谢: 0 次
接收感谢: 0 次
sgog 写道:
你是64位处理器马?
这个装好之后你能不能用pathf95命令?

谢谢


pathf95命令?呵呵,没用过,我编译了很多f90还是可以的.我用的是64位的版本


_________________
ubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntubuntu


页首
 用户资料  
 
4 楼 
 文章标题 : Re: How to use Intel Fortran with MKL(原创)
帖子发表于 : 2009-09-05 4:59 

注册: 2009-02-07 3:49
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
我在使用Intel Math Kernel Library的时候遇到了一个问题,编译输出如下:

yuan@ubuntu:~/Desktop/ambig$ make
ifort -extend_source -w -I/usr/include/cfitsio -O3 -ipo -axS -o ambig
ambig.f boxit.f buffer.f sortrx.f nacute2.f nacute5.f nacute6.f
pacute.f potential.f printerror.f rd_field.f rd_fits.f rd_param.f
rd_sotsp.f smooth.f cuspl.f cuspl2d.f cuspleval.f cuspleval2d.f
transform.f update_fits.f upmap.f write_field.f setup.f
minimise_energy.f get_ran_pix.f ran3.f CalcE.f CalcDE.f
CalcDE_reconfig.f reconfig.f dfti_example_status_print.o
-L/opt/intel/Compiler/11.1/046/mkl/lib/32
-I/opt/intel/Compiler/11.1/046/mkl/include -lmkl -liomp5 -lpthread
-lcfitsio
ipo: warning #11003: no IR in object file dfti_example_status_print.o;
was the source file compiled with -ipo
ipo: warning #11011: unable to find -lmkl
ipo: warning #11020: unresolved dfti_error_class_external
Referenced in /tmp/ipo_ifort0G0Hoh.o
Referenced in dfti_example_status_print.o
ipo: warning #11020: unresolved dfti_compute_backward_cc
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved dfti_compute_forward_cc
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved dfti_commit_descriptor_external
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved dfti_set_value_sglval
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved dfti_set_value_intvec
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved dfti_set_value_intval
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved dfti_create_descriptor_highd
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgmsg_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgerr_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftfiou_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftclos_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgpve_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgkye_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgknj_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftopen_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgiou_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgcve_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgtdm_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgtcl_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftgkys_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftmahd_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftpcom_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved ftpsse_
Referenced in /tmp/ipo_ifort0G0Hoh.o
ipo: warning #11020: unresolved dfti_error_message_external
Referenced in dfti_example_status_print.o
ipo: remark #11000: performing multi-file optimizations
ipo: remark #11005: generating object file /tmp/ipo_ifort0G0Hoh.o
/opt/intel/Compiler/11.1/046/mkl/ld: cannot find -lmkl
make: *** [ambig] Error 1
yuan@ubuntu:~/Desktop/ambig$ /opt/intel/Compiler/11.1/046/mkl/

我的makefile如下:
FC=ifort
MKL=/opt/intel/Compiler/11.1/046/mkl
MKLLIB = /opt/intel/Compiler/11.1/046/mkl/lib/32
#ARCH=$(shell uname -i)
#ifeq ($(ARCH),i386)
#MKLLIB=$(MKL)/lib/32
#else
#MKLLIB=$(MKL)/lib/em64t
#endif

ambig_files=ambig.f boxit.f buffer.f sortrx.f nacute2.f nacute5.f
nacute6.f pacute.f potential.f printerror.f rd_field.f rd_fits.f
rd_param.f rd_sotsp.f smooth.f cuspl.f cuspl2d.f cuspleval.f
cuspleval2d.f transform.f update_fits.f upmap.f write_field.f setup.f
minimise_energy.f get_ran_pix.f ran3.f CalcE.f CalcDE.f
CalcDE_reconfig.f reconfig.f

ambig: $(ambig_files) mkl_dfti.mod dfti_example_status_print.o
$(FC) -extend_source -w -I/usr/include/cfitsio -O3 -ipo -axS -o $@
$(ambig_files) dfti_example_status_print.o -L$(MKLLIB)
-I/opt/intel/Compiler/11.1/046/mkl/include -lmkl -liomp5 -lpthread
-lcfitsio

clean:
rm -f ambig *.mod *.o

mkl_dfti.mod: $(MKL)/include/mkl_dfti.f90
$(FC) -g -c $^

%.o: %.f90
$(FC) -g -c $<


不知道如何处理。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译