You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: RELEASE_NOTES.md
+18-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,21 @@
1
-
Version vX.Y.Z -- Release date xxxx-xx-xx
1
+
Version vYYYY.MM.p -- Release date YYYY-MM-DD
2
+
==============================================
3
+
* Important Notes:
4
+
* External users of the code will need to supply config files for tpl-manager to find system libraries correctly. Steps to do this are detailed in the external user build guide.
5
+
6
+
Notable changes include:
7
+
8
+
* New features/ API changes:
9
+
10
+
* Build changes / improvements:
11
+
* tpl-manager.py will no longer use generic x86_64 configs for non LC systems. Users will be required to supply their own configs for pointing spack at external packages.
12
+
13
+
* Bug Fixes / improvements:
14
+
15
+
Version v2024.01.1 -- Release date 2024-02-17
2
16
==============================================
3
17
* Important Notes:
4
-
*
18
+
*This is a patch release for v2024.01.0.
5
19
6
20
Notable changes include:
7
21
@@ -15,6 +29,8 @@ Notable changes include:
15
29
16
30
* Bug Fixes / improvements:
17
31
* Fixed bug with ConstantBoundary in the presence of porosity with the new porosity models introduced in v2024.01.00.
32
+
* Updating header lists for including Spheral modules in external projects.
33
+
* Adding effective viscous pressure back to FSISPH.
18
34
* Initial volumes for damage models were incorrectly not taking into account pore space when computing failure statistics for seeding flaws. Fixed.
This guide assumes the use of an Ubuntu 20.04 system using ``apt`` as the package manager. For other other operating systems please install the corresponding packages as seen below.
For alternative Linux distros your mileage may vary, ensure you are installing compatible packages to the ones listed above.
17
-
18
15
[ex_update_sys-section-end]
19
16
20
17
..
@@ -47,6 +44,12 @@ Build our TPL dependencies from source with the Spheral tpl-management tool (``t
47
44
.. note::
48
45
This command will generate a ``.cmake`` file with the naming convention ``<system-type>-<compiler-spec>``. The following commands will refer to this format as ``<host-config>`` for generalization across operating systems and architectures. You will need to substitute the correct format in the following commands.
49
46
47
+
.. warning::
48
+
For operating systems other than Ubuntu 20.04 you should get an error to the effect of:
We define configuration files for Ubuntu20.04, as well as our common LLNL operating systems.
77
+
You will need to create a set of files for your own system.
78
+
79
+
The configuration files tell spack where the packages installed in :ref:`Required System Packages`
80
+
are located and what version they are. We have provided a ``generic`` set of config files to
81
+
help in setting this up for you.
82
+
83
+
#. Copy the directory ``scripts/spack/configs/generic`` to ``scripts/spack/config/<OperatingSystem><Version>`` (you want to match the name of the directory to the one ``tpl-manager.py`` expects to find).
84
+
85
+
86
+
#. For each package within the ``packages.py`` file of your new folder edit the version number to be the same as
87
+
what is installed on your system. There are a number of ways to retrieve versions for a given package:
88
+
89
+
* Most version numbers should be searchable through your package manager, there are however, some system libraries that may not be managed by your package manager.
90
+
91
+
* If the package has an executable, often you can run with some form of ``-V`` or ``--version``. e.g. for mpich:``mpiexec --version`` will report the MPI version.
92
+
93
+
* For packages that only provide libraries, often the system library will be symlinked to one with the version as the extension. e.g. ``ls -lha /usr/lib/x86_64_gnu-linux/libreadlines.so`` will show it is symlinked to ``libreadlines.so.8.1``.
94
+
95
+
96
+
#. Each package requires the ``prefix:`` of the installation be provided. In most cases ``/usr`` is sufficient. Typically packages installed with a package manager will place files in: ``/usr/bin``, ``/usr/share``, ``/usr/lib``, ``/usr/lib64``, sometimes ``/usr/lib/x86_64.../``. Here the common prefix is ``/usr``.
97
+
98
+
* If you are building Spheral on a system where you don't have permissions to run package manager and install to ``/usr``, then you might have installed the system packages somewhere else. In that case, replace the ``prefix:`` path for those given packages as necessary.
You need to have **Docker Desktop**, **VSCode** and the **VSCode Dev Environment Extension** installed for this to work. You do not need to use VSCode to access the container, but the extension seems to do some of the lifting for us when setting up the volume to our local repo.
23
+
24
+
**Output** ::
25
+
26
+
spheral-recursing_darwin <---- Name of dev environment
27
+
Creating Dev Environment "spheral-recursing_darwin"
28
+
populating volume from /Users/davis291/Projects/spheral
29
+
Creating Dev Environment "spheral-recursing_darwin"
30
+
detecting language
31
+
Detecting main repo language...
32
+
building compose stack
33
+
building compose stack
34
+
starting compose stack
35
+
starting compose stack
36
+
Network spheral-recursing_darwin_default Creating
37
+
Network spheral-recursing_darwin_default Created
38
+
Container spheral-recursing_darwin-app-1 Creating
39
+
Container spheral-recursing_darwin-app-1 Created
40
+
Container spheral-recursing_darwin-app-1 Starting
41
+
Container spheral-recursing_darwin-app-1 Started <---- Name of running container to connect to.
42
+
Dev Environment "spheral-recursing_darwin" (5bd37219d27eb68a77ce6fd8fee05a533a52017d8dcc72430867e2471e428e58) is running!%
43
+
44
+
45
+
=============================
46
+
Connecting to a Dev Container
47
+
=============================
48
+
49
+
Once the continaer has ben started you can connect directly through the terminal
50
+
with the **Container** name (**NOT** the **Dev Environment** name).::
0 commit comments