Difference between revisions of "NEKbone"
(→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. | ||
− | add to '''nekbone/src/makenek.inc''' (before | + | add to '''nekbone/src/makenek.inc''' (right before the script tries to detect the type of compiler used): |
if [ "$F77" = "tau_f90.sh" ]; then | if [ "$F77" = "tau_f90.sh" ]; then |
Revision as of 17:43, 16 May 2013
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 (right before the script tries to detect the type of compiler used):
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