Commit e9eb24c0 authored by Mark Olesen's avatar Mark Olesen

STYLE: update copyright information, README

parent 28217694
...@@ -4,6 +4,8 @@ $COPYRIGHT$ ...@@ -4,6 +4,8 @@ $COPYRIGHT$
Additional copyrights may follow Additional copyrights may follow
Copyright (C) 2018 OpenCFD Ltd.
$HEADER$ $HEADER$
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
......
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
# Copyright (C) 2018 OpenCFD Ltd.
EXTRA_DIST = README LICENSE EXTRA_DIST = README LICENSE
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
@SET_MAKE@ @SET_MAKE@
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
# Copyright (C) 2018 OpenCFD Ltd.
VPATH = @srcdir@ VPATH = @srcdir@
am__is_gnu_make = { \ am__is_gnu_make = { \
......
Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved. Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
Copyright (C) 2018 OpenCFD Ltd.
Preamble
========
The openfoam-selector an OpenFOAM-specific adaptation of the
mpi-selector provided by Jeff Squyres and Cisco Systems.
Overview Overview
======== ========
mpi-selector is a simplistic tool that helps manage having multiple openfoam-selector is simple tool to help manage multiple OPENFOAM
MPI implementations installed on a single host (or cluster). It versions installed on a single host (or cluster). It allows system
allows system administrators to set a site-wide default MPI administrators to set a site-wide default OPENFOAM version, but also
implementation, but also allows users to selectively override that allows users to selectively override that site-wide default with their
site-wide default with their own choice of MPI implementation. own choice of OPENFOAM version.
Both selections are optional and independent; system administrators Both selections are optional and independent; system administrators
may choose not to set a site-wide default while users do choose to may choose not to set a site-wide default while users do choose to
their own default (and vice versa). their own default (and vice versa).
Much more information is contained in the mpi-selector.1 man page. More information is contained in the openfoam-selector.1 man page.
Installation Installation
============ ============
mpi-selector is installed with the traditional "configure" / "make" openfoam-selector is installed with a traditional "configure" / "make"
combination common to many open source projects. combination common. The main option that you'll need for "configure"
is the --prefix option, which specifies the top directory where
A traditional "configure" script is provided to allow you where to openfoam-selector and its files are installed.
install mpi-selector. The main option that you'll want to use is
--prefix, specifying the top directory where mpi-selector and its
files are installed.
shell$ ./configure --prefix=/where/to/install shell$ ./configure --prefix=/where/to/install
...@@ -35,15 +39,15 @@ installing into restricted directories): ...@@ -35,15 +39,15 @@ installing into restricted directories):
This command will install the following files: This command will install the following files:
$bindir/mpi-selector $bindir/openfoam-selector
--> $bindir defaults to "$prefix/bin", unless overridden on --> $bindir defaults to "$prefix/bin", unless overridden on
the "configure" command line the "configure" command line
$mandir/man1/mpi-selector.1 $mandir/man1/openfoam-selector.1
--> $mandir defaults to "$prefix/man", unless overridden on --> $mandir defaults to "$prefix/man", unless overridden on
the "configure" command line the "configure" command line
$pkgdatadir/mpi-selector.sh $pkgdatadir/openfoam-selector.sh
$pkgdatadir/mpi-selector.csh $pkgdatadir/openfoam-selector.csh
--> $pkgdatadir defaults to "$prefix/share/mpi-selector", unless --> $pkgdatadir defaults to "$prefix/share/openfoam-selector", unless
overridden on the "configure" command line (RPMs will overridden on the "configure" command line (RPMs will
typically change this value -- YMMV). typically change this value -- YMMV).
...@@ -52,25 +56,22 @@ shell startup usage. For example, on RedHat systems, they should be ...@@ -52,25 +56,22 @@ shell startup usage. For example, on RedHat systems, they should be
copied to /etc/profile.d so that all shells will execute them upon copied to /etc/profile.d so that all shells will execute them upon
startup. startup.
These last two files will examine both the site-wide and per user MPI These last two files will examine both the site-wide and per user OPENFOAM
implementation selection, and if one is set, setup the shell's version selection, and if one is set, setup the shell's
environment for it. environment for it.
The shell version also provides an "openfoam_select" function that can
be used directly from the user shell after changing versions and
without logging out.
Contact Contact
======= =======
If you need assistance with the mpi-selector package, first read the If you need assistance with openfoam-selector, first read the
mpi-selector(1) man page; it contains a lot more information than is openfoam-selector(1) man page; it contains more information than
listed here. listed here.
If that still does not answer your question, please send mail to the If that still does not answer your question, please post a gitlab issue
OpenFabrics general mailing list (see http://www.openfabrics.org/). https://develop.openfoam.com/Community/feature-scripts
This is a high-volume mailing list, so be sure to put "mpi-selector"
in the subject line somewhere to help ensure that it won't be missed.
Or feel free to contact me directly.
Enjoy!
- Jeff Squyres 2018-12-03 OpenCFD Ltd.
14 Feb 2007
...@@ -2377,7 +2377,7 @@ OPENFOAM_SELECTOR_HOME_FILE=".openfoam-selector" ...@@ -2377,7 +2377,7 @@ OPENFOAM_SELECTOR_HOME_FILE=".openfoam-selector"
prefix=$prefix_save prefix=$prefix_save
# Information for the man page # Information for the man page
MAN_DATE=`date "+%B %d, %Y"` MAN_DATE=`date "+%Y-%m-%d"`
# Party on # Party on
......
# -*- shell-script -*- # -*- shell-script -*-
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
# Copyright (C) 2018 OpenCFD Ltd.
# Startup # Startup
AC_INIT([openfoam-selector], AC_INIT([openfoam-selector],
...@@ -50,7 +51,7 @@ AC_SUBST(OPENFOAM_SELECTOR_HOME_FILE) ...@@ -50,7 +51,7 @@ AC_SUBST(OPENFOAM_SELECTOR_HOME_FILE)
prefix=$prefix_save prefix=$prefix_save
# Information for the man page # Information for the man page
MAN_DATE=`date "+%B %d, %Y"` MAN_DATE=`date "+%Y-%m-%d"`
AC_SUBST(MAN_DATE) AC_SUBST(MAN_DATE)
# Party on # Party on
......
#!/bin/sh
#------------------------------------------------------------------------------
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2018 OpenCFD Ltd.
# \\/ M anipulation |
#-------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
# <http://www.gnu.org/licenses/>.
#
# Script
# makeTar
#
# Description
# Create tar.gz file from current HEAD
#
#-------------------------------------------------------------------------------
cd "${0%/*}" || exit 1
set -x
VERSION="$(cat VERSION)"
[ -n "$VERSION" ] || {
echo "No VERSION info"
exit 2
}
git archive \
--format=tgz \
--prefix="openfoam-selector-${VERSION}/" \
--output="openfoam-selector-${VERSION}.tgz" \
--verbose \
HEAD
#-------------------------------------------------------------------------------
#!/usr/bin/perl #!/usr/bin/perl
# #
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
# Copyright (C) 2018 OpenCFD Ltd.
# #
# Simple perl script to effect system-wide and per-user default # Simple perl script to effect system-wide and per-user default
# selections of which MPI implementation to use. # selections of which MPI implementation to use.
...@@ -165,7 +166,9 @@ Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. ...@@ -165,7 +166,9 @@ Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Jeff Squyres.\n"; Written by Jeff Squyres.
Changes Copyright (C) 2018 OpenCFD Ltd.\n";
exit(0); exit(0);
} }
......
#!/usr/bin/perl #!/usr/bin/perl
# #
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
# Copyright (C) 2018 OpenCFD Ltd.
# #
# Simple perl script to effect system-wide and per-user default # Simple perl script to effect system-wide and per-user default
# selections of which OPENFOAM to use. # selections of which OPENFOAM to use.
...@@ -437,7 +438,7 @@ This is free software; see the source for copying conditions. There ...@@ -437,7 +438,7 @@ This is free software; see the source for copying conditions. There
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. PARTICULAR PURPOSE.
Copyright (C) 2018 OpenCFD Ltd. Copyright (C) 2018 OpenCFD Ltd.
=cut =cut
...@@ -661,7 +662,9 @@ Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. ...@@ -661,7 +662,9 @@ Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Jeff Squyres.\n" Written by Jeff Squyres.
Changes Copyright (C) 2018 OpenCFD Ltd.\n"
if (!$silent); if (!$silent);
exit(0); exit(0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment