GEM - Gyrokinetic Turbulence Code
  • Home
  • Input
  • Output
  • Documents
  • Downloads
  • Notes

Useful notes when running GEM

consult@nersc.gov
slogin -X s...@edison.nersc.gov
slogin -Y s...@edison.nersc.gov
ctr alt T for a terminal in Ubuntu

/scratch1/scratchdirs/sparker/hybrid
qstat -a | grep sparker
more run.out:

use bash shell
modify .bashrc.ext for aliases

alias qst='qstat -u sparker'
alias scr='cd /scratch1/scratchdirs/sparker'
module load dfftpac

module load idl

scp s...@edison.nersc.gov:/scratch1/scratchdirs/sparker/hybrid/run1.0/run.out .

subroutine spec(n) writes out the list off numbers to the screen

------------------ 5-14-2015 - Running matlab with Weigang's scripts  ----------------

home/data 
.out files
home/bin
drun - executable
home/Documents/MATLAB/mcode
all of Weigang's scripts

plinear
drun - don't need to run drun it is called by plinear
cat run.dat run.dat.1 > run.out
secplot('phixy')
secplot('phixy',40)

dt=2
nplot=100
secmovie('phixy',dt*nplot)

run plinear first
set dt=20 (script dt = xnplot*dt)
gmstart=70 (analysis is done for the last 30 percent)
cgamma
comega

-------------------------------------------------------------------------------------
Using IDL to measure frequency:

idl plot; gs indica.ps
uses the file indicator (FFT of point-mode data)  to measure frequency


Running hybrid code n=40,000, nmx=100,000 - need to run for many timesteps!
smaller run with 4M particles, 64x32x64 took 364 s for 400 ts.