在文件上写一个编译错误日志 - Fortran 77

时间:2015-10-23 08:30:41

标签: fortran fortran77 intel-parallel-studio

我不是Fortran的大专家。我正在使用英特尔Parallel Studio XE 2015编译代码。我收到了很多错误,我想将它们保存到文件中以便轻松查看它们。

我使用" ifort code.for / 4R8"用于编译。

有没有办法做到这一点?

由于

1 个答案:

答案 0 :(得分:1)

试试这些:

ifort code.for /4R8 > log.txt 2>&1

ifort code.for /4R8 2> log.txt 

更多信息here