Conversion from Windows Vista to Ubuntu I am having trouble compiling in Ubuntu

Hello,

I am having trouble compiling code in Ubuntu Linux that compiled just fine under Windows Vista. I think it may be something to do with compiler directives but I am not sure.

I have over 100 errors and that makes it so I cannot see the first error in the terminal. I tried nvcc file.cu > output.txt and nvcc file.cu | more and I still cannot see the full error output.

How can I redirect the nvcc error output to somewhere besides the console?

Thanks

Try:
nvcc file.cu >& error_file

Usually you can also adjust the buffer of the console to make it possible to scroll further even more. Somewhere in the settings of your terminal ;)
But the above is offcourse always working, it’s just that I often find the default setting a bit conservative (given that I have plenty of RAM)