From 9fc570b68aa396ee5c6089ffb728cd66adf6fa4b Mon Sep 17 00:00:00 2001 From: Antoine Cyril David Hoffmann <ahoffman@spcpc606.epfl.ch> Date: Mon, 22 Feb 2021 12:04:26 +0100 Subject: [PATCH] test case --- wk/ppb110_run.m | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/wk/ppb110_run.m b/wk/ppb110_run.m index 11d3e2f0..0cf6608c 100644 --- a/wk/ppb110_run.m +++ b/wk/ppb110_run.m @@ -4,29 +4,29 @@ addpath(genpath('../matlab')) % ... add %% Set Up parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% CLUSTER PARAMETERS -CLUSTER.TIME = '12:00:00'; % allocation time hh:mm:ss +CLUSTER.TIME = '01:00:00'; % allocation time hh:mm:ss CLUSTER.NODES = '1'; % MPI process CLUSTER.CPUPT = '1'; % CPU per task -CLUSTER.NTPN = '24'; % N tasks per node +CLUSTER.NTPN = '8'; % N tasks per node CLUSTER.PART = 'prod'; % dbg or prod CLUSTER.MEM = '16GB'; % Memory -CLUSTER.JNAME = 'gamma_inf';% Job name +CLUSTER.JNAME = 'test';% Job name USERNAME = 'ahoffman'; % username at ppb110 for folder naming %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% PHYSICAL PARAMETERS NU = 1.0; % Collision frequency -ETAB = 0.6; % Magnetic gradient +ETAB = 0.5; % Magnetic gradient NU_HYP = 0.1; % Hyperdiffusivity coefficient %% GRID PARAMETERS N = 150; % Frequency gridpoints (Nkr = N/2) L = 70; % Size of the squared frequency domain -P = 10; % Electron and Ion highest Hermite polynomial degree -J = 5; % Electron and Ion highest Laguerre polynomial degree +P = 2; % Electron and Ion highest Hermite polynomial degree +J = 1; % Electron and Ion highest Laguerre polynomial degree MU_P = 0; % Hermite hyperdiffusivity -mu_p*(d/dvpar)^4 f MU_J = 0; % Laguerre hyperdiffusivity -mu_j*(d/dvperp)^4 f %% TIME PARAMETERS -TMAX = 500; % Maximal time unit -DT = 1e-2; % Time step +TMAX = 150; % Maximal time unit +DT = 2e-2; % Time step SPS0D = 1; % Sampling per time unit for profiler SPS2D = 1/2; % Sampling per time unit for 2D arrays SPS5D = 1/10; % Sampling per time unit for 5D arrays @@ -34,9 +34,7 @@ SPSCP = 1/10; % Sampling per time unit for checkpoints RESTART = 1; % To restart from last checkpoint JOB2LOAD= 0; %% OPTIONS -% SIMID = 'Marconi_DGGK_nu_%0.0e'; % Name of the simulation -SIMID = ['Marconi_DGGK_eta_',num2str(ETAB),'_nu_%0.0e']; % Name of the simulation -% SIMID = 'Marconi_restart'; % Name of the simulation +SIMID = 'test'; % Name of the simulation SIMID = sprintf(SIMID,NU); CO = -3; % Collision operator (0 : L.Bernstein, -1 : Full Coulomb, -2 : Dougherty, -3 : GK Dougherty) CLOS = 0; % Closure model (0: =0 truncation, 1: semi coll, 2: Copy closure J+1 = J, P+2 = P) @@ -44,7 +42,7 @@ KERN = 0; % Kernel model (0 : GK) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% fixed parameters (for current study) -KR0KH = 0; A0KH = 0; % Background phi mode to drive Ray-Tay inst. +KR0KH = 0; A0KH = 0; % Background phi mode to drive Ray-Tay inst. (not implemented) KREQ0 = 0; % put kr = 0 KPAR = 0.0; % Parellel wave vector component LAMBDAD = 0.0; -- GitLab