Skip to content
Snippets Groups Projects
Commit 79defc3d authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann
Browse files

adapt ppb110 script

parent 65f1393b
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,9 @@ addpath(genpath('../matlab')) % ... add
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% CLUSTER PARAMETERS
CLUSTER.TIME = '01:00:00'; % allocation time hh:mm:ss
CLUSTER.NODES = '8'; % MPI process
CLUSTER.NODES = '1'; % MPI process
CLUSTER.CPUPT = '1'; % CPU per task
CLUSTER.NTPN = '4'; % N tasks per node
CLUSTER.MEM = '2000'; % Memory
CLUSTER.JNAME = 'test_HeLaZ'; % Job name
USERNAME = 'ahoffman'; % username at ppb110 for folder naming
......@@ -25,13 +27,13 @@ MU_J = 0; % Laguerre hyperdiffusivity -mu_j*(d/dvperp)^4 f
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
SPS2D = 1/10; % Sampling per time unit for 2D arrays
SPS5D = 1/10; % Sampling per time unit for 5D arrays
SPSCP = 1/10; % Sampling per time unit for checkpoints
SPSCP = 0; % Sampling per time unit for checkpoints
RESTART = 0; % To restart from last checkpoint
JOB2LOAD= 0;
%% OPTIONS
SIMID = 'test'; % Name of the simulation
SIMID = 'test_low_sampling'; % 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)
......@@ -88,11 +90,14 @@ fprintf(fid,[...
'#!/bin/bash\n',...
'#SBATCH --job-name=',CLUSTER.JNAME,'\n',...
'#SBATCH --time=', CLUSTER.TIME,'\n',...
'#SBATCH -n ', CLUSTER.NODES,'\n',...
'#SBATCH --nodes=', CLUSTER.NODES,'\n',...
'#SBATCH --cpus-per-task=', CLUSTER.CPUPT,'\n',...
'#SBATCH --ntasks-per-node=', CLUSTER.NTPN,'\n',...
'#SBATCH --mem-per-cpu=', CLUSTER.MEM,'\n',...
'#SBATCH --error=err.txt\n',...
'#SBATCH --output=out.txt\n',...
'module load intel_comp/17.0 impi/17.0 hdf5/1.8.12_intel13.1\n',...
'module purge\n',...
'module load PrgEnv-intel/17.0\n',...
'srun ./../../../bin/helaz']);
fclose(fid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment