Skip to content

Very slow "openfoam/etc/bashrc"

Hello, I am on a Cray supercomputer and I added source $HOME/openfoam/etc/bashrc to my .bashrc. But I find it is very slow. It seems it is stuck at this command

find /ccs/home/jczhang/openfoam/platforms/linux64GccDPInt32Dbg/bin -maxdepth 1 -executable -type f

However, I could easily do ls /ccs/home/jczhang/openfoam/platforms/linux64GccDPInt32Dbg/bin (just showing hundreds of executables)

PS: the find command eventually finished, it just took 10 minutes!