{"action":"created","issue":{"url":"https://api.github.com/repos/singularityware/singularity/issues/809","repository_url":"https://api.github.com/repos/singularityware/singularity","labels_url":"https://api.github.com/repos/singularityware/singularity/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/singularityware/singularity/issues/809/comments","events_url":"https://api.github.com/repos/singularityware/singularity/issues/809/events","html_url":"https://github.com/singularityware/singularity/issues/809","id":243202131,"number":809,"title":"Problem of installing OFED in Singularity","user":{"login":"hfutxrg","id":3160803,"avatar_url":"https://avatars1.githubusercontent.com/u/3160803?v=4","gravatar_id":"","url":"https://api.github.com/users/hfutxrg","html_url":"https://github.com/hfutxrg","followers_url":"https://api.github.com/users/hfutxrg/followers","following_url":"https://api.github.com/users/hfutxrg/following{/other_user}","gists_url":"https://api.github.com/users/hfutxrg/gists{/gist_id}","starred_url":"https://api.github.com/users/hfutxrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfutxrg/subscriptions","organizations_url":"https://api.github.com/users/hfutxrg/orgs","repos_url":"https://api.github.com/users/hfutxrg/repos","events_url":"https://api.github.com/users/hfutxrg/events{/privacy}","received_events_url":"https://api.github.com/users/hfutxrg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-15T21:39:14Z","updated_at":"2017-07-18T02:26:39Z","closed_at":null,"body":"I am trying to use Singularity to run a program on our cluster where all nodes are connected by EDR Infiniband. All nodes in our cluster have RHEL 7.2 OS. But for some reason, the program could not run successfully on RHEL, so I want to create a Singularity container with Ubuntu 16.04 OS and run the program on Ubuntu with Singularity.\r\n \r\nThe issue right now is that I cannot install Mellanox OFED driver in the Singularity container. Because the output of \"uname -a\" still shows RHEL kernel within the container, OFED package could not detect Ubuntu OS, so it cannot install successfully.\r\n\r\n## Version of Singularity:\r\n\r\n2.3.1\r\n\r\n### Expected behavior\r\n\r\nWe should be able to install Mellanox OFED driver successfully.\r\n\r\n### Actual behavior\r\n\r\nWhen I install OFED within container, it has the following messages:\r\n \r\nThis program will install the MLNX_OFED_LINUX package on your machine.\r\nNote that all other Mellanox, OEM, OFED, or Distribution IB packages will be removed.\r\nDo you want to continue?[y/N]:y\r\n \r\nChecking SW Requirements...\r\n \r\nOne or more required packages for installing MLNX_OFED are missing.\r\n/lib/modules/3.10.0-327.el7.x86_64/build/scripts is required for the Installation.\r\nAttempting to install the following missing packages:\r\n**linux-headers-3.10.0-327.el7.x86_64**\r\nFailed command: apt-get install -y linux-headers-3.10.0-327.el7.x86_64\r\n\r\n### Steps to reproduce behavior\r\n\r\nsingularity create ubuntu-test.img\r\nsingularity bootstrap ubuntu-test.img ubuntu.def\r\nsingularity exec -w ubuntu-test.img apt-get install build-essential\r\nsingularity shell -w ubuntu-test.img\r\nSingularity ubuntu-test.img > apt-get install lsb-release\r\nSingularity ubuntu-test.img > wget http://www.mellanox.com/downloads/ofed/MLNX_OFED-3.3-1.0.4.0/MLNX_OFED_LINUX-3.3-1.0.4.0-ubuntu16.04-x86_64.tgz\r\nSingularity ubuntu-test.img > tar xzfv MLNX_OFED_LINUX-3.3-1.0.4.0-ubuntu16.04-x86_64.tgz\r\nSingularity ubuntu-test.img > cd MLNX_OFED_LINUX-3.3-1.0.4.0-ubuntu16.04-x86_64\r\nSingularity ubuntu-test.img > ./mlnxofedinstall\r\n\r\nRegards,\r\nRengan"},"comment":{"url":"https://api.github.com/repos/singularityware/singularity/issues/comments/315939982","html_url":"https://github.com/singularityware/singularity/issues/809#issuecomment-315939982","issue_url":"https://api.github.com/repos/singularityware/singularity/issues/809","id":315939982,"user":{"login":"hfutxrg","id":3160803,"avatar_url":"https://avatars1.githubusercontent.com/u/3160803?v=4","gravatar_id":"","url":"https://api.github.com/users/hfutxrg","html_url":"https://github.com/hfutxrg","followers_url":"https://api.github.com/users/hfutxrg/followers","following_url":"https://api.github.com/users/hfutxrg/following{/other_user}","gists_url":"https://api.github.com/users/hfutxrg/gists{/gist_id}","starred_url":"https://api.github.com/users/hfutxrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfutxrg/subscriptions","organizations_url":"https://api.github.com/users/hfutxrg/orgs","repos_url":"https://api.github.com/users/hfutxrg/repos","events_url":"https://api.github.com/users/hfutxrg/events{/privacy}","received_events_url":"https://api.github.com/users/hfutxrg/received_events","type":"User","site_admin":false},"created_at":"2017-07-18T02:26:39Z","updated_at":"2017-07-18T02:26:39Z","body":"Hi @gmkurtzer @vsoch , do you have any solutions to my post?"}}
{"actor":{"display_login":"hfutxrg"}}