./configure does not recognize home directory "~/"
eric-haibin-lin opened this issue · comments
If I pass --nccl-path=~/nccl/build
, the make
command complains about 'nccl_net.h' not found. I later found that I need to pass the complete path as /home/ubuntu/nccl/build
. Automatically reconigizing ~
will make it easier for others to install.
Thanks for opening the issue.
I'm guessing you meant with --with-nccl
config rather than --nccl-path
. Is that correct?
I was able to reproduce the issue. I tried using ~
with configure command and it is able to configure but make fails.
As a workaround, you could use $HOME
instead of ~
. This would make the command generic between different distributions and usernames and is recognizable by autotools.
I'll look into if we should be handling this case.
Thanks for your quick reply! Yes. I'm able to work around it by using $HOME. Just wanted to leave a note here in case others came across the same issue.