컴파일 할때 아래와 같은 에러가 난다면... 다음처럼 해준다.

/opt/intel/Compiler/11.1/059/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
/opt/intel/Compiler/11.1/059/lib/intel64/for_main.o: In function `main':
/export/users/nbtester/efi2linux_nightly/branch-11_1/20091013_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x38): undefined reference to `MAIN__'
make[2]: *** [dexe.grd] Error 1
make[2]: Leaving directory `/root/kage/hpl/testing/ptest/amd64'
make[1]: *** [build_tst] Error 2
make[1]: Leaving directory `/root/kage/hpl'
make: *** [build] Error 2

ifort를 이용한 mpif90으로 컴파일하는 옵션을 아래처럼 "-nofor-main"을 추가해준다.
#LINKFLAGS = $(HPL_DEFS) -O3
LINKFLAGS = $(HPL_DEFS) -O3 -nofor-main

그러면 "MAIN__" 에 대한 에러가 사라진다.

이렇게 하여 hpl 2.0을 ACML를 이용하여 돌릴수가 있다.



참조 :
http://developer.amd.com/cpu/libraries/ ··· ult.aspx
http://developer.amd.com/cpu/libraries/ ··· 02flinux
크리에이티브 커먼즈 라이센스
Creative Commons License
트랙백 11, 댓글이 없습니다.

댓글+트랙백 RSS :: http://www.cep.kr/blog/cep/rss/response/227

댓글+트랙백 ATOM :: http://www.cep.kr/blog/cep/atom/response/227

트랙백 주소 :: http://www.cep.kr/blog/cep/trackback/227

트랙백 RSS :: http://www.cep.kr/blog/cep/rss/trackback/227

트랙백 ATOM :: http://www.cep.kr/blog/cep/atom/trackback/227

  1. Subject: hack throne rush

    Tracked from hack throne rush September 7, 2014 06:15  삭제

    CEP's Blog -by Kage Park

  2. Subject: Joe Pantel

    Tracked from Joe Pantel September 7, 2014 06:44  삭제

    CEP's Blog -by Kage Park

  3. Subject: how much is plastic surgery

    Tracked from how much is plastic surgery September 11, 2014 01:46  삭제

    CEP's Blog -by Kage Park :: ACML 4.4.0 with ifort-64bit를 이용하여 hpl 2.0 컴파일하기

  4. Subject: click the up coming article

    Tracked from click the up coming article September 11, 2014 04:36  삭제

    CEP's Blog -by Kage Park :: ACML 4.4.0 with ifort-64bit를 이용하여 hpl 2.0 컴파일하기

  5. Subject: Godaddy Coupons

    Tracked from Godaddy Coupons September 11, 2014 09:44  삭제

    CEP's Blog -by Kage Park

  6. Subject: my homepage

    Tracked from my homepage September 12, 2014 08:43  삭제

    CEP's Blog -by Kage Park

  7. Subject: mavinshipment.tumblr.com

    Tracked from mavinshipment.tumblr.com September 12, 2014 09:51  삭제

    CEP's Blog -by Kage Park :: ACML 4.4.0 with ifort-64bit를 이용하여 hpl 2.0 컴파일하기

  8. Subject: 1212.it

    Tracked from 1212.it September 17, 2014 08:30  삭제

    CEP's Blog -by Kage Park :: ACML 4.4.0 with ifort-64bit를 이용하여 hpl 2.0 컴파일하기

  9. Subject: social media management Letchworth

    Tracked from social media management Letchworth September 20, 2014 00:31  삭제

    CEP's Blog -by Kage Park

  10. Subject: why not look here

    Tracked from why not look here September 21, 2014 05:47  삭제

    CEP's Blog -by Kage Park :: ACML 4.4.0 with ifort-64bit를 이용하여 hpl 2.0 컴파일하기

  11. Subject: go to the website

    Tracked from go to the website September 21, 2014 09:00  삭제

    CEP's Blog -by Kage Park :: ACML 4.4.0 with ifort-64bit를 이용하여 hpl 2.0 컴파일하기

댓글을 달아 주세요

댓글 RSS 주소 : http://www.cep.kr/blog/cep/rss/comment/227
댓글 ATOM 주소 : http://www.cep.kr/blog/cep/atom/comment/227
[Login][OpenID?]
You have to log in with and OpenID to leave a comment.