On 02/02/2017 03:41 PM, Sathish Kumar wrote:
> //
> /icpc: command line warning #10006: ignoring unknown option '-fuse-ld=gold'/
> /lac/CMakeFiles/obj_lac.debug.dir/sparse_matrix_inst2.cc.o: file not
> recognized: File format not recognized/
This typically happens if you compile in the same directory in which a
previous compile job aborted because of a compiler error, because you
were out of memory, or some other reason. In that case, the previous
compiler run left an unfinished object file that the subsequent compiler
run recognizes as "up to date" (because it's newer than its source
files) but can't read successfully.
The solution is to do 'make clean' or just to blow away the build
directory and start again.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/