Hi everyone, I am trying to understand the openMPI code so was trying to enable debug and profiling by issusing
$ make "CFLAGS=-pg -g" But i am getting this error. libtool: link: ( cd ".libs" && rm -f "mca_paffinity_linux.la" && ln -s "../mca_paffinity_linux.la" "mca_paffinity_linux.la" ) make[3]: Leaving directory `/home/Desktop/openmpi-1.3.2/opal/mca/paffinity/linux' make[2]: Leaving directory `/home/Desktop/openmpi-1.3.2/opal/mca/paffinity/linux' Making all in tools/wrappers make[2]: Entering directory `/home/Desktop/openmpi-1.3.2/opal/tools/wrappers' depbase=`echo opal_wrapper.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc "-DEXEEXT=\"\"" -I. -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/plpa/src/libplpa -I../../.. -pg -g -MT opal_wrapper.o -MD -MP -MF $depbase.Tpo -c -o opal_wrapper.o opal_wrapper.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ../../../libtool --tag=CC --mode=link gcc -pg -g -export-dynamic -o opal_wrapper opal_wrapper.o ../../../opal/libopen-pal.la -lnsl -lutil -lm libtool: link: gcc -pg -g -o .libs/opal_wrapper opal_wrapper.o -Wl,--export-dynamic ../../../opal/.libs/libopen-pal.so -ldl -lnsl -lutil -lm ../../../opal/.libs/libopen-pal.so: undefined reference to `pthread_key_create' ../../../opal/.libs/libopen-pal.so: undefined reference to `pthread_getspecific' ../../../opal/.libs/libopen-pal.so: undefined reference to `pthread_create' ../../../opal/.libs/libopen-pal.so: undefined reference to `pthread_atfork' ../../../opal/.libs/libopen-pal.so: undefined reference to `pthread_setspecific' ../../../opal/.libs/libopen-pal.so: undefined reference to `pthread_join' collect2: ld returned 1 exit status make[2]: *** [opal_wrapper] Error 1 make[2]: Leaving directory `/home//Desktop/openmpi-1.3.2/opal/tools/wrappers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Desktop/openmpi-1.3.2/opal' make: *** [all-recursive] Error 1 Is there any other way of enabling debugging and profilling in open MPI. Leo Own a website.Get an unlimited package.Pay next to nothing.*Go to http://in.business.yahoo.com/