diff --git a/README.rst b/README.rst index 180fafaabea12ae8e587685b500d6275496c944e..4fb8e2bfa08604f03f04692d2894d418a90287c5 100644 --- a/README.rst +++ b/README.rst @@ -38,12 +38,12 @@ To install, for example, the ``foss2022a-serial`` toolchain: $ mpsd-software init - Future calls of the `mpsd-software` command need to be executed from this - "mpsd-software-root" directory or in one of its subdirectories. + Future calls of the `mpsd-software` command need to be executed from this + "mpsd-software-root" directory or in one of its subdirectories. - (The above command creates a hidden file ``.mpsd-software-root`` to tag the location for - as the root of the installation. All compiled files, logs etc are written in - or below this subdirectory.) + (The above command creates a hidden file ``.mpsd-software-root`` to tag the location for + as the root of the installation. All compiled files, logs etc are written in + or below this subdirectory.) 4. From the same directory, run the command to install the ``foss2022a-serial`` @@ -53,8 +53,15 @@ To install, for example, the ``foss2022a-serial`` toolchain: This will take some time (up to several hours depending on hardware). -5. To see the installation status, and the required ``module use`` command line - to activate the created modules, try the ``status`` command:: +5. To see installed releases, use the ``status`` command:: + + $ mpsd-software status + + Installed MPSD software releases: + dev-23a + +6. To see the installation status, and the required ``module use`` command line + to activate the created modules, try the ``status`` command and specify one release:: $ mpsd-software status dev-23a @@ -64,7 +71,22 @@ To install, for example, the ``foss2022a-serial`` toolchain: foss2022a-serial [module use /home/user/mpsd-software/dev-23a/cascadelake/lmod/Core] -6. To compile Octopus, source the provided configure script, for example ``foss2022a-serial-config.sh``, as +7. The ``status`` command can also be used to get a list of all packages in a toolchain and details of how they were compiled (running this may take a few seconds):: + + $ mpsd-software status dev-23a foss2022a-serial + + listing packages installed for package_set='foss2022a-serial', microarch='cascadelake' + autoconf@2.71%gcc@11.3.0 build_system=autotools arch=linux-debian11-cascadelake + autoconf-archive@2022.02.11%gcc@11.3.0 build_system=autotools patches=139214f arch=linux-debian11-cascadelake + automake@1.16.5%gcc@11.3.0 build_system=autotools arch=linux-debian11-cascadelake + bdftopcf@1.0.5%gcc@11.3.0 build_system=autotools arch=linux-debian11-cascadelake + berkeley-db@18.1.40%gcc@11.3.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-debian11-cascadelake + berkeleygw@2.1%gcc@11.3.0~debug~elpa+hdf5~mpi+openmp~python~scalapack~verbose build_system=makefile arch=linux-debian11-cascadelake + binutils@2.38%gcc@11.3.0~gas~gold+headers~interwork+ld~libiberty~lto+nls+plugins build_system=autotools libs=shared,static arch=linux-debian11-cascadelake + boost@1.80.0%gcc@11.3.0~atomic~chrono~clanglibcpp+container~context~contract~coroutine~date_time~debug+exception~fiber~filesystem~graph~graph_parallel~icu~iostreams~json~locale~log+math~mpi+multithreaded~nowide~numpy~pic~program_options~python+random~regex~serialization+shared~signals~singlethreaded~stacktrace+system~taggedlayout~test+thread~timer~type_erasure~versionedlayout~wave build_system=generic cxxstd=98 patches=a440f96 visibility=hidden arch=linux-debian11-cascadelake + ... <truncated in the README> + +8. To compile Octopus, source the provided configure script, for example ``foss2022a-serial-config.sh``, as `explained here <https://computational-science.mpsd.mpg.de/docs/mpsd-hpc.html#loading-a-toolchain-to-compile-octopus>`__). The configure scripts are located in ``dev-23a/spack-environments/octopus``:: diff --git a/src/mpsd_software_manager/mpsd_software.py b/src/mpsd_software_manager/mpsd_software.py index e84e5ca465cadbc0c2b1f6024a6116fea6dced5d..5698cde996371d9ec628eb8184d7e21b59453ffa 100755 --- a/src/mpsd_software_manager/mpsd_software.py +++ b/src/mpsd_software_manager/mpsd_software.py @@ -1280,7 +1280,7 @@ def list_installed_releases(root_dir: Path, print_output: bool = False) -> List[ x for x in list_of_files if (root_dir / x / "spack-environments").exists() ] if print_output: - plog.info("Available MPSD software releases:") + plog.info("Installed MPSD software releases:") for release in installed_releases: plog.info(f" {release}") return installed_releases