According tot he OpenFOAM wiki (step 7 for Centos6.5), I have wrote this line into ~/.bashrc and /etc/profile
alias of230='module load openmpi-x86_64; source /export/apps/mechanics/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc48 WM_MPLIB=SYSTEMOPENMPI'
Problem is, when I run blockMesh, it says no such file. Instead, if I run source /export/apps/mechanics/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=4 foamCompiler=ThirdParty WM_COMPILER=Gcc48 WM_MPLIB=SYSTEMOPENMPI in the terminal, then I will be able to see the usage of blockMesh.
How can I fix that?
برچسب:
نویسنده: استخدام کار