cd to your personal HeLmod clone (on the canonical build host, as you, not root), and get setup:
git pull
module purge
source ./setup.shdownload the source archive to "$FASRCSW_DEV"/rpmbuild/SOURCES
define what you're working on (TYPE is Core for generic things, Comp if you really want to build using newer compilers, or MPI for MPI-enabled things):
export NAME=...
export VERSION=...
export RELEASE=...
export TYPE=...create a spec file:
cd "$FASRCSW_DEV"/rpmbuild/SPECS
cp -ai template.spec "$NAME-$VERSION-$RELEASE".specedit the spec file and address each FIXME up until the modulefile.lua creation (i.e. adjust the ./configure/make/make install snippets if necessary)
do a trial build:
make trialfinish the spec file (modulefile.lua creation), based upon the suggestions in the output from the above.
build it for real:
makeinstall it:
make test
make installcommit/post your updates (this adds/commits/pushes/rsyncs all local content):
make post