diff --git a/src/slurmd/circular_buffer.c b/src/slurmd/circular_buffer.c index a97b08e211b76f435ba536b52d8310f133edbfaa..40b2c5afbd68c6d70b8a24072cd09d601e6f9082 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 e63f18c8f70a3526ef6f1918a519dcbffb35ef10..995418129fac27f24542bdce79316438212ec3c2 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 17a60c81300f08ef48ae01604589ce327d0dc8b0..1295247957055a060afaff4a8c848bdf0a9cbc18 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 869469a6084cae1af6f586e33449b45a84ed3fa3..9fe92b738ebd84cee2bb977308b560089d992980 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 0a4afbe0149bd2ad6268afa461a8c1e3e627e83d..0ed37932174dcd1e70679b593a3691c0f84180e9 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 134561739e49daeaf8750a054da55a3915dc7585..6307c942cd9531fe35911eb1e912f3f9df896811 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 32882f9bdc6a1213f44f87e1f01de6cd4aff00ef..6af1b21e9e4aebabf2681f0ba44feeb722dc042a 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 c1eae5d92011fc929db9a64df738859077e90827..e5564ecda681732be3ec6c440cff4a9779f6f198 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 c0a2ac2b8a1c63398351f76231489e47becd39a8..bd8340ad0a44229e0e88ca9dd246883d74ece8ae 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 583f109609f473a4184b5a85244fe038d9232583..52691f9b5c2dfd329891e9c8b2222df9ae099435 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 e1ee848096b187e9f70c85d5c499260fb3e8c74a..e4bf7b778dca39d8cb251ba07754d342eead89d7 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 48e7824fae35737e9a94d83475ff5780bba6c0cb..a0c1991301ff238a66e0d9d39d83f83ae7e562ee 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 9b3fd5621df2bd67ec64cc559bcef5bec39e058e..608b818d3fc9f7a68026d556e964526f24c7a85f 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 e47c66279576e629c54b30c90ae9a62373c6e100..e5d5f52dbd55a78d1d1504f756952e03544e6b62 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 294221b83b29cf031f811f99e53b0618074e61b8..1de4de1a3a35351a777a47bd638b6542f0364d43 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 8fbaba2c95ccff07745ae1955323a84c93d5fdb2..d7ebe243ae7f2d5aaf8cb754f2b8c8bf59bd4972 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 cf7add7c9e3bac546db9494c39ca9c8adff3e432..ede85f69c602ead7e906f9e6e687cd6d141d929a 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 b5b7bfddfc59ec03ff51fe2199704e2d5e88e3b7..db6f0b418161510a5c3ba52d478a2af28225658b 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 33c46cb435e80391b2a55a6ab9a89b3cd242755c..f499f991b4a392aadbb6de6b9fcad51faadf2dba 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 4dea3e673d371b988a6f0f95e5e30b7f2937cfad..932ff579e8e05f73e3001f4e567be584fd43f3ce 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 f2891c45ad8f588ac38c00e653a2adeb8eb8b185..b005aefc0d3bce09023e1c9bff2f7f4696ff3ed1 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 ec46efe6c1c60a1c5f4544b4de97105a1166946a..794fbd039f7521c1e6929acf00edcc00315ce673 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 196ea7e8a52e415067c922c28a533dc6e180dd1b..fd7de3f644fe7e8433bcbea46c8aff7a7c958986 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 1daa8e4802ad25fe68787821469ab8cbea201bd0..410ef936bb8247fb8529701b643e1dd5775c0cb0 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 175fbd1b51dcaea1459748e4bd40da5c7aed2b23..306de7fe93ca12a2b0a39f562fcadffd0d142af8 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 9e58124c6c3058278375144bb85a56ae383642d0..6759f430e5b04d62317b159e109cbaa58edca2a6 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 557fda7bbbb2327445c661db2c91f1d0af72f1fb..02bd0c05d49e3a9665e7b5a6ab93e5e115aa6464 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>