Difference between revisions of "Main Page/RUN"

From Nekcem
Jump to navigationJump to search
Line 14: Line 14:
 
  src: source code
 
  src: source code
 
  bin: a collection of scripts for building and running NEKCEM
 
  bin: a collection of scripts for building and running NEKCEM
 
+
      makenek: builds the nekcem package. Run from an 'example' directory  
makenek: builds the nekcem package. Run from an 'example' directory  
+
      via ../../bin/makenek.  
  via ../../bin/makenek. To clean ../../bin/cleanall; See makenek --help for options
+
      To clean ../../bin/cleanall; See makenek --help for options
  nek: runs the nekcem package with 'reasonable' defaults for the platform.  
+
      nek: runs the nekcem package with 'reasonable' defaults for the platform.  
  See nek --help for options
+
      See nek --help for options
 
 
 
 
 
  examples: sample problems including SIZEu, *.rea, *.map, *.usr (some special cases have additional files)
 
  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
 
  libs: BLAS and LAPACK can be placed here if not already installed on your system

Revision as of 14:17, 12 June 2011

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: builds the nekcem package. Run from an 'example' directory 
     via ../../bin/makenek. 
     To clean ../../bin/cleanall; See makenek --help for options
     nek: runs the nekcem package with 'reasonable' defaults for the platform. 
     See nek --help for options
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
  ../../bin/makenek cylwave

Execute

  cd NEKCEM/trunk/examples/cylwave
  ../../bin/nek cylwave #np