-
Notifications
You must be signed in to change notification settings - Fork 2.4k
openfoam module issue #22774
Description
I have installed openfoam2012 successfully. When i did spack module lmod refresh it gives this warning and hangs
==> Do you want to proceed? [y/n] y
==> Regenerating lmod module files
==> Warning: Quotes in command arguments can confuse scripts like configure.
The following arguments may cause problems when executed:
source /dev/null &> /dev/null && python3 -c "import os, json; print(json.dumps(dict(os.environ)))"
Quotes aren't needed because spack doesn't use a shell.
Consider removing them
==> Warning: Quotes in command arguments can confuse scripts like configure.
The following arguments may cause problems when executed:
source /opt/apps/nfs/spack-quanah/spack/opt/spack/linux-centos8-broadwell/gcc-10.2.0/openfoam-2012-sm3m4wiv32m6t3f5lm43rgvibgvqkruz/etc/bashrc &> /dev/null && python3 -c "import os, json; print(json.dumps(dict(os.environ)))"
Quotes aren't needed because spack doesn't use a shell.
Consider removing them
Let me know the fix please.
Thanks