Difference between revisions of "NEKbone"

From Tau Wiki
Jump to: navigation, search
(Instrument)
(Instrument)
Line 29: Line 29:
 
  * replace mpif77 with tau_f90.sh and mpicc with tau_cc.sh.
 
  * replace mpif77 with tau_f90.sh and mpicc with tau_cc.sh.
  
modify '''nekbone/src/makenek.inc''' (line 152) to read:
+
add to '''nekbone/src/makenek.inc''' (before line 152) to read:
 +
  
case `$F77comp -show` in
 
  
(adds '''-show''')
 
 
This will allow the script to properly detect the compiler.
 
This will allow the script to properly detect the compiler.
 
=== Selective instrumentation file ===
 
(coming soon)
 
 
 
  
  
Line 45: Line 39:
  
 
  export TAU_MAKEFILE=/nics/c/home/biersdor/tau2/x86_64/lib/Makefile.tau-mpi-pdt
 
  export TAU_MAKEFILE=/nics/c/home/biersdor/tau2/x86_64/lib/Makefile.tau-mpi-pdt
  export TAU_OPTIONS="-optPreProcess -optVerbose -optRevert -optTauSelectFile=`pwd`/select.tau"
+
  export TAU_OPTIONS="-optPreProcess -optVerbose -optRevert"
  
 
  ./makenek
 
  ./makenek
 
  mpirun -np 10 ./nekproxy
 
  mpirun -np 10 ./nekproxy
 +
 +
== Profiles ==
 +
 +
[[image:nekbone_summary.png]]
 +
[[image:nekbone_10p.ppk]]

Revision as of 19:08, 3 December 2012


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:


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

Profiles

Nekbone summary.png File:Nekbone 10p.ppk