Difference between revisions of "NEKbone"

From Tau Wiki
Jump to: navigation, search
 
Line 25: Line 25:
 
  cd nek_bone/test/example1
 
  cd nek_bone/test/example1
 
   
 
   
modify '''makenek''' replacing mpif77 with tau_f90.sh and mpicc with tau_cc.sh
+
* modify '''makenek''' replacing mpif77 with tau_f90.sh and mpicc with tau_cc.sh.
modify nekbone/src/makenek.inc line: 152 to read:
+
* modify '''nekbone/src/makenek.inc''' (line 152) to read:
  
 
  case `$F77comp -show` in  
 
  case `$F77comp -show` in  
  
(adds -show)
+
(adds '''-show''')
 
This will allow the script to properly detect the compiler.
 
This will allow the script to properly detect the compiler.
  
Line 46: Line 46:
 
  ./makenek
 
  ./makenek
 
  mpirun -np 10 ./nekproxy
 
  mpirun -np 10 ./nekproxy
 
 
== Example profile data ==
 

Revision as of 02:09, 9 November 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 replacing mpif77 with tau_f90.sh and mpicc with tau_cc.sh.
* modify nekbone/src/makenek.inc (line 152) to read:
case `$F77comp -show` in 

(adds -show) This will allow the script to properly detect the compiler.

Selective instrumentation file


Build:

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"
./makenek
mpirun -np 10 ./nekproxy