|
|
|
Load modules according to the machine
|
|
|
|
---
|
|
|
|
|
|
|
|
*Power 9*:
|
|
|
|
1) module purge
|
|
|
|
2) load module bsc/commands pgi/20.4.1 openmpi/4.0.4 cuda/10.1 cmake
|
|
|
|
|
|
|
|
MicroPP compilation
|
|
|
|
---
|
|
|
|
|
|
|
|
*MicroPP - GPU*:
|
|
|
|
|
|
|
|
1) mkdir build-gpu
|
|
|
|
2) cd build-gpu
|
|
|
|
3) ccmake ../
|
|
|
|
|
|
|
|
type `c`, activate the flags: `ENABLE CUDA, OPEN_ACC, OPEN_MPI`, copy the folder path into `CMAKE_INSTALL_PREFIX`, and finally, type `c` and `g` to proceed with the configure.
|
|
|
|
|
|
|
|
4) make
|
|
|
|
|
|
|
|
|
|
|
|
*MicroPP-CPU*:
|
|
|
|
|
|
|
|
1) mkdir build-cpu
|
|
|
|
2) cd build-cpu
|
|
|
|
2) cmake ..
|
|
|
|
3) ccmake .
|
|
|
|
|
|
|
|
type `c`, activate the flags: `OPEN_MPI`, copy the folder path into `CMAKE_INSTALL_PREFIX`, and finally, type `c` and `g` to proceed with the configure.
|
|
|
|
|
|
|
|
4) make
|
|
|
|
|
|
|
|
|
|
|
|
Alya compilation
|
|
|
|
---
|
|
|
|
|
|
|
|
1) Create symbolic links into `Thirdparties/micropp/build` of the static libraries `libmicropp.a` and two modules `libmaterial.mod` and `libmicropp.mod` using `ln -s path_to_file`
|
|
|
|
2) cd Executables/unix/
|
|
|
|
3) cp configure.in/micropp/configure_gpu_power9.in config.in
|
|
|
|
4) ./configure -x solidz
|
|
|
|
5)
|
|
|
|
|
|
|
|
|