biebo
February 22nd, 2011, 02:28 PM
hello all,
my gcc doesn't compile openmp programs.
gcc -fopenmp hellomp.c
hellomp.c:2:17: error: omp.h: No such file or directory
gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/build/svn/trunk/eng/prod/gcc/configure --prefix=/home/build/32/local/cilk --with-gas-weakref=no --with-comdat-group --enable-checking --disable-bootstrap --disable-libgomp --enable-languages=c,c++ --disable-libstdcxx-pch --enable-targets=all --with-cilk-version=10100 --with-cilk-build=8503
Thread model: posix
gcc version 4.2.4 (Cilk Arts build 8503)
Thanks
my gcc doesn't compile openmp programs.
gcc -fopenmp hellomp.c
hellomp.c:2:17: error: omp.h: No such file or directory
gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/build/svn/trunk/eng/prod/gcc/configure --prefix=/home/build/32/local/cilk --with-gas-weakref=no --with-comdat-group --enable-checking --disable-bootstrap --disable-libgomp --enable-languages=c,c++ --disable-libstdcxx-pch --enable-targets=all --with-cilk-version=10100 --with-cilk-build=8503
Thread model: posix
gcc version 4.2.4 (Cilk Arts build 8503)
Thanks