PULP Community
HERO: Compiling OpenMP examples with only=pulp - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: HERO: Compiling OpenMP examples with only=pulp (/showthread.php?tid=324)



HERO: Compiling OpenMP examples with only=pulp - darbyshaw - 08-30-2023

Hello,

I am trying to compile the mm-small example in https://github.com/pulp-platform/hero/tree/master/openmp-examples/mm-small. I would like to build it only for the PULP accelerator.
For that I run make only=pulp. I get the following error:

herov2/pulp/sdk/pkg/sdk/dev/install/include/archi/pulp.h:31:10: fatal error: 'archi/chips/PULP_CHIP_STR/pulp.h' file not found

Please could you help me identify the source of the problem.

Thank you!


RE: HERO: Compiling OpenMP examples with only=pulp - ajgaspar - 09-02-2025

Reviving this question

It seems like some mm-small, mm-large, and dma-perf are not buildable without the archi/chips/PULP_CHIP_STR/pulp.h file. After going through the build process for Hero, the only directory under archip/chips/ is bigpulp. Is there a way to build the PULP_CHIP_STR directory, or use a different pulp.h that's called from include/archi/pulp.h?


RE: HERO: Compiling OpenMP examples with only=pulp - Ahenett - 03-25-2026

(08-30-2023, 09:08 AM)darbyshaw Wrote: Hello,
I am trying to compile the mm-small example in https://github.com/pulp-platform/hero/tree/master/openmp-examples/mm-smallslope. I would like to build it only for the PULP accelerator.
For that I run make only=pulp. I get the following error:
herov2/pulp/sdk/pkg/sdk/dev/install/include/archi/pulp.h:31:10: fatal error: 'archi/chips/PULP_CHIP_STR/pulp.h' file not found
Please could you help me identify the source of the problem.
Thank you!
Do you have the correct chip configuration set for the PULP accelerator in your project settings, as it may not be correctly defined or initialized?