Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gyacomo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Cyril David Hoffmann
Gyacomo
Commits
3a3144d9
Commit
3a3144d9
authored
3 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
upload scripts
parent
5452b3b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wk/marconi_run.m
+22
-22
22 additions, 22 deletions
wk/marconi_run.m
with
22 additions
and
22 deletions
wk/marconi_run.m
+
22
−
22
View file @
3a3144d9
clear
all
;
addpath
(
genpath
(
'../matlab'
))
% ... add
SUBMIT
=
0
;
% To submit the job automatically
SUBMIT
=
1
;
% To submit the job automatically
% EXECNAME = 'helaz_dbg';
EXECNAME
=
'helaz_2.8'
;
for
ETA
B
=
[
0.6
]
for
ETA
N
=
[
1.4
]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Set Up parameters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% CLUSTER PARAMETERS
%
CLUSTER.PART = 'prod'; % dbg or prod
CLUSTER
.
PART
=
'dbg'
;
CLUSTER
.
PART
=
'prod'
;
% dbg or prod
%
CLUSTER.PART = 'dbg';
CLUSTER
.
TIME
=
'24:00:00'
;
% allocation time hh:mm:ss
if
(
strcmp
(
CLUSTER
.
PART
,
'dbg'
));
CLUSTER
.
TIME
=
'00:30:00'
;
end
;
CLUSTER
.
MEM
=
'128GB'
;
% Memory
CLUSTER
.
JNAME
=
'HeLaZ'
;
% Job name
NP_P
=
2
;
% MPI processes along p
NP_KX
=
24
;
% MPI processes along k
r
NP_KX
=
24
;
% MPI processes along k
x
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% PHYSICAL PARAMETERS
NU
=
1e-
3
;
% Collision frequency
% ETAB
= 0.
7
; %
Magnetic grad
ient
NU_HYP
=
0.1
;
%
Hyperdiffusivity coeffic
ient
NU
=
1e-
2
;
% Collision frequency
NU_HYP
=
0.
0
;
%
Hyperdiffusivity coeffic
ient
% ETAN
=
1.0
;
%
Density grad
ient
% (0 : L.Bernstein, 1 : Dougherty, 2: Sugama, 3 : Pitch angle ; +/- for GK/DK)
CO
=
2
;
CO
=
3
;
INIT_ZF
=
0
;
ZF_AMP
=
0.0
;
%% GRID PARAMETERS
N
=
2
00
;
% Frequency gridpoints (Nk
r
= N/2)
L
=
6
0
;
% Size of the squared frequency domain
P
=
6
;
% Electron and Ion highest Hermite polynomial degree
J
=
3
;
% Electron and Ion highest Laguerre polynomial degree
N
=
3
00
;
% Frequency gridpoints (Nk
x
= N/2)
L
=
10
0
;
% Size of the squared frequency domain
P
=
10
;
% Electron and Ion highest Hermite polynomial degree
J
=
5
;
% Electron and Ion highest Laguerre polynomial degree
MU_P
=
0.0
;
% Hermite hyperdiffusivity -mu_p*(d/dvpar)^4 f
MU_J
=
0.0
;
% Laguerre hyperdiffusivity -mu_j*(d/dvperp)^4 f
%% TIME PARAMETERS
TMAX
=
10000
;
% Maximal time unit
DT
=
1
e-
2
;
% Time step
DT
=
5
e-
3
;
% Time step
SPS0D
=
1
;
% Sampling per time unit for profiler
SPS2D
=
1
/
4
;
% Sampling per time unit for 2D arrays
SPS5D
=
1
/
300
;
% Sampling per time unit for 5D arrays
...
...
@@ -43,12 +43,12 @@ JOB2LOAD= 0;
%% Naming
SIMID
=
'kobayashi'
;
% Name of the simulation
% SIMID = 'test'; % Name of the simulation
% SIMID = ['v2.
7
_P_',num2str(P),'_J_',num2str(J)]; % Name of the simulation
% SIMID = ['v2.
8
_P_',num2str(P),'_J_',num2str(J)]; % Name of the simulation
PREFIX
=
[];
% PREFIX = sprintf('%d_%d_',NP_P, NP_K
R
);
% PREFIX = sprintf('%d_%d_',NP_P, NP_K
X
);
%% Options
CLOS
=
0
;
% Closure model (0: =0 truncation, 1: semi coll, 2: Copy closure J+1 = J, P+2 = P)
NL_CLOS
=
-
1
;
% nonlinear closure model (-2: nmax = jmax, -1: nmax = jmax-j, >=0 : nmax = NL_CLOS)
NL_CLOS
=
0
;
% nonlinear closure model (-2: nmax = jmax, -1: nmax = jmax-j, >=0 : nmax = NL_CLOS)
KERN
=
0
;
% Kernel model (0 : GK)
INIT_PHI
=
1
;
% Start simulation with a noisy phi and moments
%% OUTPUTS
...
...
@@ -63,11 +63,11 @@ W_TEMP = 1;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% fixed parameters (for current study)
K
R
0KH
=
0
;
A0KH
=
0
;
% Background phi mode
K
R
EQ0
=
0
;
% put k
r
= 0
K
X
0KH
=
0
;
A0KH
=
0
;
% Background phi mode
K
X
EQ0
=
0
;
% put k
x
= 0
KPAR
=
0.0
;
% Parellel wave vector component
LAMBDAD
=
0.0
;
NON_LIN
=
1
*
(
1
-
K
R
EQ0
);
% activate non-linearity (is cancelled if K
R
EQ0 = 1)
NON_LIN
=
1
*
(
1
-
K
X
EQ0
);
% activate non-linearity (is cancelled if K
X
EQ0 = 1)
PMAXE
=
P
;
% Highest electron Hermite polynomial degree
JMAXE
=
J
;
% Highest '' Laguerre ''
PMAXI
=
P
;
% Highest ion Hermite polynomial degree
...
...
@@ -78,14 +78,14 @@ HD_CO = 0.5; % Hyper diffusivity cutoff ratio
MU
=
NU_HYP
/(
HD_CO
*
kmax
)
^
4
;
% Hyperdiffusivity coefficient
NOISE0
=
1.0e-5
;
ETAT
=
0.0
;
% Temperature gradient
ETA
N
=
1.0
;
%
Density
gradient
ETA
B
=
1.0
;
%
Magnetic
gradient
TAU
=
1.0
;
% e/i temperature ratio
% Compute processes distribution
Ntot
=
NP_P
*
NP_KX
;
Nnodes
=
ceil
(
Ntot
/
48
);
Nppn
=
Ntot
/
Nnodes
;
CLUSTER
.
NODES
=
num2str
(
Nnodes
);
% MPI process along p
CLUSTER
.
NTPN
=
num2str
(
Nppn
);
% MPI process along k
r
CLUSTER
.
NTPN
=
num2str
(
Nppn
);
% MPI process along k
x
CLUSTER
.
CPUPT
=
'1'
;
% CPU per task
%% Run file management scripts
setup
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment