NWChem/contrib/distro-tools
Yuri Victorovich 7b3d60dce7 Fix bash shebangs: make /usr/bin/env find bash in paths
This is needed on FreeBSD and other systems where bash isn't located in /bin/bash.
2021-11-07 14:06:22 -08:00
..
build_nwchem Fix bash shebangs: make /usr/bin/env find bash in paths 2021-11-07 14:06:22 -08:00
build_nwchem_bin_distro Fix bash shebangs: make /usr/bin/env find bash in paths 2021-11-07 14:06:22 -08:00
build_nwchem_modules Fix bash shebangs: make /usr/bin/env find bash in paths 2021-11-07 14:06:22 -08:00
build_nwchem_src_distro Fix bash shebangs: make /usr/bin/env find bash in paths 2021-11-07 14:06:22 -08:00
gen_default.nwchemrc HvD: Added the option to set the scratch and permanent directories, as 2010-10-20 17:56:52 +00:00
MacOSX.txt Make bandit a mandatory test and fix some typos 2021-10-30 02:49:07 +02:00
README HvD: Added the build_nwchem script that we have used to generate the 2010-09-21 15:35:22 +00:00

DISTRO TOOLS
============

In this directory some tools are provided to help generate binary
distributions of NWChem. 

gen_default.nwchemrc

    This script will generate the default nwchemrc file on a users
    machine. This goes into the directory ${target}/etc.

build_nwchem_bin_distro

    This script takes as a command line argument the directory name
    were the source code distribution lives. It expects 
    gen_default.nwchemrc to sit next to this directory and expects
    to be run from that directory. It will then create a directory
    for the binary and the suplemental material, copy all relevant
    material into it, and generate the various archives.

    Example: In the directory nwchem_releases we have:

       ./nwchem-6.0-linux/
       ./gen_default.nwchemrc
       ./build_nwchem_bin_distro

    We can then run:

       ./build_nwchem_bin_distro nwchem-6.0-linux

    After which the directory will contain:

       ./nwchem-6.0-linux/
       ./gen_default.nwchemrc
       ./build_nwchem_bin_distro
       ./nwchem-6.0-binary/
       ./nwchem-6.0-binary.tgz
       ./nwchem-6.0-binary.MANIFEST
       ./nwchem-6.0-binary.tar.bz2

build_nwchem

    This script sets up a set of environment variables and builds 
    NWChem accordingly. I can easily be adapted to any particular build
    of interest. At present it is set up to build a statically linked
    executable with the GNU compilers.