Skip to content

openfoam module issue #22774

@Nandinihpc

Description

@Nandinihpc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodulestriageThe issue needs to be prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions