My installation scripts for the SCIDAC stack + FUEL
The script "do_all.sh" handles all of the work downloading the source, building, and installing using mpicc for all pieces but QLA, which is compiled currently using gcc.
Disclaimer: Technically, I should stop being lazy and figure out how to use "qinstall". This works, though, in a clunky, lazy, but in my opinion easier way to understand.
The script takes three arguments:
- The directory to put the src, build, and install directories.
- A file that should be "source"'d before compiling. This may contain paths to an appropriate version of the binary for mpicc and gcc.
- Optionally, a suffix to put after the build and install directories. Without a suffix, the build and install directories will quite literally be called "build" and "install". If the suffix "ex" is given, as an example, the build and install directories will be named "build_ex" and "install_ex", instead. This allows for concurrent installations.
Three demo source files are included for Fermilab: source_ds.sh, source_bc.sh, and source_pi.sh.
Contact me at weinbe2@bu.edu with any questions or suggestions!
To pull this from git and push updates, I need to run:
git clone https://weinbe2@github.com/weinbe2/usqcd-install.git
cd usqcd-install
git push --set-upstream origin master
Yes, I know this is trivial, but I'm forgetful.