Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
454 commits
Select commit Hold shift + click to select a range
da7de43
Improve galactics package definition
LourensVeen Nov 19, 2024
71a7eff
Ignore data dir, which contains compiled binaries here
LourensVeen Nov 19, 2024
57f5165
Modernize C from a galactics long ago, quite a bit
LourensVeen Nov 19, 2024
f5e4e35
Replace deprecated 'malloc.h' by 'stdlib.h'
Cmurilochem Nov 20, 2024
6ff3611
Fix galactics make clean
LourensVeen Nov 25, 2024
4d665e0
Link to correct C++ lib when using clang
LourensVeen Nov 25, 2024
e792482
Fix bin dirs gitignore and add it now that it's not ignored
LourensVeen Nov 25, 2024
ad0ed3e
Patch up MMAMS tests and re-add deleted test data
LourensVeen Nov 25, 2024
c604d43
Convert bhtree to the new build system
LourensVeen Nov 25, 2024
3a387b0
Modernise bhtree's C code to work with Clang
LourensVeen Sep 3, 2024
5bf8d05
Fix in Download macro
Cmurilochem Nov 28, 2024
e5c5fd1
Fix missing src/ directory in mpiamrvac
LourensVeen Dec 3, 2024
50de348
Add test for blas/lapack detection within a C POP/PUSH block
Cmurilochem Dec 4, 2024
4fb06cc
Add further patches and fixes
Cmurilochem Dec 9, 2024
3b438cf
Fix venv installation
LourensVeen Dec 9, 2024
24aac23
Show installation progress
LourensVeen Dec 9, 2024
861b104
Highlight main step headers by making them yellow
LourensVeen Dec 9, 2024
ed11942
Remove f95-cpp-input hardcoded flag
Cmurilochem Dec 12, 2024
4a32e7d
Fix cpp template and add its patch
Cmurilochem Dec 12, 2024
7afa8f6
Add cpp patch
Cmurilochem Dec 12, 2024
faf647a
Revert "Remove f95-cpp-input hardcoded flag"
LourensVeen Dec 17, 2024
9403b96
Fix MESA r15140 hdf5 dependency build
LourensVeen Dec 17, 2024
b901a3d
Fix f95-cpp-input fix and MESA r15140 makefile patch
LourensVeen Dec 17, 2024
63e1d50
Crash if patch application fails, rather than ignoring it
LourensVeen Dec 17, 2024
f1b1cb9
Remove cache and temp files from patch
LourensVeen Dec 17, 2024
c9b0faa
Fix framework lib detection in virtualenv
LourensVeen Dec 17, 2024
02b037d
Merge branch 'issue-1024-new-build-system' into convert-mesa_r15140
LourensVeen Dec 17, 2024
0454987
Rebuild configure using latest macros
LourensVeen Dec 17, 2024
86de6f4
Build MESA against system hdf5 rather than local
LourensVeen Jan 8, 2025
0b6d135
Add a reminder as to why the MESA tests are so slow sometimes
LourensVeen Jan 8, 2025
0f16b06
Replace top-level Makefile with ./setup shell script
LourensVeen Jan 9, 2025
48e20ce
Merge branch 'convert-adaptb' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
52bac6f
Merge branch 'convert-athena' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
f4fbad2
Merge branch 'convert-bhtree' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
d8e7387
Merge branch 'convert-brutus' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
e8b286c
Merge branch 'convert-bse' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
b86818e
Merge branch 'convert-capreole' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
93c67b6
Merge branch 'convert-etics' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
3d6ba99
Fix HDF5 conda package detection
LourensVeen Jan 9, 2025
63a978f
Merge branch 'issue-1024-convert-evtwin' into issue-1024-new-build-sy…
LourensVeen Jan 9, 2025
5e6cc20
Merge branch 'convert-fastkick' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
ca62296
Merge branch 'convert-fi' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
3b648be
Merge branch 'convert-fractalcluster' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
aa06ae8
Merge branch 'convert-gadget2' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
a2776fb
Merge branch 'convert-galactics' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
93ee1e3
Merge branch 'convert-galaxia' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
04415fb
Fix BLAS conda package detection
LourensVeen Jan 9, 2025
fd28e0d
Merge branch 'convert-halogen' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
a319f18
Merge branch 'convert-hermite' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
35c75c9
Merge branch 'convert-hermite_grx' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
03c8d7c
Merge branch 'convert-higpus' into issue-1024-new-build-system
LourensVeen Jan 9, 2025
9295030
Fix typo in higpus
LourensVeen Jan 10, 2025
95c1d2f
Merge branch 'convert-hop' into issue-1024-new-build-system
LourensVeen Jan 10, 2025
1188386
Merge branch 'convert-huayno' into issue-1024-new-build-system
LourensVeen Jan 10, 2025
fe904db
Merge branch 'convert-kepler' into issue-1024-new-build-system
LourensVeen Jan 10, 2025
4c09119
Merge branch 'convert-kepler_orbiters' into issue-1024-new-build-system
LourensVeen Jan 10, 2025
683ee67
Merge branch 'convert-krome' into issue-1024-new-build-system
LourensVeen Jan 10, 2025
16b69fe
Merge branch 'convert-mameclot' into issue-1024-new-build-system
LourensVeen Jan 10, 2025
876358e
Add missing mameclot dependency metadata
LourensVeen Jan 10, 2025
5505e04
Merge branch 'convert-mercury' into issue-1024-new-build-system
LourensVeen Jan 10, 2025
411b20b
Remove accidentally checked-in test output
LourensVeen Jan 13, 2025
3ae0bd8
Add missing patch back
LourensVeen Jan 13, 2025
b734007
Avoid half-patched builds by exiting if patch fails
LourensVeen Jan 13, 2025
0b546d2
Merge branch 'convert-mesa_r2208' into issue-1024-new-build-system
LourensVeen Jan 13, 2025
178695b
Fix up zams file handling in MESA r2208
LourensVeen Jan 14, 2025
e2dc4d3
Merge branch 'convert-mi6' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
0971e06
Merge branch 'convert-mikkola' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
02b43ff
Merge branch 'convert-mmams' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
40e8a3d
Merge branch 'convert-mobse' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
c5b3d3d
Merge branch 'convert-mocassin' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
13afbf2
Merge branch 'convert-mosse' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
ba5d89e
Merge branch 'convert-mpiamrvac' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
c35e3a7
Merge branch 'convert-nbody6xx' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
fd2d9fc
Merge branch 'convert-petar' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
45f084a
Merge branch 'convert-ph4' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
7d53f2a
Fix sapporo detection when in a conda env
LourensVeen Jan 15, 2025
d6b4cd6
Merge branch 'convert-phantom' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
4906b6c
Merge branch 'convert-phigrape' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
6113858
Merge branch 'convert-rebound' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
d7616cc
Merge branch 'convert-sakura' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
35b9b17
Merge branch 'convert-seba' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
f2e26ad
Merge branch 'convert-secularmultiple' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
95ff908
Merge branch 'convert-sei' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
32d014e
Merge branch 'convert-smalln' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
79cbbb2
Merge branch 'convert-sphray' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
74bbd28
Merge branch 'convert-sse' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
79e4d10
Merge branch 'convert-symple' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
279de62
Merge branch 'convert-tupan' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
08540a1
Merge branch 'convert-twobody' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
7614539
Merge branch 'convert-vader' into issue-1024-new-build-system
LourensVeen Jan 15, 2025
d18852b
Fix setup script distclean target
LourensVeen Jan 15, 2025
551e26b
Improve help text layout
LourensVeen Jan 15, 2025
40aad03
Add code output directory to .gitignore
LourensVeen Jan 15, 2025
93ed364
Have setup skip configure when running a test
LourensVeen Jan 15, 2025
12710c8
Allow omitting the amuse- prefix when running setup
LourensVeen Jan 15, 2025
bcce4a3
Move custom m4 macros into AMUSE_ namespace
LourensVeen Jan 16, 2025
60d84b4
Fix ./setup install all
LourensVeen Jan 16, 2025
d2fe891
Fix ./setup test all and have it test installed packages
LourensVeen Jan 16, 2025
9fed31c
Have GPU packages run only GPU tests, and non-GPU packages non-GPU tests
LourensVeen Jan 16, 2025
52f9e8c
Git-ignore mikkola test output
LourensVeen Jan 16, 2025
0b5fdb6
Remove Python files from huayno add-on packages
LourensVeen Jan 21, 2025
ecf8819
Merge branch 'convert-mesa_r15140' into issue-1024-new-build-system
LourensVeen Jan 21, 2025
70c0955
Add amuse.ext tests to new setup (see also #1103)
LourensVeen Jan 21, 2025
d97a8ae
Add patch as a dependency feature for codes that need it
LourensVeen Jan 21, 2025
b67bf65
Always distclean before installing from ./setup, for reliability
LourensVeen Jan 21, 2025
5925291
Display enabled packages more compactly in ./setup
LourensVeen Jan 21, 2025
90d4881
Add python-dev dependency for framework (for mpi4py)
LourensVeen Jan 25, 2025
c1141f2
Fix FFTW3 and HDF5 apt dependency package names
LourensVeen Jan 25, 2025
5daed04
Disable Java support in preparation for removal
LourensVeen Jan 25, 2025
e5462ae
Fix AMUSE libs detection in venv
LourensVeen Jan 25, 2025
ca3f80e
Set various compile flags correctly for venv
LourensVeen Jan 25, 2025
0888ac1
Fix framework test build in venv
LourensVeen Jan 25, 2025
feb44fd
Fix g6lib missing symbols
LourensVeen Jan 25, 2025
19f96ae
Have setup abort if test build fails
LourensVeen Jan 25, 2025
011a59c
Fix setup enabled packages print on bash 3.2
LourensVeen Jan 25, 2025
69e31bc
Make various codes build in a venv setup
LourensVeen Jan 25, 2025
89aded2
Fix mocassin build by always optimising
LourensVeen Jan 25, 2025
56849e6
Fix phantom missing src/ directory
LourensVeen Jan 25, 2025
f7809cf
Partially fix phigrape MPI issues by fixing build setup
LourensVeen Jan 25, 2025
15f694e
Fix rebound interface uninitialised variable
LourensVeen Jan 25, 2025
c0620cd
Fix rebound make clean target
LourensVeen Jan 25, 2025
140777d
Clean up old huayno Makefile
LourensVeen Jan 25, 2025
c5fe606
Add setuptools dependency for tupan
LourensVeen Jan 25, 2025
6d891da
Skip resource-heavy capreole test
LourensVeen Jan 25, 2025
22d0987
Fix hermite_grx build and add trivial test
LourensVeen Jan 25, 2025
9370027
Fix rebound build in venv
LourensVeen Jan 25, 2025
2d0b914
Fix framework test build in venv
LourensVeen Jan 25, 2025
e5d1652
Have setup check for pytest before trying to run tests
LourensVeen Jan 25, 2025
5e15f49
Check for and use python3 executable instead of python
LourensVeen Jan 25, 2025
0231dda
Install framework Python dependencies using conda where applicable
LourensVeen Jan 25, 2025
bbe12b5
Auto-install framework when installing a package, if needed
LourensVeen Jan 25, 2025
c1fffa8
Have ./setup summarise failed builds, if any
LourensVeen Jan 25, 2025
adf1943
Fix rpath link option in venv m4 macro
LourensVeen Jan 26, 2025
382f572
Fix make/configure flags confusion in nbody6xx build
LourensVeen Jan 26, 2025
479e994
Add script for upditing all configure scripts
LourensVeen Jan 26, 2025
8468135
Improve ./setup error handling
LourensVeen Jan 26, 2025
c2df611
Refuse to install without env/pip/wheel
LourensVeen Jan 26, 2025
1e153e7
Announce more clearly what ./setup is doing
LourensVeen Jan 26, 2025
11e2b4b
Factor out install_package in setup
LourensVeen Jan 26, 2025
ab234d6
Refactor ./setup into more files
LourensVeen Jan 26, 2025
8526d73
Fix detection of packages with underscores in setup
LourensVeen Jan 26, 2025
fcb627f
Make downloading with wget and unzipping a bit less verbose
LourensVeen Jan 26, 2025
9e96a4c
Fix amuse-higpus-cuda package name
LourensVeen Jan 26, 2025
68ab05e
Fix etics package
LourensVeen Jan 26, 2025
2900b8f
Fix mesa_r2208's make clean if the source is not present
LourensVeen Jan 26, 2025
bed2ed0
Make aarsethzare worker name consistent with the others
LourensVeen Jan 26, 2025
9d21f67
Add missing change from fcb627fde, sorry
LourensVeen Jan 26, 2025
a9767a6
Make CODELIBs PHONE and fix clean targets
LourensVeen Jan 26, 2025
51212cc
Keep setup install all from reinstalling the framework again and again
LourensVeen Jan 26, 2025
8c0fe58
Mark broken packages as broken and add support for that
LourensVeen Jan 26, 2025
219898f
Use conda-forge compiler packages instead of GCC directly
LourensVeen Jan 26, 2025
bfb5737
Try fixing package names again, underscores bad it seems
LourensVeen Jan 26, 2025
261c604
Apply huayno fix from #1094/#1095
LourensVeen Jan 26, 2025
0f380f5
Disable broken tests (uh oh...), see #1107 and #1090
LourensVeen Jan 26, 2025
382dfad
Fix framework test exit code
LourensVeen Jan 26, 2025
ab976c5
Fix amusifier Python 3.13 compatibility
LourensVeen Oct 23, 2024
f7000f2
Add make to dependencies
LourensVeen Jan 27, 2025
a02d49c
Fix PHONY CODELIB for pattern rules
LourensVeen Jan 28, 2025
cadcfa6
Fix MESA r15140 distclean
LourensVeen Jan 28, 2025
9a49a1b
Remove leftover debug output in fi configure
LourensVeen Jan 28, 2025
55e2910
Fix broken multi-output make rules
LourensVeen Jan 28, 2025
74aed8a
Find and use GNU make to run the builds
LourensVeen Jan 28, 2025
5b630b1
Fix mmc recursive make calls
LourensVeen Feb 4, 2025
8e83981
Skip Java framework tests as it is to be removed
LourensVeen Feb 4, 2025
45d6b3e
Add zlib so we can compile against hdf5
LourensVeen Feb 4, 2025
6c4ba06
Make ./setup use detected gmake
LourensVeen Feb 4, 2025
7fee0b1
Check for OMPI_* envvars that may interfere with Conda builds
LourensVeen Feb 4, 2025
6de5342
Look for clang when installing into a venv on macOS
LourensVeen Feb 4, 2025
e02a062
Fix MESA r15140 dependencies, it needs external HDF5 now
LourensVeen Feb 13, 2025
7d07666
Allow multiple packages for setup install, develop and test
LourensVeen Feb 13, 2025
e8ead97
Add ./setup uninstall command
LourensVeen Feb 20, 2025
be69758
Improve and speed up uninstall script
LourensVeen Feb 20, 2025
9906055
Fix Homebrew installation command
LourensVeen Feb 20, 2025
c5e9bcf
Highlight invalid command for ./setup and avoid giant output
LourensVeen Feb 20, 2025
dcb2d73
Add framework deps to conda install line so we can solve only once
LourensVeen Feb 20, 2025
5d0c418
Put release version into framework package when building wheels
LourensVeen Mar 17, 2025
0d699ca
Update the amusifier directory generator to the new build system
LourensVeen Mar 17, 2025
b9b4831
Fix SeBa build on newer compilers
LourensVeen Mar 18, 2025
19cdaba
Set fd limit in ./setup to avoid MESA build crashes
LourensVeen Mar 18, 2025
ec2a84e
Try to fix/improve/avoid MESA r15140 makedepf90 build
LourensVeen Mar 18, 2025
7daed97
Have ./setup handle dependencies between packages
LourensVeen Mar 18, 2025
2ed3c79
Fix sapporo_light dependency handling
LourensVeen Mar 18, 2025
4ccc878
Fix missing base package (e.g. for the CUDA-only etics)
LourensVeen Mar 18, 2025
abba6f9
Add missing dependency of vader on gsl to metadata
LourensVeen Mar 18, 2025
32c1356
Disable seba parallel builds, they crash
LourensVeen Mar 18, 2025
9f8c7af
Move community codes out of the src/amuse tree
LourensVeen Mar 20, 2025
83b4650
Run tests against installed packages as intended
LourensVeen Apr 9, 2025
3b77a3c
Avoid obsolete openmp Conda package, it's built in now
LourensVeen Apr 9, 2025
2c620b1
Fix amuse-huayno-openmp to actually use OpenMP
LourensVeen Apr 9, 2025
68e98ea
Fix Python 3.13 some more (see also ab976c578)
LourensVeen Mar 29, 2025
c2271bd
Fix missing data for amuse.ext
LourensVeen Mar 29, 2025
05a59a5
Allow OMPI_MCA envvars as they don't affect compiling
LourensVeen Mar 29, 2025
f732eeb
Add automatic mpi dependency on packages
LourensVeen Mar 29, 2025
921b86e
Fix test in newer Python versions
LourensVeen Mar 29, 2025
d40c796
Fix ext_tests logging from ./setup
LourensVeen Apr 9, 2025
173efff
Fix clean/distclean in setup, we need to detect GMAKE first
LourensVeen Mar 29, 2025
cf3bb33
Fix adaptb/bhtree/galactics build on some systems
LourensVeen Apr 22, 2025
e71c13b
Replace makedepf90 with more available bison/yacc dependency
LourensVeen Apr 22, 2025
1c83ec2
Make evtwin and mmams build with cmake 4
LourensVeen Apr 22, 2025
03c934f
Disable failing parallel buids for mi6 and sakura
LourensVeen Apr 22, 2025
c9e18fd
Fix automake missing error when building MESA r15140
LourensVeen Apr 22, 2025
b2b529c
Re-add mpiamrvac patches that were gitignored in the move
LourensVeen Apr 22, 2025
8a77b97
Make user install MESA r15140 in develop mode
LourensVeen Apr 28, 2025
a7281a3
Fix CFLAGS in bhtree, smalln and ph4
LourensVeen Apr 28, 2025
ed5db44
Fix bhtree BHTC binary link command
LourensVeen Apr 28, 2025
7b9df09
Fix bhtree make clean
LourensVeen Apr 28, 2025
aea2fa7
Fix vader download command
LourensVeen Apr 28, 2025
3e5c78e
Make MESA r15140 clean more resilient
LourensVeen Apr 28, 2025
90393bd
Avoid gfortran 14 for now because MESA fails its tests with it
LourensVeen Apr 28, 2025
0db53f5
Make pip/wheel installation instructions more compatible
LourensVeen Apr 28, 2025
c5e2df8
Fix missing support/configure update in e71c13b1b
LourensVeen Apr 28, 2025
b6c8184
Move amusetest to amuse.support.testing
LourensVeen Apr 28, 2025
285f391
Ensure amuse-ext is in the summary if its tests fail on test all
LourensVeen Apr 28, 2025
b9339aa
Reduce framework install pip noise
LourensVeen Apr 28, 2025
6644224
Remove stray files
LourensVeen Apr 28, 2025
67777d7
Clean up codes tests that moved to those codes' directories
LourensVeen Apr 28, 2025
41f0a86
Fix broken syntax in forwards to empty codes
LourensVeen Apr 28, 2025
4024ee4
Move kepler_orbiters test into its package and fix import
LourensVeen Apr 28, 2025
56075d7
Fix bhtree build broken in a7281a3f4
LourensVeen Apr 29, 2025
e4d217a
Update amusifier template to match b6c81847b
LourensVeen Apr 29, 2025
cf27ddf
Fix galaxia test broken (and missed) in b6c81847b
LourensVeen Apr 29, 2025
785da4d
Fix bhtree build one more time...
LourensVeen Apr 29, 2025
15689f0
Update installation instructions
LourensVeen May 6, 2025
8b27f82
Update documentation on documentation
LourensVeen May 6, 2025
23ff661
Link ./setup output to future docs
LourensVeen May 6, 2025
6f4357c
Fix git clone URL
LourensVeen May 6, 2025
5ecf2ce
Make ./setup clean and distclean also clean codes again
LourensVeen May 6, 2025
a11ca06
Limit framework pytest runs to framework tests
LourensVeen May 6, 2025
45bcecd
Clean up develop install command
LourensVeen May 6, 2025
3ac3b33
update MESA chooser so it doesn't fail when at least one version is a…
rieder May 9, 2025
87d60be
additional updates to standardize interface class names
rieder May 9, 2025
10d0f11
fix MESA Makefiles
rieder May 9, 2025
eea46dc
Let amuse.community.mesa_{ver} import MesaInterface
rieder May 9, 2025
8209ad4
Fix lab.py
rieder May 9, 2025
9572545
Add missing unit back to Mocassin interface
rieder May 11, 2025
7c3e7b2
still a missing import
rieder May 11, 2025
07f179a
Rename MESAInterface -> MesaInterface in interface, tests
rieder May 12, 2025
4ec06c0
Fix ./setup test all missing codes with consistent dashes
LourensVeen May 13, 2025
743c0d5
Accept system CUDA in a conda env, it's often better
LourensVeen May 13, 2025
42da95f
Merge branch 'main' into issue-1024-new-build-system
LourensVeen May 14, 2025
afe7c2f
Revert "Accept system CUDA in a conda env, it's often better"
LourensVeen May 14, 2025
8d112f1
Fix codes with multiple dashes (bug in 4ec06c0ec)
LourensVeen May 14, 2025
85e1283
Uninstall libs even if their dependencies are not available
LourensVeen May 14, 2025
b586630
Fix failed builds filtration in ./setup
LourensVeen May 14, 2025
30ba82f
let Galactics use the correct c++ lib (not hardcoded)
rieder May 16, 2025
d9e1314
Fix MESA r2208 ndiff ancient configure for macOS
LourensVeen May 17, 2025
735dcc6
Fix 07f179a57 some more
LourensVeen May 17, 2025
292a69f
Fix MESA r2208 build with default Conda build options
LourensVeen May 18, 2025
279a069
Update CI to new build system
LourensVeen May 18, 2025
5431a80
Update README to point to the new installation instructions
LourensVeen May 27, 2025
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
121 changes: 0 additions & 121 deletions .github/workflows/ci.yml

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/community-seba.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/python-package.yml

This file was deleted.

85 changes: 85 additions & 0 deletions .github/workflows/test-framework.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Test AMUSE framework

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest

defaults:
run:
shell: bash -el {0}

steps:
- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
channel-priority: strict

- name: Show conda info
run: |
conda info
conda list

- name: Install dependencies
run: |
conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake openmpi gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest

# - name: Configure OpenMPI
# run: |
# mkdir -p "$HOME/.openmpi"
# echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf"
# echo "mpi_yield_when_idle = true" >>"$HOME/.openmpi/mca-params.conf"
# echo "btl_tcp_if_include = lo,eth0" >>"$HOME/.openmpi/mca-params.conf"
# mkdir -p "$HOME/.prte"
# echo "rmaps_default_mapping_policy = :oversubscribe" >>"$HOME/.prte/mca-params.conf"
# echo "prte_if_include = lo,eth0" >>"$HOME/.prte/mca-params.conf"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 100
fetch-tags: true

- name: Build framework
run: |
./setup install amuse-framework

- name: Test framework
# env:
# OMPI_MCA_rmaps_base_oversubscribe: 1
# PRTE_MCA_rmaps_base_oversubscribe: 1
# PRTE_MCA_rmaps_default_mapping_policy: ":oversubscribe"
# OMPI_MCA_mpi_yield_when_idle: 1
# OMPI_MCA_btl_tcp_if_include: lo,eth0
# PRTE_MCA_btl_tcp_if_include: lo,eth0
# PRTE_MCA_if_include: lo,eth0
# OMPI_MCA_pmix_server_max_wait: 10
run: |
./setup test amuse-framework

- name: Save build logs
run: |
tar czf logs-${{ matrix.os }}.tar.gz support/logs

- name: Archive build logs
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}.tar.gz
path: logs-${{ matrix.os }}.tar.gz
Loading
Loading