Difference between revisions of "NEKbone"
Line 31: | Line 31: | ||
add to '''nekbone/src/makenek.inc''' (before line 152) to read: | add to '''nekbone/src/makenek.inc''' (before line 152) to read: | ||
+ | if [ "$F77" = "tau_f90.sh" ]; then | ||
+ | F77comp=`$F77 -show` | ||
+ | fi | ||
+ | |||
Revision as of 19:12, 3 December 2012
Contents
Background
Link | Code Version | Machine | Date |
---|---|---|---|
tar ball | svn November 2012 | Keeneland | November 2012 |
TAU
A simple configuration of TAU with PDT and MPI should suffice.
Instrument
tar xzf nekbone* cd nek_bone/test/example1
modify makenek:
* change SOURCE_ROOT to the location of Nekbone's source directory. * replace mpif77 with tau_f90.sh and mpicc with tau_cc.sh.
add to nekbone/src/makenek.inc (before line 152) to read:
if [ "$F77" = "tau_f90.sh" ]; then F77comp=`$F77 -show` fi
This will allow the script to properly detect the compiler.
Build:
export TAU_MAKEFILE=/nics/c/home/biersdor/tau2/x86_64/lib/Makefile.tau-mpi-pdt export TAU_OPTIONS="-optPreProcess -optVerbose -optRevert"
./makenek mpirun -np 10 ./nekproxy