Difference between revisions of "Main Page/RUN"

From Nekcem
Jump to navigationJump to search
(Created page with "== Getting the Source == NEKCEM is available for download via the Subversion repository: svn co https://svn.mcs.anl.gov/repos/NEKCEM It is also recommended to download Par…")
 
 
(14 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
libraries used, and documentation.
 
libraries used, and documentation.
  
  src
+
* src: source code
 +
* bin: a collection of scripts for building and running NEKCEM
 +
      makenek: To compile for serial runs ../../bin/makenek under an 'example' dir; See makenek --help for options  
 +
      makenekmpi: To compile for parallel runs ../../bin/makenekmpi under an 'example' dir;
 +
      nek: To run ../../bin/nek; See nek --help for options
 +
      cleanall: To clean ../../bin/cleanall
  
bin
+
* examples: sample problems including SIZEu, *.rea, *.map, *.usr (some special cases have additional files)
 +
* libs: BLAS and LAPACK can be placed here if not already installed on your system
 +
* tool: source codes for other utilities, mainly for meshing (detail below)
 +
* doc: documentation
  
examples
+
== Compile ==
 +
 
 +
  cd NEKCEM/trunk/examples/cylwav (serial)
 +
  ../../bin/makenek cylwave
  
libs
+
  cd NEKCEM/trunk/examples/cylwav  (parallel)
 +
  ../../bin/makenekmpi cylwave
  
tool
+
== Execute ==
  
 +
  cd NEKCEM/trunk/examples/cylwave
 +
  ../../bin/nek cylwave (serial)
  
== Compile ==
+
  cd NEKCEM/trunk/examples/cylwave
 +
  ../../bin/nek cylwave #np (parallel)
  
   cd NEKCEM/trunk/examples/cylwav
+
   Note: on Intrepid,  #np is the number of node (total number of cores will be #np*4)
   ../../bin/makenek cylwave
+
   Note: on Jaguar, do ../../bin/nek cylware #np1 #np1, where #np1 is the actual core number you need,
 
+
        and #np2 is the core number you request from system, which has to be a multiple of 16.
== Execute ==
 
 
 
  cd NEKCEM/trunk/examples/cylwave
 
  ../../bin/nek cylwave
 

Latest revision as of 15:28, 2 July 2012

Getting the Source

NEKCEM is available for download via the Subversion repository:

   svn co https://svn.mcs.anl.gov/repos/NEKCEM

It is also recommended to download ParaView.

Contents of NEKCEM package

The NEKCEM package contains the source code, scripts, examples, libraries used, and documentation.

  • src: source code
  • bin: a collection of scripts for building and running NEKCEM
      makenek: To compile for serial runs ../../bin/makenek under an 'example' dir; See makenek --help for options  
      makenekmpi: To compile for parallel runs ../../bin/makenekmpi under an 'example' dir;
      nek: To run ../../bin/nek; See nek --help for options
      cleanall: To clean ../../bin/cleanall
  • examples: sample problems including SIZEu, *.rea, *.map, *.usr (some special cases have additional files)
  • libs: BLAS and LAPACK can be placed here if not already installed on your system
  • tool: source codes for other utilities, mainly for meshing (detail below)
  • doc: documentation

Compile

  cd NEKCEM/trunk/examples/cylwav (serial)
  ../../bin/makenek cylwave
  cd NEKCEM/trunk/examples/cylwav   (parallel)
  ../../bin/makenekmpi cylwave

Execute

 cd NEKCEM/trunk/examples/cylwave
  ../../bin/nek cylwave (serial)
  cd NEKCEM/trunk/examples/cylwave
  ../../bin/nek cylwave #np (parallel)
  Note: on Intrepid,  #np is the number of node (total number of cores will be #np*4) 
  Note: on Jaguar, do ../../bin/nek cylware #np1 #np1, where #np1 is the actual core number you need, 
        and #np2 is the core number you request from system, which has to be a multiple of 16.