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

Dev #101

Closed
wants to merge 298 commits into from
Closed

Dev #101

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
298 commits
Select commit Hold shift + click to select a range
f1d1d7c
minor fix
SotaYoshida Sep 21, 2022
aa10f62
minor fix
SotaYoshida Sep 21, 2022
162d803
edit docstring
SotaYoshida Sep 22, 2022
a07fede
mpi fixed
SotaYoshida Sep 22, 2022
5085092
fix typo
SotaYoshida Sep 22, 2022
a80b576
type annotation added
SotaYoshida Sep 22, 2022
db6af01
modification on docs&docstring
SotaYoshida Sep 26, 2022
9caca49
doc fixed
SotaYoshida Sep 26, 2022
377b779
api&docs are modified from v0.1
SotaYoshida Sep 26, 2022
a8b3b34
doc fixed
SotaYoshida Sep 26, 2022
6ef35b4
mpitest fixed
SotaYoshida Sep 26, 2022
178703d
mpirun fixed?
SotaYoshida Sep 26, 2022
d0a0311
docs&mpirun_test fixed
SotaYoshida Sep 26, 2022
ce97e46
DOI added to arXiv preprints
SotaYoshida Oct 4, 2022
9ab97a8
fixed paper.bib
SotaYoshida Oct 4, 2022
0781b7c
fixed paper.bib
SotaYoshida Oct 4, 2022
bc084dd
CompatHelper: bump compat for MPI to 0.20, (keep existing compat)
Oct 4, 2022
8b72c87
fixed paper.bib
SotaYoshida Oct 4, 2022
174aa01
fixed paper.bib
SotaYoshida Oct 4, 2022
dcc101d
add draft-pdf.yml
SotaYoshida Oct 4, 2022
cd2c6b1
Merge pull request #34 from SotaYoshida/compathelper/new_version/2022…
SotaYoshida Oct 4, 2022
9deff5e
bib test fixed
SotaYoshida Oct 4, 2022
4855ed0
add matter calculation, fix typos
SotaYoshida Oct 4, 2022
2d0ad4d
paper.md fixed
SotaYoshida Oct 4, 2022
c3fb2b7
minor fix
SotaYoshida Oct 4, 2022
df8f264
mpirun fix?
SotaYoshida Oct 4, 2022
e77e2aa
try to fix mpirun
SotaYoshida Oct 4, 2022
f712a6f
try fix mpirun
SotaYoshida Oct 4, 2022
f5fbb4a
project
SotaYoshida Oct 4, 2022
af4346a
v0.2.2
SotaYoshida Oct 4, 2022
67907a5
stable batch added
SotaYoshida Oct 4, 2022
582f12a
mpirun fix
SotaYoshida Oct 4, 2022
0be1c3a
minor fix on docs
SotaYoshida Oct 5, 2022
c47f97b
minor fix on docs
SotaYoshida Oct 5, 2022
7936224
docs modified
SotaYoshida Oct 5, 2022
37f35a7
update docs
SotaYoshida Oct 5, 2022
a150b48
docs modified
SotaYoshida Oct 5, 2022
0ea253b
Merge pull request #35 from SotaYoshida/develop
SotaYoshida Oct 5, 2022
f1ff4f6
verbose option changed and minor fix of docs
SotaYoshida Oct 5, 2022
b19ca65
Merge pull request #36 from SotaYoshida/develop
SotaYoshida Oct 5, 2022
11b01f2
#31 using DOI and minor fix done
SotaYoshida Oct 6, 2022
d54323e
Merge pull request #37 from SotaYoshida/develop
SotaYoshida Oct 6, 2022
23b49bb
test fixed & some integrals are improved
SotaYoshida Oct 11, 2022
643660d
CI.yml fixed
SotaYoshida Oct 12, 2022
10b3a9a
windows test added
SotaYoshida Oct 12, 2022
b9129bc
windows test added
SotaYoshida Oct 12, 2022
031e121
explaining Omega binary for IMSRG
SotaYoshida Oct 12, 2022
c82e1fe
Merge pull request #40 from SotaYoshida/develop
SotaYoshida Oct 12, 2022
255c282
docs&docstrings modified
SotaYoshida Oct 12, 2022
66ab994
Merge pull request #41 from SotaYoshida/develop
SotaYoshida Oct 12, 2022
2f3e2fb
performance improved
SotaYoshida Oct 13, 2022
1e60589
Merge pull request #42 from SotaYoshida/develop
SotaYoshida Oct 13, 2022
ca82ac9
win version modified
SotaYoshida Oct 13, 2022
dc9bbea
improve performance commutator 221
SotaYoshida Oct 20, 2022
088377b
improved comm221 performance
SotaYoshida Oct 20, 2022
bf0a4c9
Merge pull request #44 from SotaYoshida/develop
SotaYoshida Oct 20, 2022
36f835c
v0.2.3 release
SotaYoshida Oct 20, 2022
06bb0c6
Merge pull request #45 from SotaYoshida/develop
SotaYoshida Oct 20, 2022
36543b2
ci added
SotaYoshida Nov 10, 2022
4f26875
ci added
SotaYoshida Nov 10, 2022
96d7794
ci added
SotaYoshida Nov 10, 2022
5a87563
[Doc:] guide to sample results is added
SotaYoshida Nov 10, 2022
e145204
ci fixed
SotaYoshida Nov 10, 2022
40d4115
ci fixed
SotaYoshida Nov 10, 2022
439bc7d
ci fixed
SotaYoshida Nov 10, 2022
4d37afe
ci fixed
SotaYoshida Nov 10, 2022
66c6c8b
ci fixed
SotaYoshida Nov 10, 2022
008f124
ci fixed
SotaYoshida Nov 10, 2022
05f380b
ci fixed
SotaYoshida Nov 10, 2022
a66c3f2
ci fixed
SotaYoshida Nov 10, 2022
7eef65a
rm sample_*
SotaYoshida Nov 10, 2022
2a68d62
ci fixed
SotaYoshida Nov 10, 2022
38cfd8d
ci fixed
SotaYoshida Nov 10, 2022
48e4be1
ci fixed
SotaYoshida Nov 10, 2022
cffeab3
ci fixed
SotaYoshida Nov 10, 2022
1eb8a0e
ci fixed
SotaYoshida Nov 10, 2022
04cda68
ci fixed
SotaYoshida Nov 10, 2022
04ade47
ci fixed
SotaYoshida Nov 10, 2022
f529320
ci fixed
SotaYoshida Nov 10, 2022
6b597ca
ci fixed
SotaYoshida Nov 10, 2022
bc6aaa8
ci fixed
SotaYoshida Nov 10, 2022
96a0baa
ci fixed
SotaYoshida Nov 10, 2022
d342db7
ci fixed
SotaYoshida Nov 10, 2022
b95d693
ci fixed
SotaYoshida Nov 10, 2022
eb7c57b
ci fixed
SotaYoshida Nov 10, 2022
5c1f776
ci fixed
SotaYoshida Nov 10, 2022
da2e085
ci fixed
SotaYoshida Nov 10, 2022
1c4fa16
ci fixed
SotaYoshida Nov 10, 2022
2aad315
ci fixed
SotaYoshida Nov 10, 2022
d0716da
ci fixed
SotaYoshida Nov 10, 2022
29dfae2
ci fixed
SotaYoshida Nov 10, 2022
dc34f30
ci fixed
SotaYoshida Nov 10, 2022
026be46
ci fixed
SotaYoshida Nov 10, 2022
2736154
ci fixed
SotaYoshida Nov 10, 2022
bf7fbf5
ci fixed
SotaYoshida Nov 10, 2022
dec1f27
ci fixed
SotaYoshida Nov 10, 2022
c3b1d67
docs modified
SotaYoshida Nov 10, 2022
ed219a7
CIfixed
SotaYoshida Nov 10, 2022
a8b9b5c
ci fixed
SotaYoshida Nov 10, 2022
d58d63b
ci fixed
SotaYoshida Nov 10, 2022
45e8321
ci fixed
SotaYoshida Nov 10, 2022
e6aa03d
ci fixed
SotaYoshida Nov 10, 2022
861c7af
ci fixed
SotaYoshida Nov 10, 2022
d1ff4dc
ci fixed
SotaYoshida Nov 10, 2022
9aa4fb6
ci fixed
SotaYoshida Nov 10, 2022
65ea505
ci fixed
SotaYoshida Nov 10, 2022
f382854
ci fixed
SotaYoshida Nov 10, 2022
1eb02bd
ci fixed
SotaYoshida Nov 10, 2022
2077bb5
ci fixed
SotaYoshida Nov 10, 2022
2884794
ci fixed
SotaYoshida Nov 10, 2022
99c2990
ci fixed
SotaYoshida Nov 10, 2022
03da785
ci fixed
SotaYoshida Nov 10, 2022
57809cf
Update log_sample_script.txt
SotaYoshida Nov 10, 2022
6958a07
Merge pull request #50 from SotaYoshida/develop
SotaYoshida Nov 10, 2022
4f930eb
docs are updated for new CI with example/sample_script.jl
SotaYoshida Nov 10, 2022
2a58387
ci fixed
SotaYoshida Nov 10, 2022
4025ad9
docs fixed for new CI using example/sample_script.jl
SotaYoshida Nov 10, 2022
2a1f280
docs modified
SotaYoshida Nov 10, 2022
ab8e4de
fixed
SotaYoshida Nov 10, 2022
cf17d40
fixed
SotaYoshida Nov 10, 2022
3d52450
fixed
SotaYoshida Nov 10, 2022
d7347c4
gitignore fixed
SotaYoshida Nov 10, 2022
567aff7
gitignore fixed
SotaYoshida Nov 10, 2022
aeeadb2
workflow fixed
SotaYoshida Nov 10, 2022
06432a0
workflow fixed
SotaYoshida Nov 10, 2022
2fc2ad7
workflow fixed
SotaYoshida Nov 10, 2022
4edfa88
workflow fixed
SotaYoshida Nov 10, 2022
aeece44
workflow fixed
SotaYoshida Nov 10, 2022
d945006
workflow fixed
SotaYoshida Nov 10, 2022
6ba0e39
workflow fixed
SotaYoshida Nov 10, 2022
51c4609
Update .gitignore
SotaYoshida Nov 10, 2022
384101e
Update log_sample_script.txt
SotaYoshida Nov 10, 2022
66f6af8
workflow fixed
SotaYoshida Nov 10, 2022
141e1b2
workflow fixed
SotaYoshida Nov 10, 2022
60076d6
Update log_sample_script.txt
SotaYoshida Nov 10, 2022
d7f8d99
Merge branch 'main' into develop
SotaYoshida Nov 10, 2022
beabcef
Update log_sample_script.txt
SotaYoshida Nov 10, 2022
c4c7e5a
Merge pull request #53 from SotaYoshida/develop
SotaYoshida Nov 10, 2022
3c8f97e
workflow fixed
SotaYoshida Nov 10, 2022
0d6d188
workflow fixed
SotaYoshida Nov 10, 2022
13691dd
workflow fixed
SotaYoshida Nov 10, 2022
2bd3800
workflow fixed
SotaYoshida Nov 10, 2022
706fb27
fixed
SotaYoshida Nov 10, 2022
5e08b10
Update log_sample_script.txt
SotaYoshida Nov 10, 2022
7031ab3
Merge branch 'main' into develop
SotaYoshida Nov 10, 2022
a4c1c29
Merge pull request #55 from SotaYoshida/develop
SotaYoshida Nov 10, 2022
d94c1b5
workflow fixed
SotaYoshida Nov 10, 2022
9e1ac3c
update log_sample
SotaYoshida Nov 10, 2022
9325b30
fixed workflow
SotaYoshida Nov 10, 2022
6fa7c89
betadecay.jl,KSHELL.jl added
SotaYoshida Nov 10, 2022
779ed51
Update log_sample_script.txt
SotaYoshida Nov 10, 2022
04ac154
Merge pull request #57 from SotaYoshida/develop
SotaYoshida Nov 11, 2022
c06b883
fixed DOI, correction refrecting editorial comments
SotaYoshida Nov 12, 2022
845853d
Update log_sample_script.txt
SotaYoshida Nov 12, 2022
3dc95e8
Merge pull request #59 from SotaYoshida/develop
SotaYoshida Nov 12, 2022
d939ae8
betadecay.jl and amedata.jl modified
SotaYoshida Nov 12, 2022
690f13e
=>v0.2.5
SotaYoshida Nov 12, 2022
87990c9
Merge pull request #60 from SotaYoshida/develop
SotaYoshida Nov 12, 2022
b967c67
fixed paper.md
SotaYoshida Nov 14, 2022
7f9c32e
Merge pull request #62 from SotaYoshida/josspaper
SotaYoshida Nov 14, 2022
fe7fb2c
Update paper.bib
kyleniemeyer Nov 18, 2022
07d8898
Merge pull request #63 from kyleniemeyer/patch-1
SotaYoshida Nov 18, 2022
a7f2616
add badge
SotaYoshida Nov 19, 2022
6ca0ef4
Merge pull request #64 from SotaYoshida/develop
SotaYoshida Nov 19, 2022
b4fa2c9
minor changes on contributing.md and betadecay.jl
SotaYoshida Dec 1, 2022
6201193
update on ShellModel
SotaYoshida Dec 3, 2022
29a6d9e
Update log_sample_script.txt
SotaYoshida Dec 3, 2022
eed67f8
Merge pull request #65 from SotaYoshida/develop
SotaYoshida Dec 3, 2022
1d17bef
add functions to calculate local 3NF
SotaYoshida Jan 13, 2023
689628d
ci fixed
SotaYoshida Jan 13, 2023
70744a8
ci fixed
SotaYoshida Jan 13, 2023
0c3cc45
ci fixed
SotaYoshida Jan 13, 2023
b8b23b6
ci fixed
SotaYoshida Jan 13, 2023
5390f59
ci fix
SotaYoshida Jan 13, 2023
6d338b7
update dependences
SotaYoshida Jan 13, 2023
35b259b
fix CI?
SotaYoshida Jan 13, 2023
7d4fa48
fix CI?
SotaYoshida Jan 13, 2023
a764250
ci fixed?
SotaYoshida Jan 13, 2023
5430613
ci fixed?
SotaYoshida Jan 13, 2023
10a8c45
Update log_sample_script.txt
SotaYoshida Jan 13, 2023
b2ec7fc
ci test fix
SotaYoshida Jan 13, 2023
c51a243
ci arrange
SotaYoshida Jan 13, 2023
7225a17
ci arrange
SotaYoshida Jan 13, 2023
b32b702
CI arrange
SotaYoshida Jan 13, 2023
b390ca9
CI arrange
SotaYoshida Jan 13, 2023
5e76ade
CI arrange
SotaYoshida Jan 13, 2023
50e8ee8
CI arrange
SotaYoshida Jan 13, 2023
a392195
ci arrange
SotaYoshida Jan 13, 2023
c9e1292
ci arrange
SotaYoshida Jan 13, 2023
d6130eb
ci arrange
SotaYoshida Jan 13, 2023
540542a
ci arrange
SotaYoshida Jan 13, 2023
82343bc
ci arrange
SotaYoshida Jan 13, 2023
a7a80a6
ci arrange
SotaYoshida Jan 13, 2023
66220c3
fixed ci for mpirun
SotaYoshida Jan 13, 2023
549fa49
fixed ci for mpirun
SotaYoshida Jan 13, 2023
611bf72
fixed ci for mpirun
SotaYoshida Jan 13, 2023
3d4383d
Update log_sample_script.txt
SotaYoshida Jan 13, 2023
706d1b8
Merge pull request #67 from SotaYoshida/develop
SotaYoshida Jan 13, 2023
22d9a9a
fixed ci for mpirun
SotaYoshida Jan 13, 2023
4753304
fixed ci
SotaYoshida Jan 13, 2023
0c00060
Update log_sample_script.txt
SotaYoshida Jan 13, 2023
fc9a57f
Merge pull request #68 from SotaYoshida/develop
SotaYoshida Jan 14, 2023
7377f40
modified 3NF&new prealloc wignersymbols
SotaYoshida Jan 24, 2023
7924783
calibration fixed
SotaYoshida Jan 24, 2023
3712c30
test modified
SotaYoshida Jan 24, 2023
478af6d
Update log_sample_script.txt
SotaYoshida Jan 24, 2023
718e112
Merge pull request #72 from SotaYoshida/develop
SotaYoshida Jan 24, 2023
46f3c30
peformance improved
SotaYoshida Mar 19, 2023
267aae0
toml updated
SotaYoshida Mar 19, 2023
91b824a
add
SotaYoshida Mar 19, 2023
faac3c6
reference values in test fixed
SotaYoshida Mar 19, 2023
2b9954a
test fixed
SotaYoshida Mar 19, 2023
1c5b5f1
default method is changed
SotaYoshida Mar 19, 2023
b467363
to check test on Windows
SotaYoshida Mar 19, 2023
1aad624
rm unused test
SotaYoshida Mar 19, 2023
84f0784
Merge pull request #74 from SotaYoshida/dev
SotaYoshida Mar 19, 2023
ea4631c
CompatHelper: add new compat entry for FLoops at version 0.2, (keep e…
Mar 19, 2023
3dc5287
CompatHelper: add new compat entry for AssociatedLegendrePolynomials …
Mar 19, 2023
1cb9ff0
Merge pull request #77 from SotaYoshida/compathelper/new_version/2023…
SotaYoshida Mar 19, 2023
16fa008
Merge pull request #76 from SotaYoshida/compathelper/new_version/2023…
SotaYoshida Mar 19, 2023
839466f
occ fixed
SotaYoshida Mar 21, 2023
cf9fc11
Merge pull request #78 from SotaYoshida/dev
SotaYoshida Mar 21, 2023
3d74455
CompatHelper: bump compat for StatsBase to 0.34, (keep existing compat)
May 2, 2023
7acab67
Merge pull request #79 from SotaYoshida/compathelper/new_version/2023…
SotaYoshida May 2, 2023
f3a5b0f
IMSRG-Net
SotaYoshida Jun 8, 2023
42fe0b9
dev IMSRG-Net
SotaYoshida Jun 8, 2023
ebaf28f
add HDF5
SotaYoshida Jun 8, 2023
c0b1dc5
Merge pull request #80 from SotaYoshida/dev
SotaYoshida Jun 8, 2023
a05f4b9
compat added
SotaYoshida Jun 8, 2023
9516b9f
Merge pull request #82 from SotaYoshida/dev
SotaYoshida Jun 8, 2023
da698ae
CI.yml fixed
SotaYoshida Jun 8, 2023
f48d79f
Merge pull request #83 from SotaYoshida/dev
SotaYoshida Jun 9, 2023
f2a7a0e
docs and IMSRG-Net stuffs are updated
SotaYoshida Jun 14, 2023
2ded787
v0.3.2=>v0.3.3
SotaYoshida Jun 14, 2023
a4e102f
removed unused function
SotaYoshida Jun 14, 2023
e0ff207
tol is set to original one
SotaYoshida Jun 14, 2023
73f6a5d
Merge pull request #85 from SotaYoshida/dev
SotaYoshida Jun 14, 2023
070138c
CI fixed
SotaYoshida Jun 14, 2023
11e10e6
CI fixed
SotaYoshida Jun 14, 2023
733b2bb
modified emulator part
SotaYoshida Jun 14, 2023
5a0b43d
Update log_sample_script.txt
SotaYoshida Jun 14, 2023
11654a5
Merge pull request #87 from SotaYoshida/dev
SotaYoshida Jun 14, 2023
ea5ffb6
performance improved
SotaYoshida Aug 22, 2023
5ad3ee4
perfrmance improved
SotaYoshida Aug 22, 2023
805fbd1
bug brought during development removed
SotaYoshida Aug 22, 2023
312b81d
update CI*yml
SotaYoshida Aug 22, 2023
93a73e6
compat updated
SotaYoshida Aug 23, 2023
4569899
Update log_sample_script.txt
SotaYoshida Aug 23, 2023
b4f46ae
Merge branch 'main' into dev
SotaYoshida Oct 31, 2023
61fd9a0
Update CI.yml
SotaYoshida Oct 31, 2023
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
80 changes: 67 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ name: CI
on:
push:
branches:
- main
- dev
- develop
tags: '*'
pull_request:
exclude: "log_sample_script.txt"

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
Expand All @@ -18,30 +17,82 @@ jobs:
strategy:
fail-fast: false
matrix:
version:
- '1.7'
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
include:
- {version: '1.9', os: ubuntu-latest, payload: serial}
- {version: '1.9', os: macOS-latest, payload: serial}
- {version: '1.9', os: windows-latest, payload: serial}
#- {version: nightly, os: ubuntu-latest, payload: serial}
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
arch: x64
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: 2
if: ${{ matrix.payload == 'serial' }}
continue-on-error: ${{ matrix.version == 'nightly' }}
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- {version: '1.9', os: 'ubuntu-latest', payload: mpi}
mpi: [ 'openmpi' ]
name: mpi test
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: x64
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- name: "Run mpi tests"
run: |
export JULIA_PROJECT=@.
export JULIA_MPIEXEC=mpiexecjl
export JULIA_NUM_THREADS=1
julia --project -e 'ENV["JULIA_MPI_BINARY"]=""; using Pkg; Pkg.add("MPI"); Pkg.build("MPI"; verbose=true); using MPI; MPI.install_mpiexecjl()'
julia --project=@. -e "using InteractiveUtils; versioninfo(verbose=true)"
julia --project=@. -e "using Pkg; Pkg.instantiate(); Pkg.build()"
export PATH=$PATH:/home/runner/.julia/bin
mpiexecjl -n 4 julia --depwarn=yes --project=@. ./test/mpirun_test.jl
build2:
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
include:
- {version: '1.8', os: 'ubuntu-latest'}
name: Run sample_script.jl
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: x64
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- run: |
git_hash=$(git rev-parse --short "$GITHUB_SHA")
julia --project="@." -t 4 ./example/sample_script.jl > ./example/log_sample_script.txt
- name: commit changed logfile
uses: stefanzweifel/[email protected]
with:
commit_message: Update log_sample_script.txt
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
version: '1.8'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
Expand All @@ -53,3 +104,6 @@ jobs:
using NuclearToolkit
DocMeta.setdocmeta!(NuclearToolkit, :DocTestSetup, :(using NuclearToolkit); recursive=true)
doctest(NuclearToolkit)'



117 changes: 117 additions & 0 deletions .github/workflows/CI_pullrequest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
name: CI_PR
on:
pull_request:
branches:
- main
- develop
tags: '*'
exclude: "log_sample_script.txt"
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {version: '1.9', os: ubuntu-latest, payload: serial}
- {version: '1.9', os: macOS-latest, payload: serial}
- {version: '1.9', os: windows-latest, payload: serial}
- {version: nightly, os: ubuntu-latest, payload: serial}
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: x64
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: 2
if: ${{ matrix.payload == 'serial' }}
continue-on-error: ${{ matrix.version == 'nightly' }}
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- {version: '1.9', os: ubuntu-latest, payload: mpi}
mpi: [ 'openmpi' ]
name: mpi test
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: x64
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- name: "Run mpi tests"
run: |
export JULIA_PROJECT=@.
export JULIA_MPIEXEC=mpiexecjl
export JULIA_NUM_THREADS=1
julia --project -e 'ENV["JULIA_MPI_BINARY"]=""; using Pkg; Pkg.add("MPI"); Pkg.build("MPI"; verbose=true); using MPI; MPI.install_mpiexecjl()'
julia --project=@. -e "using InteractiveUtils; versioninfo(verbose=true)"
julia --project=@. -e "using Pkg; Pkg.instantiate(); Pkg.build()"
export PATH=$PATH:/home/runner/.julia/bin
mpiexecjl -n 4 julia --depwarn=yes --project=@. ./test/mpirun_test.jl

# build2:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# include:
# - {version: '1.8', os: ubuntu-latest}
# name: Run sample_script.jl
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - uses: julia-actions/setup-julia@v1
# with:
# version: ${{ matrix.version }}
# arch: x64
# - uses: julia-actions/cache@v1
# - uses: julia-actions/julia-buildpkg@v1
# - run: |
# git_hash=$(git rev-parse --short "$GITHUB_SHA")
# echo git_hash $git_hash
# echo running on branch ${GITHUB_REF##*/}
# echo git_hash:[$git_hash] > ./example/log_sample_script.txt
# julia --project="@." -t 4 ./example/sample_script.jl >> ./example/log_sample_script.txt
# git add example/log_sample_script.txt
# - name: commit changed logfile
# uses: stefanzweifel/[email protected]
# with:
# commit_message: Update log_sample_script.txt
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.8'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using NuclearToolkit
DocMeta.setdocmeta!(NuclearToolkit, :DocTestSetup, :(using NuclearToolkit); recursive=true)
doctest(NuclearToolkit)'



26 changes: 26 additions & 0 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
paths:
- "paper/*"

jobs:
paper:
runs-on: ubuntu-latest
name: Paper Draft
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build draft PDF
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
# This should be the path to the paper within your repo.
paper-path: paper/paper.md
- name: Upload
uses: actions/upload-artifact@v1
with:
name: paper
# This is the output path where Pandoc will write the compiled
# PDF. Note, this should be the same directory as the input
# paper.md
path: paper/paper.pdf
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ docs/.DS_Store
*.snt.bin
/snts
/flowOmega
logfile.dat
*/logfile.dat

Loading
Loading