I am trying to compile Tycho CFD application , and i am getting following error:
mv -f .deps/write_ic_vtk.Tpo .deps/write_ic_vtk.Po icc -DHAVE_CONFIG_H -I. -I.. -O3 -openmp -MT write_ifrit.o -MD -MP -MF .deps/write_ifrit.Tpo -c -o write_ifrit.o write_ifrit.c mv -f .deps/write_ifrit.Tpo .deps/write_ifrit.Po icc -DHAVE_CONFIG_H -I. -I.. -O3 -openmp -MT write_restart_tyc.o -MD -MP -MF .deps/write_restart_tyc.Tpo -c -o write_restart_tyc.o write_restart_tyc.c mv -f .deps/write_restart_tyc.Tpo .deps/write_restart_tyc.Po icc -DHAVE_CONFIG_H -I. -I.. -O3 -openmp -MT write_tyc.o -MD -MP -MF .deps/write_tyc.Tpo -c -o write_tyc.o write_tyc.c mv -f .deps/write_tyc.Tpo .deps/write_tyc.Po icc -DHAVE_CONFIG_H -I. -I.. -O3 -openmp -MT write_vtk.o -MD -MP -MF .deps/write_vtk.Tpo -c -o write_vtk.o write_vtk.c write_vtk.c(262): warning #269: invalid format string conversion sprintf(filename, "%TYCHO dB_map_%i.vtk", output_dir, counter); ^ mv -f .deps/write_vtk.Tpo .deps/write_vtk.Po icc -DHAVE_CONFIG_H -I. -I.. -O3 -openmp -MT noise_generator.o -MD -MP -MF .deps/noise_generator.Tpo -c -o noise_generator.o noise_generator.c noise_generator.c(62): error: unexpected token 'identifier' #pragma omp end critical ^ noise_generator.c(70): error: unexpected token 'identifier' #pragma omp end critical ^ compilation aborted for noise_generator.c (code 2) make[2]: *** [noise_generator.o] Error 2 make[2]: Leaving directory `/opt/user1-INTEL/finaluser1/ToolsInstaller/Mechanical/Tycho/tycho_release_v1.3.0/sources' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/user1-INTEL/finaluser1/ToolsInstaller/Mechanical/Tycho/tycho_release_v1.3.0' make: *** [all] Error 2 Making install in sources make[1]: Entering directory `/opt/user1-INTEL/finaluser1/ToolsInstaller/Mechanical/Tycho/tycho_release_v1.3.0/sources' icc -DHAVE_CONFIG_H -I. -I.. -O3 -openmp -MT noise_generator.o -MD -MP -MF .deps/noise_generator.Tpo -c -o noise_generator.o noise_generator.c noise_generator.c(62): error: unexpected token 'identifier' #pragma omp end critical ^ noise_generator.c(70): error: unexpected token 'identifier' #pragma omp end critical ^ compilation aborted for noise_generator.c
Any help/hint will be very useful ,
I have attached make file & the noise_generator.c!
(these two files are getting compiled successfully by gnu compilers!!)
Eagerly awaiting your replies.