我目前正尝试在CentOS 6机器上使用pgcc 15.10编译mvapich2-2.1。我跑
export F90=; export CPP=cpp; ./configure --prefix=/home/user/local/mvapich2-2.1/pgi15
make
它失败了(排除了很多诊断输出)
.
.
.
PGC/x86-64 Linux 15.10-0: compilation completed with warnings
CC adio/common/ad_iwrite_fake.lo
CC adio/common/ad_open.lo
CC adio/common/ad_opencoll.lo
CC adio/common/ad_opencoll_failsafe.lo
CC adio/common/ad_opencoll_scalable.lo
CC adio/common/ad_prealloc.lo
CC adio/common/ad_read.lo
PGC-W-0114-More than one type specified (/gpfs0/export/opt/pgi/linux86-64/15.10/include-gcc44/sys/types.h: 230)
PGC-W-0143-Useless typedef declaration (no declarators present) (/gpfs0/export/opt/pgi/linux86-64/15.10/include-gcc44/sys/types.h: 230)
PGC/x86-64 Linux 15.10-0: compilation completed with warnings
CC adio/common/ad_read_coll.lo
/tmp/pgccZZGhzd4sbsRT.s: Assembler messages:
/tmp/pgccZZGhzd4sbsRT.s:1510: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:1547: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2003: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2272: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2324: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2376: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2435: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2621: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2895: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2932: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2986: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:3038: Error: suffix or operands invalid for `vpxor'
make[3]: *** [adio/common/ad_read_coll.lo] Error 1
make[3]: Leaving directory `/gpfs0/home/user/local/src/mvapich2-2.1/src/mpi/romio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gpfs0/home/user/local/src/mvapich2-2.1/src/mpi/romio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gpfs0/home/user/local/src/mvapich2-2.1'
make: *** [all] Error 2
这个问题的解决方案是什么?我没有使用汇编程序的经验,所以任何提示/建议都将不胜感激。谢谢。
答案 0 :(得分:1)
我使用以下方法安装它:
F90=; CPP=cpp; CFLAGS="-tp penryn-64" LDFLAGS="-L/usr/lib64" ./configure --prefix=/home/user/local/mvapich2-2.1/pgi15
make
make install
我也尝试将binutils更新为2.24,我也能以这种方式安装它。