From 6a62248850c5438a41b482a6d88d285e55197dbc Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 24 Sep 2002 01:30:17 +0000 Subject: [PATCH] No code changes. Just added the LLNL copyright/disclaimer to files. --- src/slurmd/circular_buffer.c | 26 ++++++++++++++++++++++++ src/slurmd/circular_buffer.h | 25 +++++++++++++++++++++++ src/slurmd/cntl.h | 26 ++++++++++++++++++++++++ src/slurmd/elan_interconnect.c | 36 ++++++++++++++++++++++++++-------- src/slurmd/forked_ctrl.c | 26 ++++++++++++++++++++++++ src/slurmd/forked_io.c | 26 ++++++++++++++++++++++++ src/slurmd/get_mach_stat.h | 31 ++++++++++++++++++++++++++++- src/slurmd/interconnect.h | 26 ++++++++++++++++++++++++ src/slurmd/io.c | 26 ++++++++++++++++++++++++ src/slurmd/io.h | 26 ++++++++++++++++++++++++ src/slurmd/io_threads.c | 26 ++++++++++++++++++++++++ src/slurmd/locks.c | 2 +- src/slurmd/locks.h | 2 +- src/slurmd/nb_io.c | 26 ++++++++++++++++++++++++ src/slurmd/nbio.c | 26 ++++++++++++++++++++++++ src/slurmd/nbio.h | 26 ++++++++++++++++++++++++ src/slurmd/no_interconnect.c | 27 +++++++++++++++++++++++++ src/slurmd/pipes.c | 26 ++++++++++++++++++++++++ src/slurmd/pipes.h | 26 ++++++++++++++++++++++++ src/slurmd/read_proc.c | 34 +++++++++++++++++++++++++------- src/slurmd/reconnect_utils.c | 26 ++++++++++++++++++++++++ src/slurmd/reconnect_utils.h | 26 ++++++++++++++++++++++++ src/slurmd/shmem_struct.c | 26 ++++++++++++++++++++++++ src/slurmd/task_mgr.c | 26 ++++++++++++++++++++++++ src/slurmd/task_mgr.h | 26 ++++++++++++++++++++++++ src/slurmd/threaded_ctrl.c | 26 ++++++++++++++++++++++++ src/slurmd/threaded_io.c | 26 ++++++++++++++++++++++++ 27 files changed, 659 insertions(+), 18 deletions(-) diff --git a/src/slurmd/circular_buffer.c b/src/slurmd/circular_buffer.c index a97b08e211b..40b2c5afbd6 100644 --- a/src/slurmd/circular_buffer.c +++ b/src/slurmd/circular_buffer.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * circular_buffers.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <assert.h> #include <stdlib.h> #include <string.h> diff --git a/src/slurmd/circular_buffer.h b/src/slurmd/circular_buffer.h index e63f18c8f70..995418129fa 100644 --- a/src/slurmd/circular_buffer.h +++ b/src/slurmd/circular_buffer.h @@ -1,3 +1,28 @@ +/*****************************************************************************\ + * circular_buffer.h + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ #ifndef _CIRCULAR_BUFFER_H #define _CIRCULAR_BUFFER_H diff --git a/src/slurmd/cntl.h b/src/slurmd/cntl.h index 17a60c81300..12952479570 100644 --- a/src/slurmd/cntl.h +++ b/src/slurmd/cntl.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * cntl.h + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _SLURMD_IO_H_ #define _SLURMD_IO_H_ diff --git a/src/slurmd/elan_interconnect.c b/src/slurmd/elan_interconnect.c index 869469a6084..9fe92b738eb 100644 --- a/src/slurmd/elan_interconnect.c +++ b/src/slurmd/elan_interconnect.c @@ -1,11 +1,31 @@ -/* - * $Id$ - * $Source$ - * - * Demo the routines in common/qsw.c - * This can run mping on the local node (uses shared memory comms). - * ./runqsw /usr/lib/mpi-test/mping 1 1024 - */ +/*****************************************************************************\ + * elan_interconnect.c - Demo the routines in common/qsw.c + * This can run mping on the local node (uses shared memory comms). + * ./runqsw /usr/lib/mpi-test/mping 1 1024 + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #define HAVE_LIBELAN3 #include <sys/types.h> diff --git a/src/slurmd/forked_ctrl.c b/src/slurmd/forked_ctrl.c index 0a4afbe0149..0ed37932174 100644 --- a/src/slurmd/forked_ctrl.c +++ b/src/slurmd/forked_ctrl.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * forked_ctrl.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/forked_io.c b/src/slurmd/forked_io.c index 134561739e4..6307c942cd9 100644 --- a/src/slurmd/forked_io.c +++ b/src/slurmd/forked_io.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * forked_io.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/get_mach_stat.h b/src/slurmd/get_mach_stat.h index 32882f9bdc6..6af1b21e9e4 100644 --- a/src/slurmd/get_mach_stat.h +++ b/src/slurmd/get_mach_stat.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * get_mach_stat.h - definitions for get_mach_stat.c + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Moe Jette <jette1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _GET_MACH_STAT_H #define _GET_MACH_STAT_H #define _SLURMD_H @@ -13,15 +39,18 @@ #else /* !HAVE_CONFIG_H */ # include <inttypes.h> #endif /* HAVE_CONFIG_H */ + int get_procs(uint32_t *procs); int get_mach_name(char *node_name); int get_memory(uint32_t *real_memory); int get_tmp_disk(uint32_t *tmp_disk); + #ifdef USE_OS_NAME int get_os_name(char *os_name); #endif + #ifdef USE_CPU_SPEED int get_speed(float *speed); #endif -#endif +#endif /* _GET_MACH_STAT_H */ diff --git a/src/slurmd/interconnect.h b/src/slurmd/interconnect.h index c1eae5d9201..e5564ecda68 100644 --- a/src/slurmd/interconnect.h +++ b/src/slurmd/interconnect.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * interconnect.h - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _SLURMD_INTERCONNECT_H_ #define _SLURMD_INTERCONNECT_H_ diff --git a/src/slurmd/io.c b/src/slurmd/io.c index c0a2ac2b8a1..bd8340ad0a4 100644 --- a/src/slurmd/io.c +++ b/src/slurmd/io.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * io.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/io.h b/src/slurmd/io.h index 583f109609f..52691f9b5c2 100644 --- a/src/slurmd/io.h +++ b/src/slurmd/io.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * io.h - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _SLURMD_IO_H_ #define _SLURMD_IO_H_ #include <src/slurmd/task_mgr.h> diff --git a/src/slurmd/io_threads.c b/src/slurmd/io_threads.c index e1ee848096b..e4bf7b778dc 100644 --- a/src/slurmd/io_threads.c +++ b/src/slurmd/io_threads.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * io_threads.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/locks.c b/src/slurmd/locks.c index 48e7824fae3..a0c1991301f 100644 --- a/src/slurmd/locks.c +++ b/src/slurmd/locks.c @@ -1,5 +1,5 @@ /*****************************************************************************\ - * locks.c - semaphore functions for slurmd + * locks.c - semaphore functions for slurmd ***************************************************************************** * Copyright (C) 2002 The Regents of the University of California. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). diff --git a/src/slurmd/locks.h b/src/slurmd/locks.h index 9b3fd5621df..608b818d3fc 100644 --- a/src/slurmd/locks.h +++ b/src/slurmd/locks.h @@ -1,5 +1,5 @@ /*****************************************************************************\ - * locks.h - definitions for semaphore functions for slurmd (locks.c) + * locks.h - definitions for semaphore functions for slurmd (locks.c) ***************************************************************************** * Copyright (C) 2002 The Regents of the University of California. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). diff --git a/src/slurmd/nb_io.c b/src/slurmd/nb_io.c index e47c6627957..e5d5f52dbd5 100644 --- a/src/slurmd/nb_io.c +++ b/src/slurmd/nb_io.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * nb_io.c - Non-blocking I/O support + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/nbio.c b/src/slurmd/nbio.c index 294221b83b2..1de4de1a3a3 100644 --- a/src/slurmd/nbio.c +++ b/src/slurmd/nbio.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * nbio.c - Non-blocking I/O + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/nbio.h b/src/slurmd/nbio.h index 8fbaba2c95c..d7ebe243ae7 100644 --- a/src/slurmd/nbio.h +++ b/src/slurmd/nbio.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * nbio.h - Non-blocking I/O header for nbio.c + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _SLURMD_NBIO_H #define _SLURMD_NBIO_H diff --git a/src/slurmd/no_interconnect.c b/src/slurmd/no_interconnect.c index cf7add7c9e3..ede85f69c60 100644 --- a/src/slurmd/no_interconnect.c +++ b/src/slurmd/no_interconnect.c @@ -1,3 +1,30 @@ +/*****************************************************************************\ + * no_interconnect.c - Manage user task communications without an high-speed + * interconnect + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <src/common/slurm_protocol_api.h> #include <src/slurmd/task_mgr.h> #include <src/slurmd/interconnect.h> diff --git a/src/slurmd/pipes.c b/src/slurmd/pipes.c index b5b7bfddfc5..db6f0b41816 100644 --- a/src/slurmd/pipes.c +++ b/src/slurmd/pipes.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * pipes.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <unistd.h> #include <errno.h> diff --git a/src/slurmd/pipes.h b/src/slurmd/pipes.h index 33c46cb435e..f499f991b4a 100644 --- a/src/slurmd/pipes.h +++ b/src/slurmd/pipes.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * pipes.h - headers for slurmd pipes (pipes.c) + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _SLURMD_PIPES_H_ #define _SLURMD_PIPES_H_ diff --git a/src/slurmd/read_proc.c b/src/slurmd/read_proc.c index 4dea3e673d3..932ff579e8e 100644 --- a/src/slurmd/read_proc.c +++ b/src/slurmd/read_proc.c @@ -1,10 +1,30 @@ -/* - * read_proc.c - Read the system's process table. This is used to - * determine if a job is still executing and how many resources - * are being allocated to it. - * - * Author: Moe Jette, jette@llnl.gov - */ +/*****************************************************************************\ + * read_proc.c - Read the system's process table. This is used to + * determine if a job is still executing and how many resources + * are being allocated to it. + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Moe Jette <jette1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/src/slurmd/reconnect_utils.c b/src/slurmd/reconnect_utils.c index f2891c45ad8..b005aefc0d3 100644 --- a/src/slurmd/reconnect_utils.c +++ b/src/slurmd/reconnect_utils.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * reconnect_utils.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/reconnect_utils.h b/src/slurmd/reconnect_utils.h index ec46efe6c1c..794fbd039f7 100644 --- a/src/slurmd/reconnect_utils.h +++ b/src/slurmd/reconnect_utils.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * reconnect_utils.h - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _SLURMD_RECONNECT_UTILS_H_ #define _SLURMD_RECONNECT_UTILS_H_ diff --git a/src/slurmd/shmem_struct.c b/src/slurmd/shmem_struct.c index 196ea7e8a52..fd7de3f644f 100644 --- a/src/slurmd/shmem_struct.c +++ b/src/slurmd/shmem_struct.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * shmem_struct.c - shared memory support functions + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <assert.h> #include <pthread.h> diff --git a/src/slurmd/task_mgr.c b/src/slurmd/task_mgr.c index 1daa8e4802a..410ef936bb8 100644 --- a/src/slurmd/task_mgr.c +++ b/src/slurmd/task_mgr.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * task_mgr.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/task_mgr.h b/src/slurmd/task_mgr.h index 175fbd1b51d..306de7fe93c 100644 --- a/src/slurmd/task_mgr.h +++ b/src/slurmd/task_mgr.h @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * task_mgr.h - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #ifndef _TASK_MGR_H #define _TASK_MGR_H diff --git a/src/slurmd/threaded_ctrl.c b/src/slurmd/threaded_ctrl.c index 9e58124c6c3..6759f430e5b 100644 --- a/src/slurmd/threaded_ctrl.c +++ b/src/slurmd/threaded_ctrl.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * threaded_ctrl.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> diff --git a/src/slurmd/threaded_io.c b/src/slurmd/threaded_io.c index 557fda7bbbb..02bd0c05d49 100644 --- a/src/slurmd/threaded_io.c +++ b/src/slurmd/threaded_io.c @@ -1,3 +1,29 @@ +/*****************************************************************************\ + * threaded_io.c - + ***************************************************************************** + * Copyright (C) 2002 The Regents of the University of California. + * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). + * Written by Kevin Tew <tew1@llnl.gov> et. al. + * UCRL-CODE-2002-040. + * + * This file is part of SLURM, a resource management program. + * For details, see <http://www.llnl.gov/linux/slurm/>. + * + * SLURM is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * SLURM is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with ConMan; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +\*****************************************************************************/ + #include <stdlib.h> #include <sys/types.h> #include <pwd.h> -- GitLab