Title: Unable to run the code with error regarding 'mpiicpc' · Issue #4 · DeepGraphLearning/NBFNet · GitHub
Open Graph Title: Unable to run the code with error regarding 'mpiicpc' · Issue #4 · DeepGraphLearning/NBFNet
X Title: Unable to run the code with error regarding 'mpiicpc' · Issue #4 · DeepGraphLearning/NBFNet
Description: Hello, I followed the instruction to install the torchdrug-related packages and matching PyTorch/CUDA version. However, I got this following error when initializing the code. Any ideas to fix this? The system has intel/19.0.3.199 loaded....
Open Graph Description: Hello, I followed the instruction to install the torchdrug-related packages and matching PyTorch/CUDA version. However, I got this following error when initializing the code. Any ideas to fix this?...
X Description: Hello, I followed the instruction to install the torchdrug-related packages and matching PyTorch/CUDA version. However, I got this following error when initializing the code. Any ideas to fix this?...
Opengraph URL: https://github.com/DeepGraphLearning/NBFNet/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to run the code with error regarding 'mpiicpc'","articleBody":"Hello,\r\n\r\nI followed the instruction to install the torchdrug-related packages and matching PyTorch/CUDA version. However, I got this following error when initializing the code. Any ideas to fix this? The system has intel/19.0.3.199 loaded.\r\n\r\n```\r\n01:24:15 Epoch 0 begin\r\nTraceback (most recent call last):\r\n File \"script/run.py\", line 62, in \u003cmodule\u003e\r\n train_and_validate(cfg, solver)\r\n File \"script/run.py\", line 27, in train_and_validate\r\n solver.train(**kwargs)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/core/engine.py\", line 143, in train\r\n loss, metric = model(batch)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/nn/modules/module.py\", line 889, in _call_impl\r\n result = self.forward(*input, **kwargs)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/tasks/reasoning.py\", line 85, in forward\r\n pred = self.predict(batch, all_loss, metric)\r\n File \"~/Workspace/Python/NBFNet/nbfnet/task.py\", line 288, in predict\r\n pred = self.model(graph, h_index, t_index, r_index, all_loss=all_loss, metric=metric)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/nn/modules/module.py\", line 889, in _call_impl\r\n result = self.forward(*input, **kwargs)\r\n File \"~/Workspace/Python/NBFNet/nbfnet/model.py\", line 149, in forward\r\n output = self.bellmanford(graph, h_index[:, 0], r_index[:, 0])\r\n File \"\u003cdecorator-gen-888\u003e\", line 2, in bellmanford\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/utils/decorator.py\", line 56, in wrapper\r\n return forward(self, *args, **kwargs)\r\n File \"~/Workspace/Python/NBFNet/nbfnet/model.py\", line 115, in bellmanford\r\n hidden = layer(step_graph, layer_input)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/nn/modules/module.py\", line 889, in _call_impl\r\n result = self.forward(*input, **kwargs)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/layers/conv.py\", line 91, in forward\r\n update = self.message_and_aggregate(graph, input)\r\n File \"~/Workspace/Python/NBFNet/nbfnet/layer.py\", line 124, in message_and_aggregate\r\n adjacency = graph.adjacency.transpose(0, 1)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/utils/decorator.py\", line 21, in __get__\r\n result = self.func(obj)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/data/graph.py\", line 658, in adjacency\r\n return utils.sparse_coo_tensor(self.edge_list.t(), self.edge_weight, self.shape)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/utils/torch.py\", line 182, in sparse_coo_tensor\r\n return torch_ext.sparse_coo_tensor_unsafe(indices, values, size)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/utils/torch.py\", line 27, in __getattr__\r\n return getattr(self.module, key)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/utils/decorator.py\", line 21, in __get__\r\n result = self.func(obj)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torchdrug/utils/torch.py\", line 31, in module\r\n return cpp_extension.load(self.name, self.sources, self.extra_cflags, self.extra_cuda_cflags,\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py\", line 1079, in load\r\n return _jit_compile(\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py\", line 1292, in _jit_compile\r\n _write_ninja_file_and_build_library(\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py\", line 1378, in _write_ninja_file_and_build_library\r\n check_compiler_abi_compatibility(compiler)\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py\", line 282, in check_compiler_abi_compatibility\r\n if not check_compiler_ok_for_platform(compiler):\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py\", line 249, in check_compiler_ok_for_platform\r\n version_string = subprocess.check_output([compiler, '-v'], stderr=subprocess.STDOUT).decode()\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/subprocess.py\", line 415, in check_output\r\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\r\n File \"~/anaconda3/envs/dlg_env/lib/python3.8/subprocess.py\", line 516, in run\r\n raise CalledProcessError(retcode, process.args,\r\nsubprocess.CalledProcessError: Command '['icpc', '-v']' returned non-zero exit status 1.\r\n```","author":{"url":"https://github.com/VeritasYin","@type":"Person","name":"VeritasYin"},"datePublished":"2022-02-12T06:26:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/4/NBFNet/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7aeeb377-e0b0-64b4-ab1e-6bcf4dd0e1a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDF6:A49BD:F2E4A3:155998B:69725F2F |
| html-safe-nonce | 6b474b973dd2c73ff52461f001660491b43a7c36347433a9e445a7a66818c4a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREY2OkE0OUJEOkYyRTRBMzoxNTU5OThCOjY5NzI1RjJGIiwidmlzaXRvcl9pZCI6IjUwODMxOTk1ODU5MjQ1NzA5MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c555db8f70e40b2283e6e24591dabadb9946f2dc0e99c609826f04078091e53 |
| hovercard-subject-tag | issue:1133642310 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DeepGraphLearning/NBFNet/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a1ba8132d65c31c305fe422f250c5a8952bad44d8cf9773a3a8962a691004ecc/DeepGraphLearning/NBFNet/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a1ba8132d65c31c305fe422f250c5a8952bad44d8cf9773a3a8962a691004ecc/DeepGraphLearning/NBFNet/issues/4 |
| og:image:alt | Hello, I followed the instruction to install the torchdrug-related packages and matching PyTorch/CUDA version. However, I got this following error when initializing the code. Any ideas to fix this?... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | VeritasYin |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab2c8e6ec49d8737f6bf007a86b2c4a2bc434bba562c524e0c76465bc9ed358b |
| turbo-cache-control | no-preview |
| go-import | github.com/DeepGraphLearning/NBFNet git https://github.com/DeepGraphLearning/NBFNet.git |
| octolytics-dimension-user_id | 38018154 |
| octolytics-dimension-user_login | DeepGraphLearning |
| octolytics-dimension-repository_id | 430829075 |
| octolytics-dimension-repository_nwo | DeepGraphLearning/NBFNet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 430829075 |
| octolytics-dimension-repository_network_root_nwo | DeepGraphLearning/NBFNet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 52bb8e0c9f4e51b63385b80feac0e6ba25e8dbd5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width