LETKF (version r10443) + CrayPat

Issue #11 new
ga19 created an issue

Get the src

##Compile## * module swap PrgEnv-cray PrgEnv-gnu * module load netcdf * module swap cray-mpich cray-mpich/7.0.1 * module load perftools/6.2.0

  • cd <LETKF_ROOT>/cgribex-1.6.4
  • ./configure CC=cc F77=ftn CFINT="-DpgiFortran" --prefix=pwd --disable-shared
  • make && make install

  • cd <LETKF_ROOT>/3dvar

  • modify config/mh-linux-x64 by changing the GRIBROOT , F90, FC and CC vars (search for daint section):

     albis*|lema*|daint*)
       case "$feature" in
       *-debug)
          # debug settings 
          echo "$0: using CSCS compute nodes debug settings"
          GRIBROOT   = <path_to_cgribex-1.6.4>
          GRIB_LIB   = -L\$(GRIBROOT)/lib -lcgribex
          BUFRROOT   =
          NETCDFROOT = $NETCDF_DIR
          MPIROOT    = $MPICH_DIR
          MPI_LIB    = 
          AUXDIRS    =
          AUXLIBS    =    
          F90        = ftn
          FC         = ftn
          CC         = cc
       ;;
    
  • make -f Makefile_cscs configure_cn

  • make -f Makefile_cscs cn

##Instrument the code## * cd <LETKF_ROOT>/3dvar/build/LINUX64.gfortran45-debug/bin * pat_build -g mpi,io,netcdf var3d

##Run## * copy test_letkf directory to $SCRATCH * copy exe from <LETKF_ROOT>/3dvar/build/LINUX64.gfortran45-debug/bin/var3d+pat to $SCRATCH/<path_to_LETKF>/test_letkf/bin * modify run_job.bash (NPX, NPY, RUNDIR, INDIR, OUTDIR...) * type: ./run_job.bash

##Reports## * pat_report -T <file-or-dir_containing_file.xf> > REPORT-T

Comments (3)

  1. Log in to comment