Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
794 commits
Select commit Hold shift + click to select a range
3dfc7d1
UQ postprocessing: now can combine timetraces for multiple submission…
YehorYudinIPP Sep 8, 2023
5caee44
less removal in uq postprocessing
YehorYudinIPP Sep 8, 2023
db4834d
UQ postprocessing: pickling timetraces now sort run files correctly and
YehorYudinIPP Sep 11, 2023
4671405
M3-WF: now modifis adaptive_timestep through json parameter; links js…
YehorYudinIPP Sep 11, 2023
bffe085
JSON: ets_standalone now reads adaptive_timestep from json parameters
YehorYudinIPP Sep 11, 2023
34c2f97
UQ postprocessing: small corrections in plotting routines
YehorYudinIPP Sep 12, 2023
d83cd4b
UQ postprocessing: additional filtering of empty values; plotting per…
YehorYudinIPP Sep 13, 2023
b66f919
MFW: config now includes tracback compilation option
YehorYudinIPP Sep 13, 2023
7083a22
Standalone: tools for reading files have less debug output
YehorYudinIPP Sep 13, 2023
2d73b87
M3-MW: added adaptive time step to settings and plotting files
YehorYudinIPP Sep 14, 2023
9d8b4ac
UQ for GEM: finished processing 145 steps - new plotting functionality
YehorYudinIPP Sep 14, 2023
af8b6e3
M3-WF: added implementation of turbulence model selector, and
YehorYudinIPP Sep 15, 2023
efdd225
M3-MF: turbulence implementation selector now receives additional inf…
YehorYudinIPP Sep 25, 2023
67719cd
M3-WF: workflow with surrogate now links libraries and reads vector o…
YehorYudinIPP Sep 25, 2023
1b3cca9
M3-WF: turbulence selector workflow with ports for uncertainty ymmsl …
YehorYudinIPP Sep 25, 2023
a23dc6d
Changes in time labels for TuTrEq
YehorYudinIPP Sep 27, 2023
faad080
M3-MF: more printing for flux values from surrogate
YehorYudinIPP Sep 27, 2023
46f6e3b
M3-WF: postprocessing reads time from coretransp, also reads training
YehorYudinIPP Sep 28, 2023
02dd9de
M3-WF: turbulence selector reads training data
YehorYudinIPP Sep 28, 2023
c0db463
UQ postprocessing: plotting dependencies on a single quantity for every
YehorYudinIPP Sep 29, 2023
021f8e8
M3-WF: turbulence surrogate now reads its trainign dataset and tells
YehorYudinIPP Sep 29, 2023
f75a719
M3-WF: postprocessing on arbitrary folders
YehorYudinIPP Sep 29, 2023
19af247
UQ psotprocessing: plotting traces for 8 flux tubes
YehorYudinIPP Oct 4, 2023
f0ab799
UQ shell scripts: not backing up PFILEs
YehorYudinIPP Oct 4, 2023
af108c9
M3-MF postprocessing: reading CPOs from arbitrary folders
YehorYudinIPP Oct 4, 2023
32bd205
M3-WF: fixes in pathes, imports, dictionaries for turbulence selector…
YehorYudinIPP Oct 5, 2023
21e1edc
UQ campaign: plots for 8 flux tube cases
YehorYudinIPP Oct 5, 2023
4ab51e7
M3-WF: running new GEM WF with developed turbulence
YehorYudinIPP Oct 6, 2023
0f53836
UQ chain: less backup
YehorYudinIPP Oct 6, 2023
27c0acf
UQ postprocessing: reference values and traces
YehorYudinIPP Oct 6, 2023
a6db6b1
M3-WF: not using CoV to select turb model
YehorYudinIPP Oct 6, 2023
5c0e4c5
M3-WF plotting: pairs of quantities included
YehorYudinIPP Oct 6, 2023
4ccb424
M3-WF: setup changes
YehorYudinIPP Oct 9, 2023
5626b2d
M3-WF: postprocessing into single CSV file
YehorYudinIPP Oct 9, 2023
6ce7596
UQ postproc: adding reference input values
YehorYudinIPP Oct 9, 2023
0511ffe
M3-WF: GEM component prints time; correction for dataframe creation i…
YehorYudinIPP Oct 10, 2023
76e6569
UQ postprocessing: adds refence data in X&Y for scan plots
YehorYudinIPP Oct 10, 2023
91d29e6
Added script to touch files in scratch
YehorYudinIPP Oct 10, 2023
e9bb26d
M3-MW: read profile changes
YehorYudinIPP Oct 11, 2023
90fcb92
UQ postproc: different traces windowing, checks for reference value p…
YehorYudinIPP Oct 11, 2023
3b869c3
M3-WF: first implementatiomentation of a workflow that combines data …
YehorYudinIPP Oct 11, 2023
1f34623
M3-WF: adapting surrogate workflows to new settings and dictionary of…
YehorYudinIPP Oct 11, 2023
f977a19
UQ postproc: fixed order for a reference data dict
YehorYudinIPP Oct 12, 2023
18a56e1
M3-WF: fixes for turbulence combiner workflow
YehorYudinIPP Oct 12, 2023
84e7bdc
M3-WF: turbulence selector for GEM0 case
YehorYudinIPP Oct 12, 2023
1a95572
M3-WF: GEM-WF runs with small timestep
YehorYudinIPP Oct 12, 2023
bf49a6c
M3-WF: turbulence manager (selector-combiner) implementation works for
YehorYudinIPP Oct 13, 2023
bca03d7
M3-WF: ymmsl configs, shell scripts, and surrogate component chaged to
YehorYudinIPP Oct 13, 2023
e990e8c
M3-WF: turbulence manager now counts calls of different codes
YehorYudinIPP Oct 13, 2023
fcc6d65
M3-WF: yymsl and shell file clean-up
YehorYudinIPP Oct 13, 2023
686ef6a
ETS: adaptive timestep now checks Ti as well
YehorYudinIPP Oct 13, 2023
4abc1a0
UQ shell scripts: new run for GEM cases
YehorYudinIPP Oct 16, 2023
bca724c
M3-WF: fixes for turbulence model combiner
YehorYudinIPP Oct 16, 2023
66bd330
M3-WF: fixes for new runs
YehorYudinIPP Oct 16, 2023
8e94a62
M3-WF: plotting
YehorYudinIPP Oct 18, 2023
f552a1f
M3-WF: YYMSL files for smallr dt
YehorYudinIPP Oct 18, 2023
0fdb696
M3-WF: slurm launcher
YehorYudinIPP Oct 18, 2023
a721db2
M3-WF: shell script
YehorYudinIPP Oct 18, 2023
5132206
M3-WF: plotting flux tube locations
YehorYudinIPP Oct 20, 2023
9c1ac03
M3-WF: more debugging for manager component
YehorYudinIPP Oct 20, 2023
f0f8239
M3-WF: parameter files for convergent runs:
YehorYudinIPP Oct 20, 2023
41e9889
GEM standalone: additional checks for adaptive time step
YehorYudinIPP Oct 20, 2023
cf7365f
M3-WF: plotting added intersection with bounds and common evolution p…
YehorYudinIPP Oct 23, 2023
2ec5570
M3-WF: fixed some input permutation issues
YehorYudinIPP Oct 23, 2023
b5c9506
M3-WF: new yymsl and shell files
YehorYudinIPP Oct 23, 2023
f0cc8e7
M3-WF: double check for order of dictionary entries
YehorYudinIPP Oct 24, 2023
4ee519c
M3-MF: plotting into several multi-page PDFs
YehorYudinIPP Oct 26, 2023
cd37836
GEM0: generating data for larger parameter space region
YehorYudinIPP Oct 31, 2023
9f5863c
GEM0: Python version can be called for any rho_tor_norm
YehorYudinIPP Nov 1, 2023
1f250b3
GEM0: expanding input space fix
YehorYudinIPP Nov 1, 2023
c283d37
M3-WF: started comparing two turbulence models for profile evolution
YehorYudinIPP Nov 3, 2023
30c62bc
GEM0: calling for arbitrary rho, more debug:
YehorYudinIPP Nov 6, 2023
4631761
minor changes for debugging
YehorYudinIPP Nov 6, 2023
e1c8290
calling GEM0 arabitrary
YehorYudinIPP Nov 6, 2023
9539ff9
GEM0: python implementation to call using CPO data structures
YehorYudinIPP Nov 7, 2023
d5b4996
M3-WF: transport model comparison now uses CPO structures as inputs, …
YehorYudinIPP Nov 7, 2023
635bdeb
M3-WF: surrogate interpolates values of input parameters on coretranp…
YehorYudinIPP Nov 8, 2023
0bbe733
M3-WF: fixed interpolation on the transport radial grid
YehorYudinIPP Nov 10, 2023
a98524d
M3-WF: new workflow for GEM0 surrogate
YehorYudinIPP Nov 22, 2023
75cfbef
GEM0: fixes in wrapper for correct flux tube location
YehorYudinIPP Nov 22, 2023
1a528a6
Fixes in bash and python package
YehorYudinIPP Nov 22, 2023
eb5dfb9
GEM0: correct pathes + scanning plot function
YehorYudinIPP Nov 24, 2023
8ac2349
surrogate: plotting code vs ml scans
YehorYudinIPP Dec 11, 2023
7006960
M3: plotting functions
YehorYudinIPP Dec 11, 2023
259ffb4
Added a function to compare behaviour of two models
YehorYudinIPP Dec 13, 2023
892103a
GEM0: added data with 8*625 evaluations to train surrogates on
YehorYudinIPP Dec 15, 2023
fc36164
GEM0: new scanning, comparison and generating functions for new grid
YehorYudinIPP Dec 15, 2023
aeb6d6f
GEM0py: new grid, interpolation, and outputing
YehorYudinIPP Dec 15, 2023
048a78e
M3: ANNs as surrogates
YehorYudinIPP Dec 15, 2023
a98c81c
Manipulating results from an EasySurrogate for GEM0
YehorYudinIPP Dec 18, 2023
c525498
GEM0SURR: changing the center of model/surrogate cuts
YehorYudinIPP Dec 19, 2023
a130681
Script to run GEM for the first tube continuation: change gem0 to gem…
YehorYudinIPP Jan 5, 2024
317ee06
Checking scans of surrogate responce for given location of a cut
YehorYudinIPP Jan 5, 2024
89b03ee
pyGEM0: added a function to generate LHS sample for arbitrary support…
YehorYudinIPP Jan 8, 2024
500705c
GEM0: correction for LHC sample generation
YehorYudinIPP Jan 9, 2024
8a67cac
Surrogate scans: generality in pathes and parameters, cutting negativ…
YehorYudinIPP Jan 10, 2024
f60f0af
Running GEM for inner flux tube only
YehorYudinIPP Jan 11, 2024
fe3b4ab
GEM0 cuts: now can allign to surrogate training data
YehorYudinIPP Jan 15, 2024
23850af
pyGEM0: small changes
YehorYudinIPP Jan 15, 2024
bb6d6bc
pyGEM0 surrogates comparison for different ANNs
YehorYudinIPP Jan 16, 2024
b82857f
M3-WF: fixes in surrogate and postprocessing for different surrogates
YehorYudinIPP Jan 17, 2024
9473679
M3-WF: added new param for ymmsl
YehorYudinIPP Jan 17, 2024
2e47ee3
surrogate postprocessing changes
YehorYudinIPP Jan 17, 2024
fd26825
pyGEM0: reads different XML files
YehorYudinIPP Jan 17, 2024
c7ea69e
M3-WF: YMMSL files changes for new profiles and surrogate functionality
YehorYudinIPP Jan 18, 2024
2155ff4
M3-WF: now surrogate suggests itself new training points
YehorYudinIPP Jan 18, 2024
fadc37b
M3-WF: postprocessing for new pyGEM0 caller
YehorYudinIPP Jan 18, 2024
7f127a9
pyGEM0: returns inputs as well
YehorYudinIPP Jan 18, 2024
cada136
GEM postprocessing: changes in surrogate comparison
YehorYudinIPP Jan 18, 2024
1738a95
M3-WF: added new component for pyGEm0
YehorYudinIPP Jan 19, 2024
eee5447
M3-WF: postprocessing changes - other reference data
YehorYudinIPP Jan 19, 2024
b36bb2a
M3-WF: YMMSL files have setting for CPO files
YehorYudinIPP Jan 19, 2024
09f6c35
pyGEM0: calling GEM0 via CPO objects
YehorYudinIPP Jan 19, 2024
a75bf96
pyGEM0: new caller to pass entire core profile, so that interpolation…
YehorYudinIPP Jan 22, 2024
96b4041
M3-WF: calling surrogate at coretransp grid
YehorYudinIPP Jan 22, 2024
93f25a6
M3-WF: using coretransp grid everywhere
YehorYudinIPP Jan 22, 2024
c263932
pyGEM0: now can call GEM0 such that an exact value on coretransp grid…
YehorYudinIPP Jan 23, 2024
47b9bfe
M3-WF: small changes due to different grid usage
YehorYudinIPP Jan 23, 2024
dc176f7
M3-WF: YMMSL files for coretransp grid only
YehorYudinIPP Jan 23, 2024
296f106
pyGEM0
YehorYudinIPP Jan 23, 2024
67e110c
M3-WF: support for different types of surrogates and interpolations
YehorYudinIPP Jan 25, 2024
537f775
M3-WF: YMMSL files updated + saving in the shell script
YehorYudinIPP Jan 25, 2024
608c689
pyGEM0: calling for exact values at transp grid
YehorYudinIPP Jan 25, 2024
6bd2b62
pyGEM0: new functions to add data points to existent dataset files
YehorYudinIPP Jan 25, 2024
8b22dc6
pyGEM0: fix of calling for exact input value at transport grid
YehorYudinIPP Jan 26, 2024
2b3cb05
pyGEM0: fixed dataset generating function
YehorYudinIPP Jan 26, 2024
fe20726
M3-WF: fixes for complete workflow processing
YehorYudinIPP Jan 26, 2024
0e8bbf6
Postprocessing: fixed reference data
YehorYudinIPP Jan 29, 2024
3fc8afb
M3-WF: fixed the refence data
YehorYudinIPP Jan 29, 2024
7b64565
M3-WF: added an option for a workflow without equilibrium
YehorYudinIPP Jan 29, 2024
da98245
M3-WF: fixed some ymmsl and sh files
YehorYudinIPP Jan 29, 2024
b753761
M3-WF: added a workflow with no equilibrium evolving
YehorYudinIPP Jan 29, 2024
8a0ebca
M3-WF: workflows changed to be more homogenius in configuration
YehorYudinIPP Jan 31, 2024
5af2236
M3-WF: postprocessing and plotting - less redundancy, supports equili…
YehorYudinIPP Jan 31, 2024
9795ec6
pyGEM0: new functions to create a full-grid input sample based on a p…
YehorYudinIPP Jan 31, 2024
9bdb7dd
GEM0 processing: functions to generate datasets
YehorYudinIPP Feb 2, 2024
d3eeaf1
GEM0: notebook to create new GEM0 datasets
YehorYudinIPP Feb 2, 2024
8af1156
Draft of a script to iterate a surrogate-simulation-workflow to conve…
YehorYudinIPP Feb 2, 2024
a19d856
pyGEM0: caller to extrapolate calues on neighbouring points
YehorYudinIPP Feb 2, 2024
ff8ff55
M3-WF: postprocessing to write gradients as interpolation on rho_tor_…
YehorYudinIPP Feb 2, 2024
d8e6ab1
M3-WF: Surrogate reads gradients as interpolation on rho_tor_norm
YehorYudinIPP Feb 2, 2024
ebf6ba7
Adding argument to some M3 launchers
YehorYudinIPP Feb 2, 2024
f999d64
Making a workflow for surrogate retraining based on stationary state …
YehorYudinIPP Feb 5, 2024
727a4f1
Surrogate conv analysis: prepare signature of all files
YehorYudinIPP Feb 6, 2024
a6bff83
Surrogate retraining loop shell script
YehorYudinIPP Feb 6, 2024
ffcd6c5
Retraining workflow: added a script to compare two plasma states
YehorYudinIPP Feb 7, 2024
bc6f0a0
M3-WF utils: added functionality to compare plasma states
YehorYudinIPP Feb 7, 2024
7e65e70
WF postprocessing: added scripts to read CPO files separately
YehorYudinIPP Feb 7, 2024
2265045
Retraining workflow: fixed WF shel sctipt + data preparation step
YehorYudinIPP Feb 7, 2024
d688fe1
M3-WF: functionality to read fixes
YehorYudinIPP Feb 7, 2024
f7cfd7d
Retraining workflow: fixes in reading files
YehorYudinIPP Feb 7, 2024
76b948c
Retraining workflow: Added comparison with gt.st.st.
YehorYudinIPP Feb 7, 2024
3a39e3c
Retraining workflow: fixed comparison functions
YehorYudinIPP Feb 8, 2024
28e5f33
Aleatoric Workflow: drafts of eUQ script, shell scripts for execution…
YehorYudinIPP Feb 8, 2024
cd3aff5
Aleatoric WF: SLURM scripts, params, copying, metrics, sampling, enco…
YehorYudinIPP Feb 9, 2024
cd463a8
M3-WF: updated files for independent workflow
YehorYudinIPP Feb 12, 2024
61b66b0
Updated scripts for aleatoric analysis workflow
YehorYudinIPP Feb 12, 2024
80f0673
Aleatoric workflow: minor (paths) fixes
YehorYudinIPP Feb 12, 2024
f85087d
Change of pathes for util functions + random M3 run id + minor changes
YehorYudinIPP Feb 13, 2024
68ad1d3
Retraining algo: changes plotting routine
YehorYudinIPP Feb 14, 2024
3a3732c
Aleatoric algo: fixed pathes and file copying, configuration, debug-p…
YehorYudinIPP Feb 14, 2024
ef32e3b
Aleatoric algo: updates in decoder and in M3 running
YehorYudinIPP Feb 15, 2024
3c6101e
Minor updates in scripts
YehorYudinIPP Feb 15, 2024
da3b6c7
Added a script to compute marginalised aleatoric coefficient of varia…
YehorYudinIPP Feb 16, 2024
4e2e47c
Changes in the scratcg notebook
YehorYudinIPP Feb 16, 2024
243327d
Changes in oldf profile plotting script
YehorYudinIPP Feb 16, 2024
8f79f28
Aleatoric algo: added CoV from GEM, added timeout for M3 jobs, fixed …
YehorYudinIPP Feb 16, 2024
57eb781
Aleatoric algo: now analysis is passing, configured to a first inform…
YehorYudinIPP Feb 19, 2024
50d0c75
Getting GEM mean flux values per flux tube
YehorYudinIPP Feb 19, 2024
88bd343
M3 postprocessing: changed folder structure
YehorYudinIPP Feb 20, 2024
2f1cb84
Aleatoric algo: fixed analysis part, prepared for a larger scan run
YehorYudinIPP Feb 20, 2024
da44c44
Aleatoric algo: made a postprocessing function
YehorYudinIPP Feb 20, 2024
0bc15b4
Aleatoric algorithm: change in scan params. Still low CPU utilisation…
YehorYudinIPP Feb 21, 2024
52f4c7c
Added plotting of core profile samples and KDE fits for the very core
YehorYudinIPP Feb 21, 2024
604b104
Aleatoric algorithm: changes to run for baseline surrogate data from …
YehorYudinIPP Feb 22, 2024
b5c162f
Aleatoric algorithm: postprocessing CoV_T of CoV_Q
YehorYudinIPP Feb 22, 2024
ee3090f
Minor changes in postprocessing notebook
YehorYudinIPP Feb 23, 2024
2036f04
Draft of changes to introduce equilibrium changes in surrogates
YehorYudinIPP Feb 23, 2024
57113bc
Updated scripts and configs for aleatoric uncertainty scans
YehorYudinIPP Feb 23, 2024
aaf9859
Adding equilibrium data to pyGEM0 calls, data generation, GPR trainin…
YehorYudinIPP Feb 26, 2024
4d360fa
Postprocessing: checking equilibrium + histograms
YehorYudinIPP Feb 26, 2024
4906384
Retraining algorithm: small fixes to include equilibrium data for sur…
YehorYudinIPP Feb 27, 2024
b54eee2
New analysis for aleatoric algo and GEM data
YehorYudinIPP Feb 28, 2024
142428d
Retraining algo: enabled switching between data with and without equi…
YehorYudinIPP Feb 28, 2024
30f5f6b
Fixes in aleatoric algo analysis
YehorYudinIPP Feb 28, 2024
9c7b38f
AlAlg: added Sobol indices plotting
YehorYudinIPP Feb 29, 2024
161ba54
Changes in plasma state comparison
YehorYudinIPP Feb 29, 2024
8941dde
Changes in parameter grid preparation for GEM
YehorYudinIPP Feb 29, 2024
1019f5f
Minor postprocessing changes
YehorYudinIPP Feb 29, 2024
bd34a0b
Updated plotting notebook
YehorYudinIPP Mar 1, 2024
894e893
Aleatoric algo: scans in more params enabled
YehorYudinIPP Mar 4, 2024
992ed4e
Aleatoric algo: executing failed jobs via a separate SLURM script, an…
YehorYudinIPP Mar 4, 2024
bc85682
Aleatoric algo restarting script - fixes for waiting and state compar…
YehorYudinIPP Mar 5, 2024
f7b8c1d
Restarting al.algo. : starting multiple SLURM jobs now
YehorYudinIPP Mar 6, 2024
f458f26
Al.Algo. : postprocessing plots changes
YehorYudinIPP Mar 6, 2024
1492016
Modifying files to restart eUQ campaign for AlAlg
YehorYudinIPP Mar 11, 2024
f95683d
Postprocessing: cells for surrogate costs
YehorYudinIPP Mar 11, 2024
535b0cb
Comparison of states: plotting
YehorYudinIPP Mar 12, 2024
a96e90d
Plotting the costs: highlights
YehorYudinIPP Mar 12, 2024
c81e08b
Comparing states: renewing metrics
YehorYudinIPP Mar 12, 2024
ca2cb7d
Reruning AlAlgo: slurm files
YehorYudinIPP Mar 12, 2024
6fedbc5
Re-running retraining algorithm
YehorYudinIPP Mar 13, 2024
d6f8c28
Checking the error in final state
YehorYudinIPP Mar 13, 2024
ddd86ec
Cherry-pick from DPC
YehorYudinIPP Mar 14, 2024
44f37d1
update old python notebooks
YehorYudinIPP Mar 14, 2024
4cdc28c
updated shell scripts
YehorYudinIPP Mar 14, 2024
4b7cad8
updated aleatoric algo restart scripts
YehorYudinIPP Mar 15, 2024
8a1f374
eUQ script to re-analyse aleatoric algo
YehorYudinIPP Mar 15, 2024
9dc10b5
Updated aleatoric algo files
YehorYudinIPP Mar 15, 2024
350df87
Got data from older GEM runs + new scan plots
YehorYudinIPP Mar 18, 2024
69aa98f
Fixes in retraining algorithm: merging files, updating equilibrium
YehorYudinIPP Mar 20, 2024
160a27e
Updated postprocessing notebook
YehorYudinIPP Mar 20, 2024
33a8011
Updated Aleatoric Algorithm file: running with GEM data - passing num…
YehorYudinIPP Mar 20, 2024
b69830b
Updated postprocessing notebook
YehorYudinIPP Mar 21, 2024
de41e45
Updated script for aleatoric workflow
YehorYudinIPP Mar 21, 2024
be1c19d
Updated the M3 surrogate files
YehorYudinIPP Mar 22, 2024
84cb232
Updated the config for GEM-sur-WF
YehorYudinIPP Mar 22, 2024
9cd316f
Updated script to run aleatoric algorithm
YehorYudinIPP Mar 22, 2024
505ac06
update postprocessing notebook
YehorYudinIPP Mar 25, 2024
b13ee33
RetrAlgo: trying version with implicit equilibrium update but without…
YehorYudinIPP Mar 25, 2024
8ec5bd6
Updating plotting and utility scripts
YehorYudinIPP Mar 26, 2024
19caaae
Postrprocessing notebook: new RetrAlgo and GEM data update(Sobol errors)
YehorYudinIPP Mar 26, 2024
a833362
AleAlgo: new attempt
YehorYudinIPP Mar 26, 2024
d59d566
ETS: changed v_floor to -1000, no longer applies to BC(r=0)
YehorYudinIPP Mar 27, 2024
4d13468
changes in postprocessing notebook: re-reading GEM dataset
YehorYudinIPP Mar 27, 2024
b82e605
Update in postprocessing notebook
YehorYudinIPP Apr 8, 2024
b4c25a8
Update Aleatoric Algo scripts
YehorYudinIPP Apr 8, 2024
1213b4b
Enabled surrogates in transformed spaces
YehorYudinIPP Apr 8, 2024
783c078
Getting GEM0 Sobols
YehorYudinIPP Apr 8, 2024
292573d
updated gem_da.py
YehorYudinIPP Apr 8, 2024
94891f0
postprocessing
YehorYudinIPP Apr 9, 2024
0434861
GEM0 UQ
YehorYudinIPP Apr 9, 2024
ea52a9b
Added convergence analysis for the time traces analysis
YehorYudinIPP Apr 18, 2024
52dedf2
time traces post-processing
YehorYudinIPP Apr 18, 2024
4486a69
Time trace postprocessing: lin scan in convergence criteria, plotting…
YehorYudinIPP Apr 19, 2024
bc0d316
Time traces postprocessing: varying convergence criteria, another ACT…
YehorYudinIPP Apr 22, 2024
3a69b54
Postprocessing: plots for GEM-81 tt-s
YehorYudinIPP Apr 22, 2024
b23464f
changes in time traces postprocessing
YehorYudinIPP Apr 23, 2024
c113a79
changes in postprocessing notebook
YehorYudinIPP Apr 23, 2024
4adf636
CHEASE XML: disabled numerical tension that used to over-smooth
YehorYudinIPP Jun 25, 2024
6a44d8f
Workflows folder: added a GEM0 XML file version with rho=0.7
YehorYudinIPP Jun 25, 2024
42122af
Workflows folder: added GEM XML file version for 7 flux tubes and larger
YehorYudinIPP Jun 25, 2024
398ae5d
Workflow folder: added a new version of AUG_28906_6 coreprof CPO
YehorYudinIPP Jun 25, 2024
379e9c9
Workflow folder: added a new version of coretransp CPO
YehorYudinIPP Jun 25, 2024
30b9899
Workflows folder: added a new version of a restart GEM XML file
YehorYudinIPP Jun 25, 2024
a1eab49
Aleatoric propagation algorithm: added new version of execution scripts
YehorYudinIPP Jun 25, 2024
20bbafe
Postprocessing notebook: updated time traces analysis
YehorYudinIPP Jun 25, 2024
472b959
Aleatoric propagation algorithm: added new version of UQ scripts
YehorYudinIPP Jun 25, 2024
d6c6dc7
M3: update ETS makefile for JSON and debugging
YehorYudinIPP Jun 25, 2024
4a026ae
Basicda folder: added GEM0 input files from 25.06.2024
YehorYudinIPP Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ externals/*
!Makefile.libbds
!chease-patch.diff
!gem-tmppatch.diff
!gem0-ra0patch.diff
!bohmgb-coefftypes-patch.diff

usr/*

Expand Down
124 changes: 101 additions & 23 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export LIB_CONSTANTS = ${PWD}/ual/lib/${SYS}/constants
export INC_XML = ${PWD}/ual/include/${SYS}/xml
export LIB_XML = ${PWD}/ual/lib/${SYS}/xml

export INC_JSON=../../json-fortran/build
export LIB_JSON=../../json-fortran/build/lib
export LIB_JSON_FILE=../../json-fortran/build/lib/libjsonfortran.so

export DATAVERSION = 4.10b.10

include config
Expand All @@ -30,6 +34,12 @@ export MAINMAKE=yes
SVNURL_GFORGE = https://gforge-next.eufus.eu/svn
SVNURL_SOLPS = https://solps-mdsplus.aug.ipp.mpg.de/repos

SVNADR_EPFL = https://spcsvn.epfl.ch/repos/

GITLABADR_PSNC = gitlab.eufus.psnc.pl
GITLABURL_PSNC = https://${GITLABADR_PSNC}
GITLABADR_EPFL = gitlab.epfl.ch

################################################################################
# global rules #
################################################################################
Expand All @@ -44,7 +54,7 @@ all: kernels
@echo -e "\033[35m\033[1m ==== Full Build Completed ==== \033[0m"


codes: libbds bdseq bohmgb ets gem chease dfefi imp4dv gem0
codes: libbds bdseq bohmgb ets gem chease imp4dv gem0
#orb5


Expand Down Expand Up @@ -113,10 +123,11 @@ libbds: ual get-libbds
get-libbds:
@if [ ! -d "externals/libbds" ]; then \
echo "Checking out libbds..."; \
svn co $(SVNURL_GFORGE)/libbds/tags/4.10b externals/libbds; \
# svn co $(SVNURL_GFORGE)/libbds/tags/4.10b externals/libbds; \
git clone git@${GITLABADR_PSNC}:ets/libbds.git --branch 4.10b --single-branch externals/libbds ; \
else \
echo "Updating libbds..."; \
svn up externals/libbds; \
# svn up externals/libbds; \
fi

clean-libbds:
Expand All @@ -136,10 +147,12 @@ ets: ual libbds get-ets
get-ets:
@if [ ! -d "externals/ets" ]; then \
echo "Checking out ets..."; \
svn co $(SVNURL_GFORGE)/ets/tags/4.10b.10_8 externals/ets; \
# svn co $(SVNURL_GFORGE)/ets/tags/4.10b.10_8 externals/ets; \
# git clone ${GITLABURL_PSNC}/ets/ets5sources.git externals/ets; \
(git clone git@${GITLABADR_PSNC}:ets/ets5sources.git --branch tags/4.10b.10_8 --single-branch externals/ets;) \
else \
echo "Updating ets..."; \
svn up externals/ets; \
# svn up externals/ets; \
fi

clean-ets:
Expand All @@ -159,12 +172,28 @@ bohmgb: ual libbds get-bohmgb
get-bohmgb:
@if [ ! -d "externals/bohmgb" ]; then \
echo "Checking out bohmgb..."; \
svn co $(SVNURL_GFORGE)/modtransp/tags/4.10b/bohmgb externals/bohmgb; \
if [ ! -d "externals/modtransp" ]; then \
echo "Modtransp is not yet cloned..."; \
git clone git@${GITLABADR_PSNC}:/ets/modtransp.git externals/modtransp ; \
else \
echo "Modtransp is already cloned..."; \
fi ; \
cp -r externals/modtransp/bohmgb externals/bohmgb ; \
echo "Copied bohmgb sourse..." ; \
else \
echo "Updating bohmgb..."; \
svn up externals/bohmgb; \
# # svn up externals/bohmgb; \
fi

patch-bohmgb:
# patch to change turbulent coefficients type declarations
@grep -q R8 externals/bohmgb/include/bohmgb_coeff.h90 \
&& echo -e "\033[32m\033[1m -- ALREADY PATCHED -- \033[0m" \
|| (echo -e "\033[36m\033[1m ++++ Patch BohmGB sources ++++ \033[0m"; \
(patch -R -p0 -i externals/bohmgb-coefftypes-patch.diff \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m")

clean-bohmgb:
@echo -e "\033[36m\033[1m ++++ Clean BOHMGB ++++ \033[0m"; \
($(MAKE) --no-print-directory -C externals -f Makefile.bohmgb clean \
Expand All @@ -173,21 +202,47 @@ clean-bohmgb:


# gem0 #########################################################################
gem0: ual libbds get-gem0
# patch to force gem0 to read ra0 param from the xml file
gem0: ual libbds get-gem0 patch-gem0
@echo -e "\033[36m\033[1m ++++ Build GEM0 ++++ \033[0m"; \
cp gem.F90.gem0_modified externals/gem0/main/gem.F90; \
($(MAKE) --no-print-directory -C externals -f Makefile.gem0 \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m"

get-gem0:
#TODO what is -r : version? git counterpart of revision? looks like not all commits were transfered...
@if [ ! -d "externals/gem0" ]; then \
echo "Checking out gem0..."; \
svn co $(SVNURL_GFORGE)/modtransp/trunk/gem0 externals/gem0 -r 119; \
if [ ! -d "externals/modtransp" ]; then \
echo "Modtransp is not yet cloned..."; \
git clone git@${GITLABADR_PSNC}:/ets/modtransp.git externals/modtransp ; \
else \
echo "Modtransp is already cloned..." ; \
fi ; \
cp -r externals/modtransp/gem0 externals/gem0; \
echo "Copied gem0 source..." ; \
else \
echo "Updating gem0..."; \
svn up externals/gem0 -r 119; \
# # svn up externals/gem0 -r 119; \
fi

patch-gem0:
@grep -q ra0 externals/gem0/main/gem.F90 \
&& echo -e "\033[32m\033[1m -- ALREADY PATCHED -- \033[0m" \
|| (echo -e "\033[36m\033[1m ++++ Patch GEM0 sources ++++ \033[0m"; \
(patch -p0 -i externals/gem0-ra0patch.diff \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m")

revert-gem0:
@echo -e "\033[36m\033[1m ++++ Revert GEM0 sources ++++ \033[0m"; \
(svn revert externals/gem0/main/* \
&& svn revert externals/gem0/inputs/* \
&& svn revert externals/gem0/include/* \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m"

clean-gem0:
@echo -e "\033[36m\033[1m ++++ Clean GEM0 ++++ \033[0m"; \
($(MAKE) --no-print-directory -C externals -f Makefile.gem0 clean \
Expand All @@ -205,10 +260,11 @@ bdseq: ual libbds get-bdseq
get-bdseq:
@if [ ! -d "externals/bdseq" ]; then \
echo "Checking out bdseq..."; \
svn co $(SVNURL_GFORGE)/bdseq/tags/4.10b externals/bdseq; \
# svn co $(SVNURL_GFORGE)/bdseq/tags/4.10b externals/bdseq; \
git clone git@${GITLABADR_PSNC}:ets/bdseq.git --branch 4.10b --single-branch externals/bdseq ; \
else \
echo "Updating bdseq..."; \
svn up externals/bdseq; \
# svn up externals/bdseq; \
fi

clean-bdseq:
Expand All @@ -234,7 +290,7 @@ revert-gem:
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m"

gem: ual libbds get-gem patch-gem
gem: ual libbds patch-gem # ual libbds get-gem patch-gem
@echo -e "\033[36m\033[1m ++++ Build GEM ++++ \033[0m"; \
($(MAKE) --no-print-directory -C externals -f Makefile.gem \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
Expand All @@ -255,6 +311,14 @@ clean-gem: revert-gem
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m"

compile-gem: ual libbds clean-gem patch-gem
@echo -e "\033[36m\033[1m ++++ Build GEM (change main function and MPI topology init; outputs in Energy(); w/o getting from a repository) ++++ \033[0m"; \
#cp mppein.h90.modified externals/gem/include/mppein.h90 ;\
cp gem.F90.modified externals/gem/actor/gem.F90 ;\
#cp energy.F90.modified externals/gem/main/energy.F90 ;\
($(MAKE) --no-print-directory -C externals -f Makefile.gem \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m"

# dfefi (version from IPP repos) ###############################################
dfefi: ual libbds get-dfefi
Expand All @@ -266,10 +330,11 @@ dfefi: ual libbds get-dfefi
get-dfefi:
@if [ ! -d "externals/dfefi" ]; then \
echo "Checking out dfefi..."; \
svn co $(SVNURL_SOLPS)/dFEFI/trunk externals/dfefi; \
# svn co $(SVNURL_SOLPS)/dFEFI/trunk externals/dfefi; \
git clone ${GITLABURL_PSNC}/... externals/dfefi; \
else \
echo "Updating dfefi..."; \
svn up externals/dfefi; \
# svn up externals/dfefi; \
fi

clean-dfefi:
Expand All @@ -282,17 +347,24 @@ clean-dfefi:
# imp4dv #######################################################################
imp4dv: ual libbds get-imp4dv
@echo -e "\033[36m\033[1m ++++ Build IMP4DV ++++ \033[0m"; \
cp imp4dv.f90.modified externals/imp4dv/main/imp4dv.f90; \
($(MAKE) --no-print-directory -C externals -f Makefile.imp4dv \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m"

get-imp4dv:
@if [ ! -d "externals/imp4dv" ]; then \
echo "Checking out imp4dv..."; \
svn co $(SVNURL_GFORGE)/modtransp/trunk/imp4dv externals/imp4dv; \
if [ ! -d "externals/modtransp" ]; then \
echo "Modtransp is not yet cloned..."; \
git clone git@${GITLABADR_PSNC}:/ets/modtransp.git externals/modtransp ; \
else \
echo "Modtransp is already cloned..."; \
fi ; \
cp -r externals/modtransp/imp4dv externals/imp4dv ; \
else \
echo "Updating imp4dv..."; \
svn up externals/imp4dv; \
# # svn up externals/imp4dv; \
fi

clean-imp4dv:
Expand Down Expand Up @@ -320,13 +392,17 @@ strip-chease:
externals/chease/src-f90/xml2eg.f90 \
externals/chease/src-f90/xml2eg_c.c \
externals/chease/src-f90/xml_file_reader.f90; \
mv externals/chease/src-f90/energy.f90 externals/chease/src-f90/energy_chease.f90; \
sed -i "s/ENERGY/ENERGY_CHEASE/g" externals/chease/src-f90/energy_chease.f90; \
sed -i "s/ENERGY/ENERGY_CHEASE/g" externals/chease/src-f90/stepon.f90;\
sed -i "s/energy/energy_chease/g" externals/chease/src-f90/Makefile \
if [ ! -f "externals/chease/src-f90/energy_chease.f90" ]; then \
mv externals/chease/src-f90/energy.f90 externals/chease/src-f90/energy_chease.f90; \
sed -i "s/ENERGY/ENERGY_CHEASE/g" externals/chease/src-f90/energy_chease.f90; \
sed -i "s/ENERGY/ENERGY_CHEASE/g" externals/chease/src-f90/stepon.f90;\
sed -i "s/energy/energy_chease/g" externals/chease/src-f90/Makefile; \
fi \
&& echo -e "\033[32m\033[1m -- OK -- \033[0m") \
|| echo -e "\033[31m\033[1m -- FAIL -- \033[0m") \
|| echo -e "\033[32m\033[1m -- ALREADY STRIPPED -- \033[0m"

#NB: Chease has to be cleaned before every build due to the current sed set-up

revert-chease:
@echo -e "\033[36m\033[1m ++++ Revert CHEASE makefiles ++++ \033[0m"; \
Expand All @@ -345,10 +421,12 @@ chease: ual get-chease strip-chease patch-chease
get-chease:
@if [ ! -d "externals/chease" ]; then \
echo "Checking out chease..."; \
svn co $(SVNURL_GFORGE)/chease/chease/tags/4.10b.10_CHEASEv12_9 externals/chease; \
# svn co $(SVNURL_GFORGE)/chease/chease/tags/4.10b.10_CHEASEv12_9 externals/chease; \
# git clone git@${GITLABADR_EPFL}:spc/chease.git --branch 4.10b.10_CHEASEv12_9 --single-branch externals/chease ; \
svn co ${SVNADR_EPFL}/CHEASE/chease/tags/4.10b.10_CHEASEv12_9 externals/chease; \
else \
echo "Updating chease..."; \
svn up externals/chease; \
# svn up externals/chease; \
fi

clean-chease: revert-chease
Expand Down
43 changes: 43 additions & 0 deletions archive_slurm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/bash -l

## job name
#SBATCH --job-name=ARCHIVE_FILES_

## stdout and stderr files
#SBATCH --output=archive-out.%j
#SBATCH --error=archive-err.%j

## wall time in format (HOURS):MINUTES:SECONDS
#SBATCH --time=24:00:00

## number of nodes and tasks per node
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=40
###SBATCH --ntasks-per-core=1
###SBATCH --cpus-per-task=8

#SBATCH --partition=medium
###SBATCH --qos=

#SBATCH --profile=all
###SBATCH --oversubscribe

## grant
###SBATCH --account=
#SBATCH --mail-type=ALL
#SBATCH --mail-user=yyudin@ipp.mpg.de

#############################################

export DIR_BASE=VARY_1FT_GEM_NT_
export DIR_NAME=akgbbn1a


echo 'Archiving files in '${DIR_BASE}${DIR_NAME}

tar -czvf /r/y/yyudin/${DIR_BASE}${DIR_NAME}.tar.gz /ptmp/yyudin/${DIR_BASE}${DIR_NAME}/runs/dat/9/

tar -ztvf /r/y/yyudin/${DIR_BASE}${DIR_NAME}.tar.gz &> log_${DIR_NAME}.txt

echo 'Finished archiving'

14 changes: 14 additions & 0 deletions check_resolutions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -l

n_list=(1 4 5 8 16 32)

for n in ${!n_list[@]}; do

# TODO: substitute expression with a variable in sed
sed "s/<npess> .* <\/npess>/<npess> \${n} <\/npess>/g" gem.xml > gem.xml.new.${n}

# TODO: substitute expression with a result of an arithmetic operation in sed
sed "s/srun .* .\/COBRA\//srun -n \$((\${n}*8))/g" gem_test_batch.sh > gem_test_batch.sh.new.${n}

done

7 changes: 5 additions & 2 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -335,13 +335,16 @@ ifeq ($(SYS),COBRA)
export CC = icc
export CCFLAGS = -g -O3 -fPIC
export FC90= ifort
export FC90FLAGS = -g -O3 -fPIC
#export FC90FLAGS = -g -O3 -fPIC
export FC90FLAGS = -g -O2 -fPIC
#export FC90FLAGS = -g -O0 -traceback -fPIC # for debugging
export FC77 = ifort
export FC77FLAGS = ${FC90FLAGS}
export MPIF90 = mpiifort
export MPIFLAGS = ${FC90FLAGS}
export FPP = fpp
export FPPFLAGS =
#export FPPFLAGS =
export FPPFLAGS = -traceback
export LD = ifort
export LDFLAGS =

Expand Down
Loading