Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不是 Fortran 的大专家。我正在使用 Intel Parallel Studio XE 2015 编译代码。我遇到了很多错误,我想将它们保存到一个文件中以便轻松查看它们。
我使用“ifort code.for /4R8”进行编译。
有没有办法做到这一点?
谢谢
试试这些:
ifort code.for /4R8 > log.txt 2>&1
或者
ifort code.for /4R8 2> log.txt
更多信息在这里。