OpenMP cannot be found in the latest Keystone

91 views
Skip to first unread message

Yongzhi Wang

unread,
Feb 11, 2024, 11:02:05 PM2/11/24
to Keystone Enclave Forum
Hello,

We were trying to build an eapp code for keystone enclave. However, we met an "fatal error: omp.h: NO such file or directory" error because our code uses OpenMP. We did not experience the same error in the environment using the docker container keystoneenclaveorg/keystone:master.

We were wondering what has changed since your last release of the docker. How can we support the OpenMP with the latest Keystone.

Thanks!
Yongzhi

Dayeol Lee

unread,
Mar 8, 2024, 2:10:10 PM3/8/24
to Keystone Enclave Forum
Hello, 

It would be unlikely that OpenMP works out of the box in Keystone. 
May I know more details about what you're trying to do?

Yongzhi Wang

unread,
Mar 8, 2024, 4:31:45 PM3/8/24
to Dayeol Lee, Keystone Enclave Forum
We are trying to build a ML model(vgg16) into keystone, which uses the omp libraries. We are wondering what is the correct way to build that project. This is the project we are planning to build into: https://github.com/tigercosmos/simple-vgg16

Here are our questions:
  1. what is the correct way to include a 3rd party library to a keystone application?
  2. How can we build a project containing multiple hpp/cpp files ?
  3. Can we only link a library statically or we can link it dynamically? If so, How?

All the best,
Yongzhi

From: 'Dayeol Lee' via Keystone Enclave Forum <keystone-en...@googlegroups.com>
Sent: Friday, March 8, 2024 1:10:10 PM
To: Keystone Enclave Forum <keystone-en...@googlegroups.com>
Subject: [keystone-enclave-forum] Re: OpenMP cannot be found in the latest Keystone
 
--
You received this message because you are subscribed to a topic in the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/keystone-enclave-forum/pxqk67WmhaU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to keystone-enclave-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keystone-enclave-forum/2b8ec6ee-f890-4a37-8701-b02485fc8d8an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages