From c9cbcf8730221e366c7495073f8f8d819ee8ce89 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 6 Feb 2019 10:06:59 -0600 Subject: [PATCH] Replace deprecated MPI_Attr_get. Fixes build with OpenMPI version 4.0. * SRC/pdgstrf.c, SRC/pdgstrf.c, SRC/superlu_grid.c: 'MPI_Attr_get' -> 'MPI_Comm_get_attr'. --- SRC/pdgstrf.c | 2 +- SRC/pzgstrf.c | 2 +- SRC/superlu_grid.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SRC/pdgstrf.c b/SRC/pdgstrf.c index 736ffa2..f92a1ba 100644 --- a/SRC/pdgstrf.c +++ b/SRC/pdgstrf.c @@ -426,7 +426,7 @@ pdgstrf(superlu_dist_options_t * options, int m, int n, double anorm, s_eps = smach_dist("Epsilon"); thresh = s_eps * anorm; - MPI_Attr_get (MPI_COMM_WORLD, MPI_TAG_UB, &attr_val, &flag); + MPI_Comm_get_attr (MPI_COMM_WORLD, MPI_TAG_UB, &attr_val, &flag); if (!flag) { fprintf (stderr, "Could not get TAG_UB\n"); return (-1); diff --git a/SRC/pzgstrf.c b/SRC/pzgstrf.c index 8896548..8800057 100644 --- a/SRC/pzgstrf.c +++ b/SRC/pzgstrf.c @@ -426,7 +426,7 @@ pzgstrf(superlu_dist_options_t * options, int m, int n, double anorm, s_eps = smach_dist("Epsilon"); thresh = s_eps * anorm; - MPI_Attr_get (MPI_COMM_WORLD, MPI_TAG_UB, &attr_val, &flag); + MPI_Comm_get_attr (MPI_COMM_WORLD, MPI_TAG_UB, &attr_val, &flag); if (!flag) { fprintf (stderr, "Could not get TAG_UB\n"); return (-1); diff --git a/SRC/superlu_grid.c b/SRC/superlu_grid.c index 1213d27..0c0fb90 100644 --- a/SRC/superlu_grid.c +++ b/SRC/superlu_grid.c @@ -150,7 +150,7 @@ void superlu_gridmap( { int tag_ub; if ( !grid->iam ) { - MPI_Attr_get(Bcomm, MPI_TAG_UB, &tag_ub, &info); + MPI_Comm_get_attr(Bcomm, MPI_TAG_UB, &tag_ub, &info); printf("MPI_TAG_UB %d\n", tag_ub); /* returns 4295677672 In reality it is restricted to no greater than 16384. */ -- 2.20.1 t' value='search'/>
path: root/gnu/installer/tests.scm
AgeCommit message (Expand)Author
2020-10-30installer: Use UUIDs in the 'swap-devices' field....Note: This change requires an updated 'guix' package that contains Linux-swap support in (gnu build file-systems). * gnu/installer/parted.scm (user-partitions->configuration): Use UUIDs in the 'swap-devices' field. * gnu/installer/newt/final.scm (run-final-page)[wait-for-clients]: New procedure. Use it. * gnu/installer/tests.scm (choose-partitioning): Wait for 'starting-final-step' message and move configuration file dialog handling to... (conclude-installation): ... here. Send over PORT the reply corresponding to 'starting-final-step'. * gnu/tests/install.scm (gui-test-program): When ENCRYPTED? is false, invoke 'swaplabel' in the marionette. (installation-target-os-for-gui-tests): When ENCRYPTED? is false, except a fixed UUID. Ludovic Courtès
2020-04-10installer: tests: Don't install to a CD/DVD....* gnu/installer/tests.scm (choose-partitioning): Use 'find' to select the disk. Ludovic Courtès
2020-03-26installer: tests: Use a filter to select desktop-environments....* gnu/installer/tests.scm (choose-services): Turn desktop-environments list into a choose-desktop-environment procedure. This way, it is easier to select all desktop-environments or none, in the same way as choose-network-service? and choose-network-management-tool? arguments. Mathieu Othacehe
2020-03-05tests: install: Add "gui-installed-os"....* gnu/installer/tests.scm: New file. * gnu/local.mk (INSTALLER_MODULES): Add it. * gnu/tests/install.scm (run-install): Add #:gui-test. Add (gnu installer tests) to the marionette imported modules. Honor GUI-TEST. Check whether SCRIPT is true. (%root-password, %syslog-conf): New variable. (operating-system-with-console-syslog, gui-test-program) (guided-installation-test): New procedures. (%extra-packages, installation-os-for-gui-tests) (%test-gui-installed-os): New variable. Ludovic Courtès