Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asterix hack 3 #7

Open
wants to merge 3,471 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3471 commits
Select commit Hold shift + click to select a range
7721b33
Make that compile maybe
ykempf May 28, 2024
1502106
There's vectors of these parameters to check.
ykempf May 28, 2024
da519c0
Fixed incorrect array accesses
ykempf May 28, 2024
e63c86e
Wait for tar file at end of command
ykempf May 28, 2024
07d5eb7
Fix syntax. :@
ykempf May 28, 2024
f28493e
Only one test, debugging.
ykempf May 28, 2024
2efb967
Remove quotes
ykempf May 28, 2024
f835ef4
Quotes to solve this?
ykempf May 28, 2024
163d7c1
Revert "Only one test, debugging."
ykempf May 28, 2024
04b8d5d
Try to reduce precision of vlsvdiff output to fit under 64K report size.
ykempf May 28, 2024
b411f9d
Drop zillions of ----- from carrington ci output to reach <64K.
ykempf May 28, 2024
668316a
Merge remote-tracking branch 'origin/dev' into lfm_ionosphere_test
ursg May 28, 2024
d23618c
Add automatic ionosphere testing (Merkin2010) as a CI stage.
ursg May 28, 2024
df0f846
No verbose tar command
ykempf May 29, 2024
e1d6059
Add back some level of --- for better readability.
ykempf May 29, 2024
e75a22a
Print current version string once at the top only.
ykempf May 29, 2024
98b5536
Print version info once it's available
ykempf May 29, 2024
3b35f8d
Print MPI IO bypass warning only if the env variable is not set.
ykempf May 29, 2024
8e7b1a0
Set MPI_MCA_io to ^ompio in the carrington CI job script to avoid get…
ykempf May 29, 2024
f8527a0
Remove one duplicate line of the Carrington CI report.
ykempf May 29, 2024
9b30462
echo -e for \n
ykempf May 29, 2024
3a18895
Cosmetic move of one line of ----------
ykempf May 29, 2024
f6f7fdb
Upgrade of Makefile.yann
ykempf May 29, 2024
04b8c21
Try aligning output using \t\t\t
ykempf Jun 2, 2024
f4a29f1
Adjust tab length for aligned Carrington CI output.
ykempf Jun 2, 2024
90690bd
Fix to tabs definitions.
ykempf Jun 2, 2024
584772d
replace -M value parsed form output with written-out carrington to se…
ykempf Jun 2, 2024
7fb108e
Try to add a trap for the SIGTERM that github sends to the runner too.
ykempf Jun 2, 2024
5f8a70b
dummy commit to test addition trap to scancel
ykempf Jun 2, 2024
e8d4aa9
More bash-fu to obtain aligned outputs using tabs and expand
ykempf Jun 3, 2024
4956ab9
Revert "dummy commit to test addition trap to scancel"
ykempf Jun 3, 2024
2192940
Revert "Revert "dummy commit to test addition trap to scancel""
ykempf Jun 3, 2024
1c1ae25
Finally revert the dummy space addition, cancelling running Carringot…
ykempf Jun 3, 2024
5f7a626
Align column headers too.
ykempf Jun 3, 2024
265b267
Bonus: align columns with headers for speedup data
ykempf Jun 3, 2024
7c0b3f0
Polishing positions
ykempf Jun 3, 2024
747b0fd
Position polishing
ykempf Jun 3, 2024
97c746f
Print size of report.
ykempf Jun 3, 2024
723d059
Merge pull request #974 from ykempf/CI-carrington-fs-ops-to-srun
markusbattarbee Jun 3, 2024
e811b20
actually build Merkin2010 test on both hemispheres
ursg Jun 5, 2024
9bca1b4
Fix crash if OMPI_MCA_io is not set in environment.
ursg Jun 6, 2024
02902ea
Merge remote-tracking branch 'fmihpc/dev' into dev
ykempf Jun 7, 2024
9e7be0f
Merge pull request #984 from ursg/ompi_crash_fix
ykempf Jun 7, 2024
147f14c
Merge remote-tracking branch 'fmihpc/dev' into refinement_exclusion_h…
ykempf Jun 7, 2024
115c7e7
New parameters to disable refining beyond given min/max values in x, y,
ykempf Jun 7, 2024
b7fb599
Actually run solver with suitable settings in ionosphere miniApp.
ursg Jun 11, 2024
bbbc4ef
Merge branch 'dev' of https://github.com/fmihpc/vlasiator into dev
alhom Jun 12, 2024
989e794
Fix merge blunder in Makefile.yann
ykempf Jun 13, 2024
0c3b2df
Renamed to minRefinementX etc.
ykempf Jun 13, 2024
5ba2367
One spot missed renaming
ykempf Jun 13, 2024
87d0e3f
Indentation for rEaDaBiLiTy
ykempf Jun 13, 2024
ebc7d26
Merge pull request #967 from alhom/dev
ykempf Jun 13, 2024
099ec71
Merge pull request #975 from ursg/noSubmodlesTestpackageRun
ursg Jun 13, 2024
92a0e63
Merge pull request #976 from ykempf/save_fsaved
ursg Jun 13, 2024
fb85b36
refine_radius for dAMR version support, a QoL improvements: output b …
alhom Feb 11, 2024
4ddcb8e
An updated config to v5.3 and .dat files to go with it
alhom Feb 15, 2024
5dff387
Submodules fast-forward
alhom Jun 12, 2024
3fd440b
Add comments for refinement exclusion boolean logic, fix mistaken fla…
markusbattarbee Jun 13, 2024
9bbd284
Added trap output
alhom May 28, 2024
0055a77
In ionosphereMiniApp makefile, only compile when running "make".
ursg Jun 13, 2024
76ad6e6
Build ionosphereMiniApp CI stage using "make" only.
ursg Jun 13, 2024
a36f9f8
job names
alhom May 28, 2024
4535e02
Replace hard-coded tracing dx limits with parameter
ykempf Jun 13, 2024
ba26574
Save jobspec to output
alhom May 28, 2024
207bf5d
Fix crash if OMPI_MCA_io is not set in environment.
ursg Jun 6, 2024
896d099
Merge remote-tracking branch 'fmihpc/dev' into dev
ykempf Jun 13, 2024
5283e31
Default check_vlasiator_cfg.sh to running the binary locally.
ykempf Jun 13, 2024
7960b32
That Makefile.yann fix again
ykempf Jun 13, 2024
64fe699
yet a bit more output for cancelled jobs
alhom Jun 13, 2024
64bc9e5
Start by echo, then try scancel
alhom Jun 13, 2024
645fa74
waiting srun node/core/mem spec
alhom Jun 13, 2024
4e3427c
Merge pull request #957 from ursg/lfm_ionosphere_test
ykempf Jun 13, 2024
fe352ed
Pass scancel --full to cancel jobs
ykempf Jun 13, 2024
0ad44e0
New line to force interruption of previous ci instance
ykempf Jun 13, 2024
834c8c1
Revert "New line to force interruption of previous ci instance"
ykempf Jun 13, 2024
445a818
Revert "Revert "New line to force interruption of previous ci instance""
ykempf Jun 13, 2024
0bc093a
Merge pull request #989 from ykempf/ci_scancel_full
alhom Jun 13, 2024
2c0e961
Merge dev to fix conflicts
alhom Jun 13, 2024
1a5f21c
comments
alhom Jun 13, 2024
802eb5a
Add a "check cfg files" CI step.
ursg Jun 13, 2024
228e473
Merge pull request #987 from ykempf/check_script_default_local
ursg Jun 13, 2024
dece626
Merge remote-tracking branch 'origin/dev' into dev
ursg Jun 13, 2024
b0cafac
Updates to reference data building script
markusbattarbee Jun 13, 2024
61ead87
Move workspace cleaning to run on cluster
markusbattarbee Jun 13, 2024
e17c349
Merge pull request #970 from ykempf/tracing-patch
markusbattarbee Jun 13, 2024
ddb6d89
cfg checker: also import libraries and test testpackage/ and samples/
ursg Jun 13, 2024
473d6b5
Merge pull request #985 from ykempf/refinement_exclusion_halfspaces
ursg Jun 13, 2024
4d3c8a5
yaml syntax fix
markusbattarbee Jun 13, 2024
9c5fbeb
Merge branch 'dev' into harris-update
alhom Jun 13, 2024
6a3f1bf
don't bother with cleanup fix on arriesgado
markusbattarbee Jun 13, 2024
44210b6
Purge dead projects projects/unsupported/* and projects/VelocityBox
ykempf Jun 13, 2024
6103734
don't bother with cleanup fix on arriesgado mk2
markusbattarbee Jun 13, 2024
8f92dde
Merge pull request #986 from alhom/harris-update
markusbattarbee Jun 13, 2024
5fd095d
cfg checker: Deal with known-unsupported configs
ursg Jun 13, 2024
36516c6
Merge pull request #991 from markusbattarbee/update_CI_reference_data…
ursg Jun 13, 2024
62e7eec
More verbose commit.
alhom Jun 13, 2024
47bc460
More verboser commit.
alhom Jun 13, 2024
44e2d67
Fix cfg checker shell syntax.
ursg Jun 13, 2024
1e51911
Clean up VelocityBox and projects/unsupported in code and scripts too.
ykempf Jun 13, 2024
cb6089b
Merge pull request #977 from alhom/cancel-CI
markusbattarbee Jun 13, 2024
d5db98a
Merge pull request #992 from ykempf/rip_dead_projects
markusbattarbee Jun 13, 2024
6d7d1c2
Also print the error output in failing cfg checks.
ursg Jun 13, 2024
4c3ea94
change CI reference data generation job name
markusbattarbee Jun 13, 2024
37453c3
Merge remote-tracking branch 'origin/dev' into dev
ursg Jun 13, 2024
a166834
Restore timer fieldtracing-ionosphere-VlasovGridCoupling
lkotipal Jun 13, 2024
ff553cd
Updated MultiPeak cfg files
ykempf Jun 13, 2024
08feb5d
Fix Riemann1 example config
ursg Jun 13, 2024
2030036
Fix test_trans.cfg file
ursg Jun 13, 2024
827fc95
Fix Shocktest.cfg
ursg Jun 13, 2024
d780458
Updated Dispersion cfg
alhom Jun 13, 2024
6ddb4e2
Merge branch 'checkCfgCI' of https://github.com/ursg/vlasiator into c…
alhom Jun 13, 2024
6cd2678
More cfg fixes
ykempf Jun 13, 2024
6e9c8a9
Update to cfgs
ykempf Jun 13, 2024
5c7307d
Make check_vlasiator_cfg.sh not complain about missing temp files
ursg Jun 13, 2024
f84b6a0
Fix test_fp.cfg
ursg Jun 13, 2024
2f2a716
Fix Larmor.cfg
ursg Jun 13, 2024
0543075
Fix verificationLarmor.cfg
ursg Jun 13, 2024
32f6e76
Fix testHall.cfg
ursg Jun 13, 2024
1688fed
Merge pull request #993 from markusbattarbee/update_CI_reference_data…
markusbattarbee Jun 13, 2024
3de52a2
More cfg fixes
ykempf Jun 13, 2024
aff3b19
More cfg fixes
ykempf Jun 13, 2024
f0ae93c
Fix Alfven.cfg
ursg Jun 13, 2024
93669c4
Fluctuations.cfg updated
alhom Jun 13, 2024
73e7d44
Shock.cfg update
alhom Jun 13, 2024
8c5b4d8
Moooore cfg fixes
ykempf Jun 13, 2024
c5c5958
Merge pull request #966 from lkotipal/parallel-timer-fix
markusbattarbee Jun 13, 2024
ba74288
Fix Magnetosphere_small.cfg
ursg Jun 13, 2024
c3b1a72
Merge pull request #990 from ursg/checkCfgCI
markusbattarbee Jun 13, 2024
346c09e
Changes to dAMR test, add refinement exclusion halfspaces
markusbattarbee Jun 13, 2024
3e45cbf
Merge branch 'dev' into amr-test
markusbattarbee Jun 13, 2024
dae7b09
Add rescaleDensity to Flowthrough to stabilize testing.
alhom Oct 15, 2023
bcbebe2
rescaleDensity config flag, default false
alhom Oct 16, 2023
fa685b1
Try to use a cancel job step to scancel
ykempf Jun 13, 2024
ba477c0
Added comment
ykempf Jun 13, 2024
01a7256
Try finding the correct variable
ykempf Jun 13, 2024
d965f46
Added a comment
ykempf Jun 13, 2024
a8d53b9
Exit early the waiting job when the CI_testpackage was scanceled.
ykempf Jun 13, 2024
f339fde
Added one word.
ykempf Jun 13, 2024
ab94d1f
export 2 variables
ykempf Jun 13, 2024
2623f86
Try sbatch -W instead of waiting.
ykempf Jun 13, 2024
b806267
Clean up commented lines.
ykempf Jun 13, 2024
84f0326
even more cleanup of unnecessary lines
markusbattarbee Jun 13, 2024
ed5c8e7
change one string name to test canceling with newest approach
markusbattarbee Jun 13, 2024
240b307
Merge pull request #995 from ykempf/ci_cancel_step
markusbattarbee Jun 14, 2024
54b25fe
Merge branch 'dev' into amr-test
markusbattarbee Jun 14, 2024
74fa9e8
default case
alhom Jun 14, 2024
973c8b1
Merge pull request #994 from alhom/flowthrough_rescale_again
ursg Jun 14, 2024
a2ba258
Squelch two compiler warnings.
ursg Jun 17, 2024
8158f7b
Make dtIsChanged false on static timestep
lkotipal Jun 17, 2024
5774058
Merge pull request #997 from lkotipal/is-dt-changed
markusbattarbee Jun 18, 2024
19c95a0
Documentation about induced refined neighbors just outside min/max co…
ykempf Jun 18, 2024
18e447c
neighbour -> neighbor
ykempf Jun 18, 2024
0f59482
neighbor -> neighbour
ykempf Jun 18, 2024
a9fc3dc
Fix terminology.
ykempf Jun 18, 2024
c62c03e
Merge pull request #996 from ursg/removeTwoWarnings
ykempf Jun 19, 2024
8f00de3
Merge pull request #998 from ykempf/document_refinement_region_limits…
markusbattarbee Jun 19, 2024
e6d0f61
Merge pull request #2 from fmihpc/dev
veetihaaja Jun 26, 2024
03d5306
first filtering speedup test: simple simd pragma to kernel loop
veetihaaja Jun 26, 2024
4297157
new baseline test: filtering with no openmp
veetihaaja Jun 26, 2024
0eaf3df
collapse(3) on spatial loop filtertesting
veetihaaja Jun 27, 2024
4c4d430
addind simd to all loops over moments filtertesting
veetihaaja Jun 27, 2024
ed502c6
Trial at implementing tabs also in local testpackage script
markusbattarbee Jun 28, 2024
e25b350
Warn when noDipoleInSW is 1 in Magnetosphere as it turns out not to b…
ykempf Jul 3, 2024
1cd5870
Removed explicit settings of noDipoleInSW = 0 in 3D cfg files with di…
ykempf Jul 3, 2024
80223ed
Undesimplify the naming of noDipoleInSW. End of an era.
ykempf Jul 3, 2024
c012d12
Revert "Undesimplify the naming of noDipoleInSW. End of an era."
ykempf Jul 3, 2024
5aac91b
Enforce dipole in solar wind for dipole type 4.
ykempf Jul 3, 2024
adf9266
And the last commit botched it, should be false. 🤦
ykempf Jul 3, 2024
aa53414
Loop only over process boundary cells in remote contribution mapping …
ykempf Jul 19, 2024
44ae23c
Removed block adjustment in initialization of donotcompute cells.
ykempf Jul 19, 2024
8d36af5
Makefile for MPCDF's Viper system
ursg Jul 31, 2024
c2ff056
Merge pull request #1010 from ursg/viperMakefile
ursg Aug 1, 2024
4ddb6bc
Merge pull request #4 from markusbattarbee/amr-test
lkotipal Aug 12, 2024
95279fa
Merge pull request #902 from lkotipal/amr-test
ykempf Aug 12, 2024
5ed04de
Long overdue fix to the glueChunksTogether.sh script that usually doe…
ykempf Aug 12, 2024
1aa06fe
Merge pull request #1011 from ykempf/glueChunksTogether_fix
ykempf Aug 22, 2024
4b1d846
Update Magnetosphere.cpp override output comment
markusbattarbee Aug 22, 2024
7a16334
Merge pull request #1009 from ykempf/remove_risky_block_adjust
markusbattarbee Aug 22, 2024
0297a4c
Merge pull request #1002 from veetihaaja/dev
markusbattarbee Aug 22, 2024
26c4bef
Reinstate shrink_to_fit in SpatialCell.
ykempf Aug 22, 2024
e19b8c3
Split cell transfer into a number of passes in load balance.
ykempf Aug 22, 2024
9b6649a
Simplify division by kernelSum.
ykempf Aug 22, 2024
fd3a69e
Merge pull request #1005 from ykempf/nonoDipoleInSW
markusbattarbee Aug 22, 2024
e5af7a2
Shrink to fit before LB and not after!
ykempf Aug 22, 2024
3dec297
Merge pull request #1008 from ykempf/only_proc_boundary_cells_in_one_…
markusbattarbee Aug 22, 2024
3e2d48d
Merge pull request #1018 from ykempf/optimize_filtering_loops_some_more
markusbattarbee Aug 22, 2024
8b8d219
Merge branch 'dev' into move-includepaths
ykempf Aug 22, 2024
0ebc1c3
Merge pull request #1016 from ykempf/shrink_to_fit
markusbattarbee Aug 22, 2024
0152219
Update Makefile
ykempf Aug 22, 2024
79c6fb7
Update Makefile.github_actions
ykempf Aug 22, 2024
d5b7bca
Update Makefile.github_actions
ykempf Aug 22, 2024
c81422d
Merge pull request #895 from lkotipal/move-includepaths
ykempf Aug 22, 2024
69a47db
Fix to the algorithm, it was always "succeeding" with a result of 2 p…
ykempf Aug 26, 2024
f592307
Add safeguard to avoid infinite looping when determining number of pa…
ykempf Aug 26, 2024
2836193
Added CI-check suggested () around a bool test.
ykempf Sep 17, 2024
f995f8e
Merge pull request #1017 from ykempf/adapt_lb_cell_send_passes
ykempf Sep 17, 2024
daed0ef
update Makefile
kstppd Sep 20, 2024
3a6df27
update ignore list
kstppd Sep 20, 2024
6285823
update ignore list again
kstppd Sep 21, 2024
c486ab6
Asterix runtime compression using fourier MLP
kstppd Sep 21, 2024
f2ee69c
Asterix runtime compression using ZFP
kstppd Sep 21, 2024
307f4de
Add method to probe MLP size. To be used with transfer learning
kstppd Sep 22, 2024
4641390
Create a feedback mechanism for weights to be passed aroung so we can…
kstppd Sep 22, 2024
32d41fc
Use master rank instead of 0
kstppd Sep 22, 2024
24bb471
Allow for a more generic driver from vdf compression. Select compress…
kstppd Sep 22, 2024
d6eaa57
Actually get number of SC. AMR later
kstppd Sep 23, 2024
ec95673
Enable transfer learning
kstppd Sep 23, 2024
997879c
More reasonable zfp tol
kstppd Sep 23, 2024
b5193f5
Add forgotten block adjustment back in
kstppd Sep 23, 2024
7d9461e
Some fixes and better error reporting
kstppd Sep 24, 2024
6aad684
Lumi Makefiles
kstppd Sep 24, 2024
6e6148c
Clang pass
kstppd Sep 26, 2024
68f77d9
Bump to c++20
kstppd Sep 26, 2024
2a8c136
Some updates and better vcoords handling in the interface
kstppd Sep 26, 2024
09dc5b8
interface for exposing vdfs to compression methods using dense ordere…
kstppd Sep 26, 2024
a0bec60
Add code for using different resolution in training vs inference
kstppd Sep 26, 2024
cafd44e
Add code for using different resolution in training vs inference
kstppd Sep 26, 2024
230e57b
Yup. Do not overwrite harmonics
kstppd Oct 21, 2024
498bf68
Report timings in logfile with chrono
kstppd Oct 21, 2024
2919e5e
First clean up pass after Lumi hackathon in Brussels
kstppd Oct 23, 2024
5b702e1
more cleanup
kstppd Oct 23, 2024
fd924c8
Update macros and some vlasiator changes for LUMI HIP
kstppd Oct 23, 2024
7cbe50a
remove device selection -- will be done automagically
kstppd Oct 24, 2024
f0449e4
Add functionality to use one MLP per multiple VDFs.
kstppd Oct 24, 2024
e6cfd31
Please, do not hash floating point numbers...
kstppd Oct 24, 2024
93b813a
Update lumi hip file
kstppd Oct 24, 2024
5e2b1ae
LocalID to the rescue
kstppd Oct 24, 2024
89f89da
Fix compression ratio calculation
kstppd Oct 25, 2024
774e218
Fix compression ratio calculation
kstppd Oct 26, 2024
162ef13
Clean up
kstppd Oct 26, 2024
8889705
Clean up and revert to using block GID
kstppd Oct 27, 2024
1dab060
Formatting pass
kstppd Oct 27, 2024
a2162d0
Clean up again
kstppd Oct 28, 2024
51dbbd3
some vdf norm settings
kstppd Oct 28, 2024
9c58099
Downsampling for multi vdfs
kstppd Oct 30, 2024
b4ffda7
Formatting pass
kstppd Oct 30, 2024
c52b5a8
Buggy union fixed
kstppd Oct 30, 2024
430b571
More cleanups
kstppd Oct 30, 2024
74c1769
New structs to simplify interface
kstppd Oct 30, 2024
0fffa66
Restructuring to expose separate API for compression libs
kstppd Oct 31, 2024
e0aa07a
Octree interface
kstppd Oct 31, 2024
877b10d
Reconctruct VDF from dense mesh
kstppd Oct 31, 2024
a893c34
Disable zoom in dense extraction for now since the reconstruction can…
kstppd Oct 31, 2024
6caf8c5
Remove debug print
kstppd Oct 31, 2024
7b107e1
link to octree compressor code
juhanikataja Oct 31, 2024
a85759c
Merge pull request #5 from juhanikataja/asterix_hack_3
kstppd Oct 31, 2024
ef3738f
Makefile update for octree
kstppd Oct 31, 2024
06c4fe4
ASTERIX: some tollerance and tolerrance typo fixes and parameter rena…
juhanikataja Nov 4, 2024
f088941
Merge remote-tracking branch 'juhani/asterix_hack_3' into tmp
kstppd Nov 7, 2024
c3bfe07
octree hacks
juhanikataja Nov 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
BasedOnStyle: LLVM
UseTab: Never
IndentWidth: 3
TabWidth: 3
BreakBeforeBraces: Attach
PointerAlignment: Left
AlignAfterOpenBracket: true
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
ColumnLimit: 120
AccessModifierOffset: -3
...

77 changes: 77 additions & 0 deletions .github/workflows/generate-reference-data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Generate testpackage reference data on Carrington

on:
# Only run when triggered manually
workflow_dispatch:

jobs:
# This should be kept identical to the build_testpackage job in github-ci.yml
build_testpackage:
# Build Vlasiator with testpackage flags, on the carrington cluster
# (for subsequent running of the integration test package)
runs-on: carrington

steps:
- name: Clean workspace
run: |
RUN_STRING=$( cat << MORO
rm -rf libraries library-build testpackage
rm -f libraries.tar.zst testpackage_check_description.txt testpackage-output.tar.gz metrics.txt stdout.txt stderr.txt testpackage_output_variables.txt
rm -f *.xml
MORO
)
srun -M carrington bash -c "$RUN_STRING"
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: true
- name: Make clean
run: VLASIATOR_ARCH=carrington_gcc_openmpi make clean
- uses: ursg/gcc-problem-matcher@master
- name: Compile vlasiator (Testpackage build)
run: |
srun -M carrington --job-name CI_ref_tp_compile --interactive --nodes=1 -n 1 -c 16 --mem=40G -p short -t 0:10:0 bash -c 'module purge; module load GCC/11.2.0; module load OpenMPI/4.1.1-GCC-11.2.0 ; module load PMIx/4.1.0-GCCcore-11.2.0; module load PAPI/6.0.0.1-GCCcore-11.2.0; export VLASIATOR_ARCH=carrington_gcc_openmpi; make -j 16 testpackage; sleep 10s'
- name: Make sure the output binary is visible in lustre
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
retry_on: error
command: ls vlasiator
- name: Upload testpackage binary
uses: actions/upload-artifact@v4
with:
name: vlasiator-testpackage
path: vlasiator
if-no-files-found: error
#- name: Upload build log
# uses: actions/upload-artifact@v3
# with:
# name: Testpackage build log
# path: build.log

run_testpackage:
# Run the testpackage on the carrington cluster
runs-on: carrington
needs: [build_testpackage]

steps:
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: true
- name: Download testpackage binary
uses: actions/download-artifact@v4
with:
name: vlasiator-testpackage
- name: Run testpackage
id: run
run: |
chmod +x $GITHUB_WORKSPACE/vlasiator
cd testpackage
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/libraries/lib
# Fudge the run script
sed -i 's/\/proj\/USERNAME\/BINARYNAME/$GITHUB_WORKSPACE\/vlasiator/' ./small_test_carrington.sh
sbatch -W -o testpackage_run_output.txt --job-name CI_ref_generate ./small_test_carrington.sh
cat testpackage_run_output.txt
# We don't bother to create artefacts or anything here.
Loading
Loading