Closed yw5aj closed 6 years ago
Ah - just noticed that spack
is used with help from @luca-heltai .
It still says command not found -
dealii@18522844b04f:~/shared/VS2017WSL$ . /usr/local/share/spack/setup-env.sh
dealii@18522844b04f:~/shared/VS2017WSL$ spack load cmake
bash: module: command not found
Maybe I was doing something wrong. Could you please help check the above commands?
PS: missing the old candi
build now... Any chance we can get a candi
build with 9.0.0? My build on my own computer is problematic so I am trying to use docker instead.
Sorry, this should be fixed in the docker image.
You should run
docker run -u root dealii/dealii:…
and then run
spack install environment-modules
This will allow you to run
module load dealii
If you want to create a candi image, you are welcome to contribute. Be aware, however, that many new features are not available with candi, and you’d have to install them yourself, while spack is updated almost daily (by our hero Denis Davydov, to whom I’m most grateful for his work…)…
Best, Luca.
There are no answers, only cross references.
On 14 Jul 2018, at 3:50, Yuxiang Wang notifications@github.com wrote:
Ah - just noticed that spack is used with help from @luca-heltai .
It still says command not found -
dealii@18522844b04f:~/shared/VS2017WSL$ . /usr/local/share/spack/setup-env.sh dealii@18522844b04f:~/shared/VS2017WSL$ spack load cmake bash: module: command not found
Maybe I was doing something wrong. Could you please help check the above commands?
PS: missing the old candi build now... Any chance we can get a candi build with 9.0.0? My build on my own computer is problematic so I am trying to use docker instead.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Thank you @luca-heltai for the suggestion! I ran into this issue:
dealii@81f4137ac09e:~$ spack install environment-modules
==> Error: [Errno 13] Permission denied: '/home/dealii/.spack/cache/providers'
Again I really appreciate your time in helping me. Any chance that this (Permission denied above) is only on my computer?
when you run the image, you should run it as root. docker run -u root …
Note that the new images on docker hub now contain the right module, and you don’t need to install it anymore.
L
On 18 Jul 2018, at 18:52, Yuxiang Wang notifications@github.com wrote:
Thank you @luca-heltai for the suggestion! I ran into this issue:
dealii@81f4137ac09e:~$ spack install environment-modules ==> Error: [Errno 13] Permission denied: '/home/dealii/.spack/cache/providers'
Again I really appreciate your time in helping me. Any chance that this (Permission denied above) is only on my computer?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Ah I forgot about that part. It worked! Thank you so much :)
Shawn
On Wed, Jul 18, 2018 at 9:54 AM, Luca Heltai notifications@github.com wrote:
when you run the image, you should run it as root.
docker run -u root …
Note that the new images on docker hub now contain the right module, and you don’t need to install it anymore.
L
On 18 Jul 2018, at 18:52, Yuxiang Wang notifications@github.com wrote:
Thank you @luca-heltai for the suggestion! I ran into this issue:
dealii@81f4137ac09e:~$ spack install environment-modules ==> Error: [Errno 13] Permission denied: '/home/dealii/.spack/cache/ providers'
Again I really appreciate your time in helping me. Any chance that this (Permission denied above) is only on my computer?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dealii/docker-files/issues/17#issuecomment-406001351, or mute the thread https://github.com/notifications/unsubscribe-auth/ADUQ7YVg_w1-x8Oe9U05fiZ1k0rUgCUUks5uH2hUgaJpZM4VGctR .
-- Yuxiang "Shawn" Wang, PhD yw5aj@virginia.edu +1 (434) 284-0836
Hi all,
Quick question - after I used this docker image:
And if I run
cmake CMakeLists.txt
, it reports:It seems that cmake is not installed. And if I do
sudo apt-get install cmake
it saysbash: sudo: command not found
; if I dosu
it asks for a password that I don't know.Could you please help?
Thanks, Shawn