Closed sushma-4 closed 2 years ago
It seems you are missing some ruby gems:
Ruby Gems:
cast-to-yaml
nokogiri
babeltrace
gem install --user-install cast-to-yaml nokogiri babeltrace
We will be adding additional check in the configure to catch those earlier. If you are installing from master, the branch is quite outdated, and you may want to checkout modularize_merge that will shortly become the new release.
If you want to profile level zero code, you may need a patched version of babeltrace2, see the babeltrace2 spack package here for the patches and other details: https://github.com/Kerilk/spack/tree/develop/var/spack/repos/builtin/packages/babeltrace2 Don't hesitate if you need more help installing THAPI, I'll be glad to help.
I updated the configure to fail if the required ruby extension are not found. I also updated the README.md to include the requirement on a patched babeltrace2. Thanks for reporting your issue.
Thank you, seems like the issue is with gem install
I was trying to get the missing dependencies, and keeps failing with
ERROR: While executing gem ... (Gem::Exception)
OpenSSL is not available. Install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
Tried everything to install and rebuild with ssl but still fails. I've raised an issue with Ruby as well. Waiting for their reply.
I just pulled and my configure still passes, make fails
Have you pulled master or the modularize_merge
branch? I have not updated master, as it is completely out of date. You may need to rerun autogen.sh first.
ERROR: While executing gem ... (Gem::Exception) OpenSSL is not available. Install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
I think an outdated system libOpenSSL could cause the issue.
You can get around this by downloading the gems manually and specifying the files during install, but the dependencies would be painful to track.
Another option is to install the gems in another machine with a working ruby install, and you should be able to find the required gems and their dependencies in the ~/.gem/ruby/2.7.0/cache
folder (adjust your version number accordingly).
Just copy them on the target machine and
gem install --user-install --local *.gem
This will bypass internet access.
Brice wrote a nice spack package. Maybe it will simplify stuff for you: https://github.com/argonne-lcf/THAPI-spack
Closed due to inactivity. Please reopen if the spack package doesn't work for you
I have installed all the dependencies and was tying to
$make
afterconfigure
and encountered this: