Useful documentation on building/installing HiPACE++: https://hipace.readthedocs.io/en/latest/building/building.html
ssh into Glen's PC (from my laptop, typically I would ssh into centos7
and then ssh into pc95258
).
I set up an ssh hop proxy for ease of access (in .ssh/config
):
Host centos7-proxy |
---|
Use Spack to create an environment for HiPACE++
spack env create hipace-dev spack env activate hipace-dev spack add ccache % gcc@11.3.0 |
---|
It will take a while to install everything...(As per the HiPACE++ documentation: in new terminals, re-activate the environment with spack env activate hipace-dev
again)
Then edit the spack config
and change unify: true
to unify: when_possible
spack config edit |
---|
Configure the compiler (or do the meatier compilation in step 5 right off the bat)
export CC=$(which gcc-11) export CXX=$(which g++-11) |
---|
For some reason g++ versions above 8 are unsupported with the version of CUDA I used, so you have to manually set CUDAHOSTCXX
to your g++-7
path (version 8 is not on this machine I guess but 7 seems to work for my purposes)
`git clone https://github.com/Hi-PACE/hipace.git $HOME/src/hipace # or choose your preferred path`(or pull if already cloned an older version using `
git pull
`)cmake -S . -B build -DHiPACE_COMPUTE=CUDA
(Or do this all at once)
cmake -S . -B build -DHiPACE_COMPUTE=CUDA \ |
---|
cmake --build build -j <n>
<path>/<to>/hipace/build/bin/hipace <input_file_name>
There's probably a better way, but this is what I've been using for now. This is setup with my ssh proxy hop thing. Run command in the local directory where you want files to be copied to.
scp -r -oControlPath=~/.ssh/master-%r@%h:%p pc95258-proxy:'/home/mvarvera/HiPACE++/<path to insitu data>/*' <desired local insitu path> && \
scp -r -oControlPath=~/.ssh/master-%r@%h:%p pc95258-proxy:'/home/mvarvera/HiPACE++/<path to hdf5 data>/*' <desired local hdf5 path>
GitHub with relevant code: https://github.com/MaxVarverakis/PositronPWFA
EAAC 2023 Proceedings Paper: https://doi.org/10.48550/arXiv.2311.07087
Summer internship overview slides: https://docs.google.com/presentation/d/11A7qlPXztxuoElt8Cbj2m_hojxxPuYZjqP9pSMLbxg4/edit?usp=sharing
Slides from meeting with Severin Diederichs, Carl Schroeder, Spencer Gessner, Robert Holtzapple: https://docs.google.com/presentation/d/1VmR9LG82rfL51h9zfaRNk5lMi9Xj31UNgLKcDrwNl9o/edit?usp=sharing
Linear regime analysis notes/comparisons to simulations: Linear_WFA_Notes.pdf