Skip to content

Commit 3820f08

Browse files
authored
Merge pull request #6082 from hzhou/2207_rm_hydra2
pm: remove hydra2 Approved-by: Ken Raffenetti
2 parents 39d0bde + a40c62e commit 3820f08

File tree

155 files changed

+1
-14287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+1
-14287
lines changed

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,10 @@ apply-xfail.sh
114114
/src/mpl/confdb
115115
/src/pm/hydra/confdb
116116
/src/pm/hydra/modules
117-
/src/pm/hydra2/confdb
118-
/src/pm/hydra2/mpl
119-
/src/pm/hydra2/mpl/confdb
120-
/src/pm/hydra2/libhydra/topo/hwloc/hwloc
121117
/src/mpi/romio/mpl
122118
/src/mpi/romio/mpl/confdb
123119
/src/mpi/romio/version.m4
124120
/src/pm/hydra/version.m4
125-
/src/pm/hydra2/version.m4
126121
/test/mpi/version.m4
127122

128123
# created by the build process in the test dirs

autogen.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ do_json=yes
6262
do_yaksa=yes
6363
do_test=yes
6464
do_hydra=yes
65-
do_hydra2=yes
6665
do_romio=yes
6766
do_pmi=yes
6867
do_doc=no
@@ -81,7 +80,6 @@ for arg in "$@" ; do
8180
do_yaksa=no
8281
do_test=yes
8382
do_hydra=yes
84-
do_hydra2=no
8583
do_romio=no
8684

8785
if test -e 'modules.tar.gz' -a ! -e 'modules/PREBUILT' ; then
@@ -201,10 +199,6 @@ set_externals() {
201199
externals="${externals} src/pm/hydra"
202200
fi
203201

204-
if [ "yes" = "$do_hydra2" ] ; then
205-
externals="${externals} src/pm/hydra2"
206-
fi
207-
208202
if [ "yes" = "$do_romio" ] ; then
209203
externals="${externals} src/mpi/romio"
210204
fi
@@ -322,14 +316,6 @@ fn_copy_confdb_etc() {
322316
confdb_dirs="${confdb_dirs} src/pm/hydra/modules/mpl/confdb"
323317
fi
324318
fi
325-
if test "$do_hydra2" = "yes" ; then
326-
confdb_dirs="${confdb_dirs} src/pm/hydra2/confdb"
327-
sync_external src/mpl src/pm/hydra2/mpl
328-
sync_external modules/hwloc src/pm/hydra2/libhydra/topo/hwloc/hwloc
329-
# remove .git directories to avoid confusing git clean
330-
rm -rf src/pm/hydra2/libhydra/topo/hwloc/hwloc/.git
331-
confdb_dirs="${confdb_dirs} src/pm/hydra2/mpl/confdb"
332-
fi
333319
if test "$do_test" = "yes" ; then
334320
confdb_dirs="${confdb_dirs} test/mpi/confdb"
335321
confdb_dirs="${confdb_dirs} test/mpi/dtpools/confdb"
@@ -343,7 +329,6 @@ fn_copy_confdb_etc() {
343329
# a couple of other random files
344330
if [ -f maint/version.m4 ] ; then
345331
cp -pPR maint/version.m4 src/pm/hydra/version.m4
346-
cp -pPR maint/version.m4 src/pm/hydra2/version.m4
347332
cp -pPR maint/version.m4 src/mpi/romio/version.m4
348333
cp -pPR maint/version.m4 src/pmi/version.m4
349334
cp -pPR maint/version.m4 test/mpi/version.m4

configure.ac

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,12 +1579,6 @@ for pm_name in $pm_names ; do
15791579
fi
15801580
subsystems="$subsystems src/pm/hydra"
15811581
;;
1582-
hydra2)
1583-
if test "$with_pmi" = "pmix" ; then
1584-
AC_MSG_ERROR([$pm_name does not support $with_pmi.])
1585-
fi
1586-
subsystems="$subsystems src/pm/hydra2"
1587-
;;
15881582
*)
15891583
AC_MSG_WARN([PM $pm_name is unknown])
15901584
hasError=yes

src/pm/Makefile.mk

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,3 @@ DIST_SUBDIRS += src/pm/hydra
2929
MANDOC_SUBDIRS += src/pm/hydra
3030
HTMLDOC_SUBDIRS += src/pm/hydra
3131
endif BUILD_PM_HYDRA
32-
33-
# has its own full automake setup, not Makefile.mk
34-
if BUILD_PM_HYDRA2
35-
SUBDIRS += src/pm/hydra2
36-
DIST_SUBDIRS += src/pm/hydra2
37-
MANDOC_SUBDIRS += src/pm/hydra2
38-
endif BUILD_PM_HYDRA2

src/pm/hydra/lib/utils/sock.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ HYD_status HYDU_sock_listen(int *listen_fd, char *port_range, uint16_t * port)
5656

5757
/* setup_socket */
5858
*listen_fd = MPL_socket();
59-
/* FIXME: duplicate with pm/hydra2/libhydra/sock/hydra_sock.c */
6059
if (*listen_fd < 0)
6160
HYDU_ERR_SETANDJUMP(status, HYD_SOCK_ERROR, "cannot open socket (%s)\n",
6261
MPL_strerror(errno));

src/pm/hydra2/.gitignore

Lines changed: 0 additions & 125 deletions
This file was deleted.

src/pm/hydra2/Makefile.am

Lines changed: 0 additions & 125 deletions
This file was deleted.

src/pm/hydra2/README

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/pm/hydra2/autogen.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/pm/hydra2/common/Makefile.mk

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)