fortranfortran77intel-parallel-studio

Write a log of compilation errors on a file - Fortran 77


I am not a big expert with Fortran. I am compiling a code using Intel Parallel Studio XE 2015. I get so many errors and I would like to save them to a file in order to look at them easily.

I use "ifort code.for /4R8" for compiling.

Is there any possible way to do that?

Thanks


Solution

  • Try these:

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

    or

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

    More info here.