| 查看: 468 | 回复: 0 | ||
zxrlioning新虫 (初入文坛)
|
[求助]
make出错
|
|
大家好,我的OS是ubuntu 12.0。已经装好了mpich2,ifort,icc。 新建了一个用户以后编译make file时提示ifort用不了了。 我ifort安装是没有问题的,环境变量也设置好了,在新建用户目录下which ifort也可以看到ifort,还可以用ifort运行.f90文件。但是编译Makefile.in或者make.inc的时候提示: ifort: command not found。 比如我编译lapack的时候就会出现如下错误提示: zxr2@zxr:~/opt/lapack-3.1.0$ which icc /opt/intel/composer_xe_2013_sp1.3.174/bin/intel64/icc zxr2@zxr:~/opt/lapack-3.1.0$ which ifort /opt/intel/composer_xe_2013_sp1.3.174/bin/intel64/ifort zxr2@zxr:~/opt/lapack-3.1.0$ which mpicc /opt/mpich2/bin/mpicc zxr2@zxr:~/opt/lapack-3.1.0$ which mpif90 /opt/mpich2/bin/mpif90 zxr2@zxr:~/opt/lapack-3.1.0$ sudo make ( cd INSTALL; make; ./testlsame; ./testslamch; \ ./testdlamch; ./testsecond; ./testdsecnd; ./testversion ) make[1]: Entering directory `/home/zxr2/opt/lapack-3.1.0/INSTALL' ifort -O3 -xN -ip -c lsame.f make[1]: ifort: Command not found make[1]: *** [lsame.o] Error 127 make[1]: Leaving directory `/home/zxr2/opt/lapack-3.1.0/INSTALL' ASCII character set Tests completed Epsilon = 1.1920929E-07 Safe minimum = 1.1754944E-38 Base = 2.000000 Precision = 2.3841858E-07 Number of digits in mantissa = 24.00000 Rounding mode = 0.0000000E+00 Minimum exponent = -125.0000 Underflow threshold = 1.1754944E-38 Largest exponent = 129.0000 Overflow threshold = Infinity Reciprocal of safe minimum = 8.5070592E+37 Epsilon = 2.220446049250313E-016 Safe minimum = 2.225073858507201E-308 Base = 2.00000000000000 Precision = 4.440892098500626E-016 Number of digits in mantissa = 53.0000000000000 Rounding mode = 0.000000000000000E+000 Minimum exponent = -1021.00000000000 Underflow threshold = 2.225073858507201E-308 Largest exponent = 1025.00000000000 Overflow threshold = Infinity Reciprocal of safe minimum = 4.494232837155790E+307 Time for 1,000,000 SAXPY ops = 0.00 seconds *** Error: Time for operations was zero Including SECOND, time = 0.00 seconds Average time for SECOND = 0.00 milliseconds Time for 1,000,000 DAXPY ops = 0.00 seconds *** Error: Time for operations was zero Including DSECND, time = 0.00 seconds Average time for DSECND = 0.00 milliseconds LAPACK 3 . 1 . 0 ( cd BLAS/SRC; make ) make[1]: Entering directory `/home/zxr2/opt/lapack-3.1.0/BLAS/SRC' ifort -O3 -xN -ip -c isamax.f make[1]: ifort: Command not found make[1]: *** [isamax.o] Error 127 make[1]: Leaving directory `/home/zxr2/opt/lapack-3.1.0/BLAS/SRC' make: *** [blaslib] Error 2 搞了好久都没有搞明白,请问有没有高手能帮帮忙?感谢万分!(附make.inc和Makefile) |
» 猜你喜欢
存款400万可以在学校里躺平吗
已经有7人回复
基金委咋了?2026年的指南还没有出来?
已经有10人回复
拟解决的关键科学问题还要不要写
已经有6人回复
基金申报
已经有6人回复
推荐一本书
已经有13人回复
国自然申请面上模板最新2026版出了吗?
已经有17人回复
纳米粒子粒径的测量
已经有8人回复
疑惑?
已经有5人回复
计算机、0854电子信息(085401-058412)调剂
已经有5人回复
Materials Today Chemistry审稿周期
已经有5人回复











回复此楼