11/*
2- * $Header: $
32 *--------------------------------------------------------------------------------
4- * Copyright (c) 2008-2010, Lawrence Livermore National Security, LLC. Produced
5- *at
3+ * Copyright (c) 2008, Lawrence Livermore National Security, LLC. Produced at
64 * the Lawrence Livermore National Laboratory. Written by Dong H. Ahn
7- 8- * LLNL-CODE-409469. All rights reserved.
5+ * <[email protected] >. LLNL-CODE-409469. All rights reserved. 96 *
107 * This file is part of LaunchMON. For details, see
118 * https://computing.llnl.gov/?set=resources&page=os_projects
129 *
1310 * Please also read LICENSE.txt -- Our Notice and GNU Lesser General Public
14- *License.
11+ * License.
1512 *
1613 *
1714 * This program is free software; you can redistribute it and/or modify it under
18- *the
19- * terms of the GNU General Public License (as published by the Free Software
20- * Foundation) version 2.1 dated February 1999.
15+ * the terms of the GNU General Public License (as published by the Free
16+ * Software Foundation) version 2.1 dated February 1999.
2117 *
2218 * This program is distributed in the hope that it will be useful, but WITHOUT
23- *ANY
24- * WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY or
19+ * ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY or
2520 * FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the GNU
2621 * General Public License for more details.
2722 *
2823 * You should have received a copy of the GNU Lesser General Public License
29- *along
30- * with this program; if not, write to the Free Software Foundation, Inc., 59
31- *Temple
24+ * along with this program; if not, write to the Free Software Foundation,
25+ * Inc., 59 Temple
3226 * Place, Suite 330, Boston, MA 02111-1307 USA
3327 *--------------------------------------------------------------------------------
3428 *
35- *
36- *
3729 * Update Log:
3830 * Jul 18 2018 DHA: Add IBM JSM Spectrum support
3931 * Jun 01 2012 DHA: Copied from 0.8-middleware-support branch and merged
@@ -142,17 +134,7 @@ int main(int argc, char *argv[]) {
142134 launcher_argv[4 ] = strdup (argv[2 ]);
143135 launcher_argv[5 ] = strdup (" --exe" );
144136 launcher_argv[6 ] = strdup (argv[1 ]);
145- // manually fill the block
146- // launcher_argv[7] = strdup("--block");
147- // launcher_argv[8] = strdup("R00-M0-N04");
148- // manually fill the corner
149- // launcher_argv[9] = strdup("--corner");
150- // launcher_argv[10] = strdup("R00-M0-N04-J07");
151- // manually fill the shape
152- // launcher_argv[11] = strdup("--shape");
153- // launcher_argv[12] = strdup("1x1x1x1x1");
154137 launcher_argv[7 ] = NULL ;
155- fprintf (stdout, " [LMON_FE] launching the job/daemons via %s\n " , mylauncher);
156138 } else if ((rmenv_str == std::string (" RC_bgq_slurm" ))) {
157139 launcher_argv = (char **)malloc (7 * sizeof (char *));
158140 launcher_argv[0 ] = strdup (mylauncher);
@@ -162,8 +144,6 @@ int main(int argc, char *argv[]) {
162144 launcher_argv[4 ] = strdup (argv[2 ]);
163145 launcher_argv[5 ] = strdup (argv[1 ]);
164146 launcher_argv[6 ] = NULL ;
165- fprintf (stdout, " [LMON_FE] launching the job/daemons via %s\n " ,
166- " mylauncher" );
167147 } else if ((rmenv_str == std::string (" RC_bglrm" )) ||
168148 (rmenv_str == std::string (" RC_bgprm" ))) {
169149 launcher_argv = (char **)malloc (8 * sizeof (char *));
@@ -175,7 +155,6 @@ int main(int argc, char *argv[]) {
175155 launcher_argv[5 ] = strdup (" -exe" );
176156 launcher_argv[6 ] = strdup (argv[1 ]);
177157 launcher_argv[7 ] = NULL ;
178- fprintf (stdout, " [LMON_FE] launching the job/daemons via %s\n " , mylauncher);
179158 } else if (rmenv_str == std::string (" RC_slurm" )) {
180159 numprocs_opt = string (" -n" ) + string (argv[2 ]);
181160 numnodes_opt = string (" -N" ) + string (argv[3 ]);
@@ -205,15 +184,13 @@ int main(int argc, char *argv[]) {
205184 launcher_argv[5 ] = strdup (argv[2 ]);
206185 launcher_argv[6 ] = strdup (argv[1 ]);
207186 launcher_argv[7 ] = NULL ;
208- fprintf (stdout, " [LMON_FE] launching the job/daemons via %s\n " , mylauncher);
209187 } else if (rmenv_str == std::string (" RC_mpiexec_hydra" )) {
210188 launcher_argv = (char **)malloc (5 * sizeof (char *));
211189 launcher_argv[0 ] = strdup (mylauncher);
212190 launcher_argv[1 ] = strdup (" -n" );
213191 launcher_argv[2 ] = strdup (argv[2 ]);
214192 launcher_argv[3 ] = strdup (argv[1 ]);
215193 launcher_argv[4 ] = NULL ;
216- fprintf (stdout, " [LMON_FE] launching the job/daemons via %s\n " , mylauncher);
217194 } else if (rmenv_str == std::string (" RC_ibm_spectrum" )) {
218195 numprocs_opt = string (" -p" ) + string (argv[2 ]);
219196 launcher_argv = (char **) malloc (4 *sizeof (char *));
0 commit comments