--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
Nathan
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
Hi Bernard,
What nvidia driver version is on your host? What card model?
Thank you,
Igor
Hi Greg,I got an impression that Nathan was saying that you cannot just copy host NVIDIA drivers.
Did I misunderstand it? How do you use "bind path"? Is it a feature of Singularity?
Also, would this solution be portable? Do you mean that this "bind path" happens dynamically as long as the host has some NVIDIA driver and would work with any version without having to rebuild the container?
Thank you,
Hi Greg,
Sorry for this email, just saw your recent reply. Can you tell me a bit more about the /environment file? That seems like it would definitely solve one of my major issues I've been running into. Should it be formatted similar to a standard bash profile file?
linux-gate.so.1 => (0x55575000)libdl.so.2 => /lib/libdl.so.2 (0x5634c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x56351000)
libm.so.6 => /lib/libm.so.6 (0x5636c000)
libc.so.6 => /lib/libc.so.6 (0x56396000)
/lib/ld-linux.so.2 (0x55555000)
And here is what I got for the extracted version:
linux-vdso.so.1 => (0x00007fff069f6000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00002b5fea31c000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00002b5fea520000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00002b5fea73f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00002b5fea947000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b5feac4d000)
/lib64/ld-linux-x86-64.so.2 (0x00002b5fe913d000)
Either way, because of these differences, I didn't have much success utilizing the libcuda.so.352.63 that was installed on my host computer. Any ideas why there might be these differences?
Best,
Nathan
Yes I do
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
<build.sh><links.sh><nvidia.sh><sl7.def>
>>> >> >>>>>>>>>>>>>>> it, send an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>> --
>>> >> >>>>>>>>>>> You received this message because you are subscribed to the
>>> >> >>>>>>>>>>> Google Groups "singularity" group.
>>> >> >>>>>>>>>>> To unsubscribe from this group and stop receiving emails
>>> >> >>>>>>>>>>> from
>>> >> >>>>>>>>>>> it,
>>> >> >>>>>>>>>>> send an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>> --
>>> >> >>>>>>>>>> You received this message because you are subscribed to the
>>> >> >>>>>>>>>> Groups "singularity" group.
>>> >> >>>>>>>>>> To unsubscribe from this group and stop receiving emails
>>> >> >>>>>>>>>> from
>>> >> >>>>>>>>>> it,
>>> >> >>>>>>>>>> send an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>>>>
>>> >> >>>>>>>>>
>>> >> >>>>>>>>> --
>>> >> >>>>>>>>> You received this message because you are subscribed to the
>>> >> >>>>>>>>> Groups "singularity" group.
>>> >> >>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>> >> >>>>>>>>> it,
>>> >> >>>>>>>>> send an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>>>>
>>> >> >>>>>>>>> --
>>> >> >>>>>>>>> You received this message because you are subscribed to the
>>> >> >>>>>>>>> Groups "singularity" group.
>>> >> >>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>> >> >>>>>>>>> it,
>>> >> >>>>>>>>> send an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>> --
>>> >> >>>>>>> You received this message because you are subscribed to the
>>> >> >>>>>>> Groups "singularity" group.
>>> >> >>>>>>> To unsubscribe from this group and stop receiving emails from
>>> >> >>>>>>> it,
>>> >> >>>>>>> send an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>>
>>> >> >>>>>>> --
>>> >> >>>>>>> You received this message because you are subscribed to the
>>> >> >>>>>>> Groups "singularity" group.
>>> >> >>>>>>> To unsubscribe from this group and stop receiving emails from
>>> >> >>>>>>> it,
>>> >> >>>>>>> send an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>
>>> >> >>>>>>
>>> >> >>>>>> --
>>> >> >>>>>> You received this message because you are subscribed to the
>>> >> >>>>>> Groups "singularity" group.
>>> >> >>>>>> To unsubscribe from this group and stop receiving emails from
>>> >> >>>>>> it,
>>> >> >>>>>> send
>>> >> >>>>>> an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>>
>>> >> >>>>>> --
>>> >> >>>>>> You received this message because you are subscribed to the
>>> >> >>>>>> Groups "singularity" group.
>>> >> >>>>>> To unsubscribe from this group and stop receiving emails from
>>> >> >>>>>> it,
>>> >> >>>>>> send
>>> >> >>>>>> an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> --
>>> >> >>>>> You received this message because you are subscribed to the
>>> >> >>>>> Groups "singularity" group.
>>> >> >>>>> To unsubscribe from this group and stop receiving emails from it,
>>> >> >>>>> send
>>> >> >>>>> an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>>
>>> >> >>>>> --
>>> >> >>>>> You received this message because you are subscribed to the
>>> >> >>>>> Groups "singularity" group.
>>> >> >>>>> To unsubscribe from this group and stop receiving emails from it,
>>> >> >>>>> send
>>> >> >>>>> an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> --
>>> >> >>>> You received this message because you are subscribed to the Google
>>> >> >>>> Groups "singularity" group.
>>> >> >>>> To unsubscribe from this group and stop receiving emails from it,
>>> >> >>>> send
>>> >> >>>> an email to singularity+unsubscribe@lbl.gov.
>>> >> >>>
>>> >> >>>
>>> >> >>> --
>>> >> >>> You received this message because you are subscribed to the Google
>>> >> >>> Groups
>>> >> >>> "singularity" group.
>>> >> >>> To unsubscribe from this group and stop receiving emails from it,
>>> >> >>> send
>>> >> >>> an
>>> >> >>> email to singularity+unsubscribe@lbl.gov.
>>> >> >>
>>> >> >> --
>>> >> >> You received this message because you are subscribed to the Google
>>> >> >> Groups
>>> >> >> "singularity" group.
>>> >> >> To unsubscribe from this group and stop receiving emails from it,
>>> >> >> send
>>> >> >> an
>>> >> >> email to singularity+unsubscribe@lbl.gov.
>>> >> >
>>> >> > --
>>> >> > You received this message because you are subscribed to the Google
>>> >> > Groups
>>> >> > "singularity" group.
>>> >> > To unsubscribe from this group and stop receiving emails from it,
>>> >> > send
>>> >> > an
>>> >> > email to singularity+unsubscribe@lbl.gov.
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> >> Groups
>>> >> "singularity" group.
>>> >> To unsubscribe from this group and stop receiving emails from it, send
>>> >> an
>>> >> email to singularity+unsubscribe@lbl.gov.
>>> >
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > "singularity" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> > an
>>> > email to singularity+unsubscribe@lbl.gov.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "singularity" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to singularity+unsubscribe@lbl.gov.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "singularity" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
Bernard
Yes I do
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
Yes I do
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
Thanks
Jianxiong Dong
singularity exec -w ubuntu_tensorflow_GPU.img sh ./tensorflow.sh
where tensorflow.sh is in current folder of host machine. When I ran it under root account and the current folder was not /root,
I got error: "tensorflow.sh" could not be found. Do you know how to fix it?
Thanks
Jianxiong
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
build.sh
======
rm -f ubuntu_tensorflow_GPU.img
singularity create ubuntu_tensorflow_GPU.img
singularity expand --size 5000 ubuntu_tensorflow_GPU.img
singularity bootstrap ubuntu_tensorflow_GPU.img ubuntu.def
#install nvidia GPU driver/cuda/cudnn/tensorflow
singularity exec -w ubuntu_tensorflow_GPU.img sh ./tensorflow.sh
tensorflow.sh
---------
driver_version=352.93
sh NVIDIA-Linux-x86_64-$driver_version.run -x
mv NVIDIA-Linux-x86_64-$driver_version /usr/local/
sh links.sh $driver_version
sh ./cuda_7.5.18_linux.run --toolkit --silent
tar xvf ./cudnn-7.5-linux-x64-v5.1.tgz -C /usr/local
driver_path=/usr/local/NVIDIA-Linux-x86_64-$driver_version
echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64:$driver_path:$LD_LIBRARY_PATH" >> /environment
echo "PATH=$driver_path:\$PATH" >> /environment
echo "export PATH LD_LIBRARY_PATH" >> /environment
pip install --upgrade pip
pip install matplotlib
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
> What I would do (and this might be silly, but it's worth a go) is to clone your repo in the %post section, and move the files to where you need them in the image
Thank for your suggestion. I will try it.
Jianxiong
driver_version=352.93 sh /mnt/NVIDIA-Linux-x86_64-$driver_version.run -x Maybe Greg can provide the best practice to do it. Thanks Jianxiong |
Bootstrap initialization
Checking bootstrap definition
Executing Prebootstrap module
Executing Bootstrap 'yum' module
Found YUM at: /usr/bin/yum
Setting up Install Process
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:00
Error: xz compression not available
ERROR: Bootstrap failed... exiting
ERROR: Aborting with RETVAL=255
tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.
"%@"
/usr/bin/python3: can't open file '%@': [Errno 2] No such file or directory
But I am getting closer!Isn't the %runscript supposed to be shell syntax? So that should be:
exec /usr/bin/python3 "$@"
??
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.