【问题标题】:ld: warning : directory not found for option '-L./...'ld:警告:找不到选项“-L./...”的目录
【发布时间】:2015-03-27 10:48:24
【问题描述】:

我正在尝试从 shell(我与 tcsh 一起使用)在我的系统(Mac OS X 10.10.2)上安装 mpich 3.0.4。所以我对其进行了 tar 处理,然后对其进行了配置 (./configure --prefix=$DIR/mpich),然后输入了 make。

一切似乎都很顺利,但最后,我出现了这两个警告:

ld: warning: directory not found for option '-L./src/mpl'
ld: warning: directory not found for option '-L./src/openpa/src'

当我稍后测试它时(使用教程中的测试,所以错误不是来自这里),它会打印以下内容:

ld: targeted OS version does not support use of thread local variables in _MPIU_Thread_CS_enter_lockname_recursive_impl_ for architecture x86_64

我将非常感谢任何形式的建议(请记住,我是一个初学者)。 谢谢!

编辑:有关信息,我正在使用本教程:http://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP2

【问题讨论】:

  • 如果我想重新安装,我应该删除不同的文件吗? make install 命令生成的文件和存档发布的文件?如果是这样,有什么预防措施吗?

标签: macos mpi mpich


【解决方案1】:

这个非常令人沮丧的错误影响了多个平台,包括 MVAPICH。幸运的是,它已经被修复了——虽然我不能确切地告诉你如何:

如果您尝试 3.1.4,这个问题应该会消失。

【讨论】:

    猜你喜欢
    • 2012-03-16
    • 2013-06-08
    • 2019-11-22
    • 2016-06-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-31
    • 2013-11-26
    相关资源
    最近更新 更多