Thank you very much. However, when I type "notepad.exe ~/.bashrc" the message that bash: notepad.exe: command not found..." appears in the terminal. What could be the alternatives for it? Could you please suggest few ways to open notepad and trouble shoot my paraview issues.
alias paraviewWindows="touch simulation.foam && /mnt/C/Program\ Files/ParaView\5.13.0-RC1-Windows-python3.10-msvc2017-AMD64/bin/paraview.exe simulation.foam".I pasted this but does not working
Hello sir, can you give me information about how openfoam works in parallel mode. I am using mpirun -np 8 simpleFoam -parallel command to use simpleFoam probelm in parallel mode using decomposePar (scotch: number of subdomain =8), but it shows the below error in windows terminal: Either request fewer slots for your application, or make more slots available for use. A "slot" is the Open MPI term for an allocatable unit where we can launch a process. The number of slots available are defined by the environment in which Open MPI processes are run: 1. Hostfile, via "slots=N" clauses (N defaults to number of processor cores if not provided) 2. The --host command line parameter, via a ":N" suffix on the hostname (N defaults to 1 if not provided) 3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.) 4. If none of a hostfile, the --host command line parameter, or an RM is present, Open MPI defaults to the number of processor cores In all the above cases, if you want Open MPI to default to the number of hardware threads instead of the number of processor cores, use the --use-hwthread-cpus option. In my PC i have 8GB RAM , 4 core and 8 logical processor.
@@DDFluids it was not work and shows the below error message: Open MPI has detected that a parameter given to a command line option does not match the expected format: Option: np Param: --use-hwthread-cpus This is frequently caused by omitting to provide the parameter to an option that requires one. Please check the command line and try again.
Add to the bashrc > (without >) In above line if we replace "alias paraviewWindows" with "alias paraFoam", than will it work? Have you tried? And videos are amazing & informative.
Thank you very much. However, when I type "notepad.exe ~/.bashrc" the message that bash: notepad.exe: command not found..." appears in the terminal. What could be the alternatives for it? Could you please suggest few ways to open notepad and trouble shoot my paraview issues.
same, not opening in notepad
alias paraviewWindows="touch simulation.foam && /mnt/C/Program\ Files/ParaView\5.13.0-RC1-Windows-python3.10-msvc2017-AMD64/bin/paraview.exe simulation.foam".I pasted this but does not working
Hello sir, can you give me information about how openfoam works in parallel mode. I am using mpirun -np 8 simpleFoam -parallel command to use simpleFoam probelm in parallel mode using decomposePar (scotch: number of subdomain =8), but it shows the below error in windows terminal:
Either request fewer slots for your application, or make more slots
available for use.
A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the environment in which Open MPI processes are run:
1. Hostfile, via "slots=N" clauses (N defaults to number of
processor cores if not provided)
2. The --host command line parameter, via a ":N" suffix on the
hostname (N defaults to 1 if not provided)
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
4. If none of a hostfile, the --host command line parameter, or an
RM is present, Open MPI defaults to the number of processor cores
In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the --use-hwthread-cpus option.
In my PC i have 8GB RAM , 4 core and 8 logical processor.
mpirun -np --use-hwthread-cpus 8 simpleFoam -parallel
@@DDFluids it was not work and shows the below error message:
Open MPI has detected that a parameter given to a command line
option does not match the expected format:
Option: np
Param: --use-hwthread-cpus
This is frequently caused by omitting to provide the parameter
to an option that requires one. Please check the command line and try again.
Try placing that extra parameter at the end of the command
Thank you so much!
I can't find the zshrc file. Could you helpe me?
Add to the bashrc > (without >)
In above line if we replace "alias paraviewWindows" with "alias paraFoam", than will it work? Have you tried?
And videos are amazing & informative.
There are chances to clash with the existing paraFoam command. But you can name it "ParaFoam" capital P.
Yes.. it is working.. much easier now.. no need to remember one more command
@@DDFluids I will change it .. thanks for the advice