... | @@ -24,11 +24,11 @@ MicroPP compilation |
... | @@ -24,11 +24,11 @@ MicroPP compilation |
|
|
|
|
|
**MicroPP-CPU**
|
|
**MicroPP-CPU**
|
|
|
|
|
|
1) mkdir build-cpu
|
|
1)` mkdir build-cpu`
|
|
2) cd build-cpu
|
|
2) `cd build-cpu`
|
|
3) ccmake ../
|
|
3) `ccmake ../`
|
|
4) 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) 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.
|
|
5) make
|
|
5) `make`
|
|
|
|
|
|
|
|
|
|
Alya compilation
|
|
Alya compilation
|
... | @@ -36,31 +36,34 @@ Alya compilation |
... | @@ -36,31 +36,34 @@ Alya compilation |
|
|
|
|
|
**Create symbolic links**
|
|
**Create symbolic links**
|
|
|
|
|
|
1) cd `Thirdparties/micropp/build`
|
|
1) `cd Thirdparties/micropp/build`
|
|
2) ln -s path_to_micropp/`libmicropp.a`
|
|
2) `ln -s path_to_micropp/libmicropp.a`
|
|
3) ln -s path_to_micropp/`libmaterial.mod`
|
|
3) `ln -s path_to_micropp/libmaterial.mod`
|
|
4) ln -s path_to_micropp/`libmicropp.mod`
|
|
4) `ln -s path_to_micropp/libmicropp.mod`
|
|
|
|
|
|
|
|
|
|
**Configure Alya**
|
|
**Configure Alya**
|
|
|
|
|
|
1) cd Executables/unix/
|
|
1) `cd Executables/unix/`
|
|
2) cp configure.in/micropp/configure_gpu_power9.in config.in
|
|
2) `cp configure.in/micropp/configure_gpu_power9.in config.in`
|
|
3) ./configure -x solidz
|
|
3) `./configure -x solidz`
|
|
|
|
|
|
|
|
|
|
**Compile Metis4**
|
|
**Compile Metis4**
|
|
|
|
|
|
1) make metis4
|
|
1) `cd Executables/unix/`
|
|
|
|
2) `make metis4`
|
|
|
|
|
|
|
|
|
|
**Modify makefile**
|
|
**Modify makefile**
|
|
|
|
|
|
1) Find the MicroPP section in the `makefile` file to include ``.
|
|
1) `cd Executables/unix/`
|
|
|
|
2) Edit the MicroPP section in the `makefile` file to include ``.
|
|
|
|
|
|
|
|
|
|
**Compile Alya**
|
|
**Compile Alya**
|
|
|
|
|
|
1) make -j 8
|
|
1) `cd Executables/unix/`
|
|
|
|
2) `make -j 8`
|
|
|
|
|
|
|
|
|