|
|
Problems (28/03/2020):
|
|
|
- Not possible to use git directly
|
|
|
- No GSL installed on the system
|
|
|
- No SUNDIALS installed on the system
|
|
|
|
|
|
------------------------------------------------
|
|
|
|
|
|
Start on a different machine (say cosma):
|
|
|
```bash
|
|
|
# Load the repository
|
|
|
git clone git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git
|
|
|
cd swiftsim
|
|
|
./autogen.sh
|
|
|
./configure # Note: No need to provide flags here
|
|
|
|
|
|
# Make a full archive of the repository
|
|
|
make dist
|
|
|
|
|
|
# Copy it to HAWK
|
|
|
scp swift-0.8.5.tar.gz my-user-name@hawk.hww.hlrs.de:/my/super/SWIFT/directory
|
|
|
```
|
|
|
|
|
|
Modules to load on HAWK:
|
|
|
```bash
|
|
|
# Unload the defaults
|
|
|
module unload mpt
|
|
|
module unload gcc/9.2.0
|
|
|
|
|
|
# Load the modules we need
|
|
|
module load intel/19.1.0
|
|
|
module load mpt/2.22
|
|
|
module load parmetis/4.0.3-int64
|
|
|
module load fftw/3.3.8
|
|
|
module load hdf5/1.10.5
|
|
|
module load tbb/19.1.0
|
|
|
```
|
|
|
|
|
|
Configuration of SWIFT-COLIBRE:
|
|
|
```bash
|
|
|
tar -xvzf swift-0.8.5.tar.gz
|
|
|
cd swift-0.8.5
|
|
|
|
|
|
./configure --with-subgrid=COLIBRE --with-hydro=sphenix --with-kernel=wendland-C2 \
|
|
|
--with-tbbmalloc=$TBBROOT/lib/intel64/gcc4.8/ --with-parmetis
|
|
|
``` |
|
|
\ No newline at end of file |