Iam having trouble with the icc math.h file and compiling with icc. It seems not to be able to find the math.h file and creates errors as shown.
I used the command
./test1.sh 1> out.txt 2> err46.txt.
I also used the -H compiler command and it seems to be pulling the math.h file in, but stillI am getting errors as shown in err46.txt.
At one point I actually put the Intel icc version of math.h in the same directory as test3.c and it still did not find it.
I need help on this one. Why can it not find my math.h file.
Again, this works perfectly under gcc, but creates the error output file err46.txt when I put in icc in place of gcc.
Any help appreciated. Thanks in advance.