This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
technical:recipes:gnnunlock [2024-07-01 14:22] – frey | technical:recipes:gnnunlock [2024-07-05 11:15] (current) – [Build the C++ training program] frey |
---|
* ''makefile.nomkl'' uses GNU C++ and embedded linear algebra functionality that may or may not be parallelized with OpenMP | * ''makefile.nomkl'' uses GNU C++ and embedded linear algebra functionality that may or may not be parallelized with OpenMP |
| |
Since we wish to use Intel oneAPI compilers and MKL, the ''makefile'' will be used in slightly altered form. A patch file is supplied for this purpose -- download ''makefile.oneapi.patch'' and copy it to the ''${GNNUNLOCK_PREFIX}/${GNNUNLOCK_VERSION}/GNNUnlock/GraphSAINT'' directory created in this recipe: | Since we wish to use Intel oneAPI compilers and MKL, the ''makefile'' will be used in slightly altered form. A patch file is supplied for this purpose -- download {{ :technical:recipes:makefile.oneapi.patch |makefile.oneapi.patch}} and copy it to the ''${GNNUNLOCK_PREFIX}/${GNNUNLOCK_VERSION}/GNNUnlock/GraphSAINT'' directory created in this recipe: |
| |
<file diff makefile.oneapi.patch> | <code diff> |
--- A/makefile 2024-07-01 10:09:30.696062752 -0400 | --- A/makefile 2024-07-01 10:09:30.696062752 -0400 |
+++ B/makefile 2024-07-01 10:12:32.685255418 -0400 | +++ B/makefile 2024-07-01 10:12:32.685255418 -0400 |
_DEPS=global.h optm.h # global dependencies | _DEPS=global.h optm.h # global dependencies |
DEPS=$(patsubst %,$(IDIR)/%,$(_DEPS)) | DEPS=$(patsubst %,$(IDIR)/%,$(_DEPS)) |
</file> | </code> |
| |
The patch gets applied in the source directory: | The patch gets applied in the source directory: |