Difference between revisions of "Main Page/RUN"

From Nekcem
Jump to navigationJump to search
Line 21: Line 21:
 
== Compile ==
 
== Compile ==
 
    
 
    
  with mpi
+
    cd NEKCEM/trunk/examples/cylwav
  cd NEKCEM/trunk/examples/cylwav
 
  ../../bin/makenekmpi cylwave
 
 
 
 
  without mpi
 
  cd NEKCEM/trunk/examples/cylwav
 
 
   ../../bin/makenek cylwave
 
   ../../bin/makenek cylwave
  
 
== Execute ==
 
== Execute ==
  
  with mpi
 
 
   cd NEKCEM/trunk/examples/cylwave
 
   cd NEKCEM/trunk/examples/cylwave
 
   ../../bin/nek cylwave #np
 
   ../../bin/nek cylwave #np
 
  without mpi:
 
  cd NEKCEM/trunk/examples/cylwave
 
  ../../bin/nek cylwave
 

Revision as of 13:07, 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
bin
examples
libs
tool


Compile

   cd NEKCEM/trunk/examples/cylwav
  ../../bin/makenek cylwave

Execute

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