24小时热门版块排行榜    

查看: 1666  |  回复: 6
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

mengfc

金虫 (正式写手)

[求助] siesta-3.1并行编译完成时,出了这么一句话。。。

折腾半天总算吧siesta编译好了,就是完成时出了这么一句话:
libimf.so: warning: warning: feupdateenv is not implemented and will always fail

这是什么意思呢?有什么影响?
回复此楼

» 收录本帖的淘帖专辑推荐

vasp编译问题集锦

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

mengfc

金虫 (正式写手)

引用回帖:
4楼: Originally posted by leehb870605 at 2011-10-28 09:12:20:
表面上看应该是编译器问题吧。。

谷歌了一下,INTEL论坛上说法如下:
There are infinite possibilities.  Two articles I wrote for Windows Fortran would also be instructive for you.  These cover Acc ...

# set unlimited stack size
ulimit -s unlimited

请问,这一步应该在哪里设置呢?.bashrc中吗?
5楼2011-10-28 12:35:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 7 个回答

leehb870605

银虫 (小有名气)

【答案】应助回帖

★ ★
zzy870720z(金币+2): 谢谢指教 2011-10-20 15:28:35
mengfc(金币+10): 谢谢您,若视而不见,没什么影响吧? 2011-10-22 18:23:41
mengfc(金币+10): 2011-10-25 11:09:32
按照intel的解释,是编译过程中只link到intel的math libraries,而没有link到系统的math libraries.

对于VASP的解决办法是把系统的math libraries加入,即-limf -lm
修改后的LIB
LIB     = -limf -lm -L../vasp.4.lib -ldmy  \
      ../vasp.4.lib/linpack_double.o $(LAPACK) \
      $(SCA) $(BLAS) \


INTEL原文:
In many cases users can just ignore the warning. However to avoid possible problems just link the code against both math libraries. For example:

icc -limf -lm <>
or
mpicc -limp -lm <>

综上,对于此警告,可以选择无视,或者添加数学库标签。
LZ可参见此链接
http://software.intel.com/en-us/forums/showthread.php?t=62806

» 本帖已获得的红花(最新10朵)

2楼2011-10-20 10:31:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

mengfc

金虫 (正式写手)

送鲜花一朵
引用回帖:
2楼: Originally posted by leehb870605 at 2011-10-20 10:31:55:
按照intel的解释,是编译过程中只link到intel的math libraries,而没有link到系统的math libraries.

对于VASP的解决办法是把系统的math libraries加入,即-limf -lm
修改后的LIB
LIB     = -limf -lm -L../v ...

您好,请问我vasp编译通过,运行的时候出现forrtl: severe (174): SIGSEGV, segmentation fault occurred 这是什么问题呢?
3楼2011-10-27 23:08:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

leehb870605

银虫 (小有名气)

★ ★
uuv2010(金币+2): 多谢提示 2011-10-28 09:34:31
引用回帖:
3楼: Originally posted by mengfc at 2011-10-27 23:08:36:
您好,请问我vasp编译通过,运行的时候出现forrtl: severe (174): SIGSEGV, segmentation fault occurred 这是什么问题呢?

表面上看应该是编译器问题吧。。

谷歌了一下,INTEL论坛上说法如下:
There are infinite possibilities.  Two articles I wrote for Windows Fortran would also be instructive for you.  These cover Access Violation (SEGV on Linux) and Stack Overflow. On Linux, you can try raising the stack limit with "ulimit -s" or "limit stacksizae unlimited" depending on your shell.

The key to identifying the cause is to find exactly WHERE in your program this error is occurring. Use of -traceback can help here.
还有别的,总结下来就是:
1、确认程序的编译器对应32or64位;如果不对修改路径,或输入全路径编译
2、修改系统资源的限制,把以下语句写在.bashrc的最后
# set up environment for Intel Fortran
source /opt/intel/Compiler/11.0/069/bin/ifortvars.sh ia32
# set unlimited stack size
ulimit -s unlimited
4楼2011-10-28 09:12:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见