Tar archive file for NVBug 483668, 
John Michalakes, michalak@ucar.edu
Nov. 5, 2008

Preliminaries:

  Edit the compiler parts of makefile as needed.
  Currently "intel compiler" part is enabled (uncommented).
   
  Edit the "cuda location" part of makefile so that
  CUDALIBPATH points to the right place.

Reproduce bug:

  To reproduce the bug (seg fault in ptxas), type make
  The build is expected to stop in the ptxas phase with a 
  signal 11.

To compile under emulator:

  Modify these lines in the makefile to remove comment
  from DEVICEEMU, DEVICEEMU_NVCC and LIBCUBLAS

  # uncomment to run on emulator instead of the device
  #DEVICEEMU       = -DDEVICEEMU
  #DEVICEEMU_NVCC  = -deviceemu $(DEVICEEMU)
  #LIBCUBLAS = $(LIBCUBLASEMU)

  Then type make

To run under emulator:

  cd run
  echo 1 | ../chem_driver_chocolate

  After code finishes, it will create fort.50 and fort.51
  files which contain ascii dumps of the O3 (ozone) field 
  before and after the atmospheric chemistry solver

