|
[Sponsors] |
April 15, 2021, 03:15 |
Installation error
|
#1 |
New Member
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 5 |
Good day to all, I'm currently facing some problems with running the program. The error reads: “ !!! Inconsistent M 10 parameter, needs to be the same REEF3D and DIVEMesh !
!!! please check the manual!” However, I have followed the step-by-step installation guide with make -j 2 since my pc has 2 cores but I still failed to run the program. I have created both ctrl.txt and control.txt files with the same M 10 parameters (using 2, M 10 2) in the same directory. Hope I have given enough information. Thank you and hope to get some guidance. |
|
April 15, 2021, 03:59 |
M 10 inconsistency error fix suggestion
|
#2 |
Super Moderator
Widar W Wang
Join Date: Mar 2016
Location: Norway
Posts: 17
Rep Power: 11 |
Hi, thanks for your question. It is correct that you use the same M 10 in both control.txt and ctrl.txt.
Some considerations that might help to identify the problem: 1) while you execute reef3d, did you also use the number of core of 2: mpirun -n 2 reef3d? 2) did you have the executables DIVEMesh and reef3d in the same directory as the control.txt and ctrl.txt 3) did you execute DIVEMesh first ./DIVEMesh, then execute reef3d by mpirun -n 2 reef3d. Let us know if these considerations help Kind regards |
|
April 15, 2021, 04:16 |
|
#3 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
In addition,
1. also check if the grid-000..dat files are actually produced after you run Divemesh. (using the ls command) 2. Check the permissions and ownerships on the different files and executables (command: ll). your username (command whoami) should own the files, and there should be read, write execute access symbolised by -rwx- at the beginning of the output in front of the Divemesh and Reef3d executables, and atleast read and write -rw- for the grid files.
__________________
Arun X years with REEF3D |
|
April 18, 2021, 10:18 |
|
#4 |
New Member
Baran
Join Date: Apr 2021
Posts: 9
Rep Power: 5 |
Hi everyone,
I have the same problem, too. I tried to fix the errors by applying the suggestions above. However, nothing has changed. Also, when I execute mpirun -n 4 , outputs says that "There are not enough slots available in the system to satisfy the 4 slots that were requested by the application: reef3d 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. Alternatively, you can use the --oversubscribe option to ignore the number of available slots when deciding the number of processes to launch." Can anyone help me to fix this issue or tell me what to do. I tried many ways, but couldn't proceed. Thanks in advance, Baran |
|
April 19, 2021, 08:39 |
|
#5 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19 |
Baran, it sounds like you only have a 2-core machine? If that is the case, use M 10 2 in the control files and execute REEF3D by using "mpirun -n 2 reef3d".
|
|
April 30, 2021, 10:39 |
|
#6 |
New Member
Baran
Join Date: Apr 2021
Posts: 9
Rep Power: 5 |
Hi,
I figured out that the cpus have 2 core but 4 threads which can be used for the simulation by executing mpirun --use-hwthread-cpus reef3d. This way works smoothly. Thank you! Baran |
|
April 30, 2021, 13:09 |
|
#7 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19 |
My recommendation is to use a many MPI processes as you have physical cores. Adding virtual threads increases overhead but not the computational speed.
|
|
April 30, 2021, 13:13 |
|
#8 |
New Member
Baran
Join Date: Apr 2021
Posts: 9
Rep Power: 5 |
I'll do so. Thanks so much.
Baran |
|
June 1, 2021, 05:17 |
|
#9 |
New Member
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 5 |
Thanks for the mpirun suggestion, the incosistent M10 issue is solved, however it seemed that another error has popped up when I try to run the program using mpirun which shows
"1 more process has sent help message help-btl-vader.txt / cma-permission- denied Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages" and i'm at lost as to how to solve this. Any guidance is deeply appreciated. |
|
June 2, 2021, 06:08 |
|
#10 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
Hi Johor,
I have seen this error on WSL systems. But this seems to be more of a warning than an error as simulations proceed even when this warning appears. If your simulations are not running, there is some other cause.
__________________
Arun X years with REEF3D |
|
June 2, 2021, 08:47 |
|
#11 |
New Member
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 5 |
Thanks kamath, the simulation does not seem to be running. I will look into the matter. Thank you for the reply
|
|
June 2, 2021, 17:26 |
|
#12 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19 |
Could you send me the setup to have a look? Thanks.
|
|
June 3, 2021, 02:09 |
|
#13 |
New Member
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 5 |
https://imgur.com/a/lcJAyhi
Greetings Hans, I have uploaded a snip shot. Hope this helps, if not, let me know what else is needed. Thank you. |
|
June 3, 2021, 02:23 |
|
#14 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19 |
Thanks. Can you try version 21.05? Also, could you send me your control files?
|
|
June 5, 2021, 03:00 |
Can't overcome the M 10 inconsistent parameter
|
#15 |
New Member
Dean
Join Date: Jun 2021
Posts: 4
Rep Power: 5 |
Hi, I'm trying to get past the "Inconsistent M 10 parameter" issue as well, had no success with the offered solutions on this thread -
1. Running Ubuntu 20.04 LTS on a fresh clean install on Win10 WSL, no other apps other than DiveMESH, REEF3D and Paraview along with their dependencies. Running a iT-5820k CPU @ 3.30GHz, 32GB RAM, 6 cores, 12 logical processors 2. Fresh download and builds from the master files today, mpi, mpich, fortran, hypre, eigen, REEF3D and DiveMESH all built without errors. PATH statements for hypre and test1 directories added to and verified in .bashrc. I built both DiveMESH and REEF3D using make -j 6 for matching executables 3. The test case I'm using is the 2D Dam Break, both files have M10 4. DiveMESH runs fine and generates 4 grid files, CCE3D, Decomposition and NON-Uniform-Mesh txt files. The M 10 error comes up whether I run reef3d using 4 or 6 processors. Have changed the M10 value in both files to different numbers (6 or less) and re-run. Again, DiveMESH works fine, M10 error comes up when running reef3d I haven't tried re-building for my full 12 processors available, should I?? DiveMESH is ver. 21.04 and REEF3D is 21.05, where can I find REEF3D ver 21.04 to try, should I? Much appreciate any help, I love what this package can do |
|
June 6, 2021, 11:43 |
|
#16 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
Dear Dean,
You have M 10 4 in control and ctrl, that is fine. But you run with mpirun -n 6 reef3d. If you use M 10 4, the run using: mpirun -n 4 reef3d. If you want to use mpirun -n 6 reef3d then change M 10 to 6 in both control and ctrl Hope that helps.
__________________
Arun X years with REEF3D |
|
June 7, 2021, 07:35 |
M10 error when running reef3d
|
#17 |
New Member
Dean
Join Date: Jun 2021
Posts: 4
Rep Power: 5 |
Hi Arun,
Thanks, have tried as your suggest having double-checked that M10 value is the same in the control, ctrl and mpirun statement for reef3d. The same error message comes up - "Inconsistent M 10 parameter" etc.... Have attached another screenshot for reference, any other ideas? Regards, Dean. |
|
June 7, 2021, 09:38 |
|
#18 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
Could you type ll (small letters L L, no space).
That will display a list of files and the permissions. Let us see if it a permissions problem Could you upload a screenshot of that?
__________________
Arun X years with REEF3D |
|
June 8, 2021, 08:16 |
M10 error when running reef3d
|
#19 |
New Member
Dean
Join Date: Jun 2021
Posts: 4
Rep Power: 5 |
Hi Arun,
As requested. Regards, Dean |
|
June 16, 2021, 06:11 |
|
#20 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14 |
Hi Dean,
This fell off my radar. Unfortunately everything looks to be in order. There was another post on the forum where somehow a segmentation fault on a WSL system was somehow grid size dependent. So I can recommend two actions: 1. I see you have a slightly older version, compile the latest version (download, make -j 4) and copy it to test1. See if this already helps. 2. Check if varying the grid size makes a difference. Unfortunately since I cannot reproduce the error, this one is hard to diagnose
__________________
Arun X years with REEF3D |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam openfoam 7 installation problem | Andrea23 | OpenFOAM Community Contributions | 1 | February 17, 2020 19:11 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 21:30 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |