Difference between revisions of "Main Page/faq"

From Nekcem
Jump to navigationJump to search
Line 13: Line 13:
 
* vtkcommon.c and vtkcommon.h serve as a place to hold common functions as well as global variables. <br>
 
* vtkcommon.c and vtkcommon.h serve as a place to hold common functions as well as global variables. <br>
  
=== NekCEM implementation===
+
=== NekCEM notes for myself===
 
* .box &rarr; num elements in x,y,z
 
* .box &rarr; num elements in x,y,z
 
* .rea &rarr; input data
 
* .rea &rarr; input data
* SIZEu  
+
* SIZEu &rarr; SIZE parameters:
 
** lp = #proc
 
** lp = #proc
 
** lelx = 20 each dimension
 
** lelx = 20 each dimension
 
** lelv = alloc max # of element per proc
 
** lelv = alloc max # of element per proc
 +
* .usr rarr; subuser.F
 +
* cem() in cem_dg.F is the main solver and application entry point
 +
  
 
== To-do List ==
 
== To-do List ==
 
*More tests on BG/P for config with ng = M and 1< nf < M  
 
*More tests on BG/P for config with ng = M and 1< nf < M  
 
*Tests on Kraken and Jaguar
 
*Tests on Kraken and Jaguar
 +
*Pthread + MPI for I/O
 +
*OpenMP/Pthread + MPI for NekCEM computation
 +
*Parallel I/O for reading .rea file
  
 
== Some notes ==
 
== Some notes ==
Line 30: Line 36:
 
* libF77 and libI77
 
* libF77 and libI77
 
* common.h and common_c.h
 
* common.h and common_c.h
 +
* write() in Fortran: 6 refer to screen, * is to screen as well ..

Revision as of 22:14, 31 January 2011

This is the resource listing page for NekCEM.

Resource Links

Implementation

Topology of I/O code

  • I/O functions were initiated from cem_out function of cem_dg.F (and cem_dg2.F).
  • Implementation of parallel I/O routine were defined in vtkbin.c and rbIO_nekcem.c
  • vtkcommon.c and vtkcommon.h serve as a place to hold common functions as well as global variables.

NekCEM notes for myself

  • .box → num elements in x,y,z
  • .rea → input data
  • SIZEu → SIZE parameters:
    • lp = #proc
    • lelx = 20 each dimension
    • lelv = alloc max # of element per proc
  • .usr rarr; subuser.F
  • cem() in cem_dg.F is the main solver and application entry point


To-do List

  • More tests on BG/P for config with ng = M and 1< nf < M
  • Tests on Kraken and Jaguar
  • Pthread + MPI for I/O
  • OpenMP/Pthread + MPI for NekCEM computation
  • Parallel I/O for reading .rea file

Some notes

  • Fortran generated binary file may not be correctly read in C.
  • -lstdc++ for link
  • libF77 and libI77
  • common.h and common_c.h
  • write() in Fortran: 6 refer to screen, * is to screen as well ..