致命错误:无法打开模块文件 'omp_lib.mod' 在 (1) 读取:没有这样的文件或目录

问题描述 投票:0回答:0

我在这类事情上非常缺乏经验,我正在尝试为我的高级物理项目运行一些名为 Zacros_2.0 的软件。按照指示,我已经安装了 MinGW 编译器以便使用 makefile。当我运行 mingw32-make 时,它“无法打开模块文件‘omp_lib.mod’”,我不明白那是什么或那意味着什么或如何修复它,我只是按照说明进行操作通过软件的手册。这是使用命令后的完整输出:'mingw32-make'

"Compiling: " lattice_handle_module
gfortran -c  -O2 -fopenmp -ffree-line-length-1024 ..\\lattice_handle_module.f90 -o lattice_handle_module.o
..\\lattice_handle_module.f90:98:13:

       !$ use omp_lib, only: omp_in_parallel, omp_get_thread_num
             1

Fatal Error: Can't open module file 'omp_lib.mod' for reading at (1): No such file or directory
compilation terminated.
makefile:28: recipe for target 'lattice_handle_module.o' failed
mingw32-make: \*\*\* \[lattice_handle_module.o\] Error 1

我没有必要的知识知道现在该做什么。谁能给出一些关于如何进行的简单说明?

我尝试下载不同的编译器 pacman 来提供帮助。但我无法让它工作。我不知道该怎么做。

makefile compiler-errors mingw fatal-error
© www.soinside.com 2019 - 2024. All rights reserved.