Hi Sascha, the correct environment variable is actually X10_ENABLE_PROFLIB. I have updated the wiki page at http://x10.codehaus.org/Performance+Tuning+an+X10+Application accordingly.
Cheers, Josh On 04/08/10 11:45, Sascha Roloff wrote: > Dear group, > > I want to profile my X10 applications with Google performance tools. I read, > I have to set the environment variable X10_ENABLE_PROFILB to add -lprofile > to the post compilation command. I did this, but it doesn't work. > > $ echo $X10_ENABLE_PROFILB > 1 > $ make > x10c++ -STATIC_CALLS -O -v -report postcompile=1 -x10rt mpi -o MergeSort > MergeSort.x10 > "/usr/local/java/jdk-x86_64-1.6.0/bin/java" -Xmx512m -classpath > "/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/x10c.jar:/scratch-local/roloff/x10-2.0.4-src/x10.dist/classes:/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/x10c.jar:/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/x10.jar:/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/polyglot3.jar:/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/polyglot-bytecode.jar:/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/asm.jar:/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/lpg.jar" > polyglot.main.Main -extclass x10cpp.ExtensionInfo -noserial -sourcepath > "/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib/x10.jar" > -BAD_PLACE_RUNTIME_CHECK=false -OPTIMIZE=true '-STATIC_CALLS' '-report' > 'postcompile=1' '-o' 'MergeSort' 'MergeSort.x10' > Executing post-compiler mpicxx -g > -I/scratch-local/roloff/x10-2.0.4-src/x10.dist/include > -I/home/roloff/src/x10 -I. -O2 -DNDEBUG -DNO_PLACE_CHECKS -finline-functions > -Wno-long-long -Wno-unused-parameter -pthread -msse2 -mfpmath=sse -o > /home/roloff/src/x10/MergeSort MergeSort.cc > -L/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib -lx10 -DX10_USE_BDWGC > -lgc -lx10rt_mpi -ldl -lm -lpthread -Wl,--rpath > -Wl,/scratch-local/roloff/x10-2.0.4-src/x10.dist/lib -Wl,-export-dynamic > -lrt > > Can somebody help me? > > Sascha > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users