CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

Installation error

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2021, 03:15
Default Installation error
  #1
New Member
 
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 2
danjm is on a distinguished road
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.
danjm is offline   Reply With Quote

Old   April 15, 2021, 03:59
Default M 10 inconsistency error fix suggestion
  #2
New Member
 
Weizhi
Join Date: Mar 2016
Location: Norway
Posts: 4
Rep Power: 8
Chalwwz is on a distinguished road
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
jay@nio likes this.
Chalwwz is offline   Reply With Quote

Old   April 15, 2021, 04:16
Default
  #3
Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 99
Rep Power: 10
kamath is on a distinguished road
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.
jay@nio likes this.
__________________
Arun
Team REEF3D
www.reef3d.com
kamath is offline   Reply With Quote

Old   April 18, 2021, 10:18
Default
  #4
New Member
 
Baran
Join Date: Apr 2021
Posts: 3
Rep Power: 2
BaranOz is on a distinguished road
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
BaranOz is offline   Reply With Quote

Old   April 19, 2021, 08:39
Default
  #5
Senior Member
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 145
Rep Power: 14
valgrinda is on a distinguished road
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".
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   April 30, 2021, 10:39
Default
  #6
New Member
 
Baran
Join Date: Apr 2021
Posts: 3
Rep Power: 2
BaranOz is on a distinguished road
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
BaranOz is offline   Reply With Quote

Old   April 30, 2021, 13:09
Default
  #7
Senior Member
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 145
Rep Power: 14
valgrinda is on a distinguished road
My recommendation is to use a many MPI processes as you have physical cores. Adding virtual threads increases overhead but not the computational speed.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   April 30, 2021, 13:13
Default
  #8
New Member
 
Baran
Join Date: Apr 2021
Posts: 3
Rep Power: 2
BaranOz is on a distinguished road
I'll do so. Thanks so much.
Baran
BaranOz is offline   Reply With Quote

Old   June 1, 2021, 05:17
Default
  #9
New Member
 
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 2
danjm is on a distinguished road
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.
danjm is offline   Reply With Quote

Old   June 2, 2021, 06:08
Default
  #10
Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 99
Rep Power: 10
kamath is on a distinguished road
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
Team REEF3D
www.reef3d.com
kamath is offline   Reply With Quote

Old   June 2, 2021, 08:47
Default
  #11
New Member
 
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 2
danjm is on a distinguished road
Thanks kamath, the simulation does not seem to be running. I will look into the matter. Thank you for the reply
danjm is offline   Reply With Quote

Old   June 2, 2021, 17:26
Default
  #12
Senior Member
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 145
Rep Power: 14
valgrinda is on a distinguished road
Could you send me the setup to have a look? Thanks.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   June 3, 2021, 02:09
Default
  #13
New Member
 
Johor
Join Date: Apr 2021
Posts: 4
Rep Power: 2
danjm is on a distinguished road
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.
danjm is offline   Reply With Quote

Old   June 3, 2021, 02:23
Default
  #14
Senior Member
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 145
Rep Power: 14
valgrinda is on a distinguished road
Thanks. Can you try version 21.05? Also, could you send me your control files?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   June 5, 2021, 03:00
Default Can't overcome the M 10 inconsistent parameter
  #15
New Member
 
Dean
Join Date: Jun 2021
Posts: 4
Rep Power: 2
djsdiver is on a distinguished road
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
Attached Images
File Type: png DiveMESH run.png (21.4 KB, 13 views)
File Type: png reef3d run.png (36.0 KB, 14 views)
File Type: png test1.png (24.9 KB, 9 views)
djsdiver is offline   Reply With Quote

Old   June 6, 2021, 11:43
Default
  #16
Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 99
Rep Power: 10
kamath is on a distinguished road
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
Team REEF3D
www.reef3d.com
kamath is offline   Reply With Quote

Old   June 7, 2021, 07:35
Default M10 error when running reef3d
  #17
New Member
 
Dean
Join Date: Jun 2021
Posts: 4
Rep Power: 2
djsdiver is on a distinguished road
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.
Attached Images
File Type: png reef3d run.png (82.9 KB, 22 views)
djsdiver is offline   Reply With Quote

Old   June 7, 2021, 09:38
Default
  #18
Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 99
Rep Power: 10
kamath is on a distinguished road
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
Team REEF3D
www.reef3d.com
kamath is offline   Reply With Quote

Old   June 8, 2021, 08:16
Default M10 error when running reef3d
  #19
New Member
 
Dean
Join Date: Jun 2021
Posts: 4
Rep Power: 2
djsdiver is on a distinguished road
Hi Arun,

As requested.

Regards,

Dean
Attached Images
File Type: png reef3d run ll.png (34.9 KB, 20 views)
djsdiver is offline   Reply With Quote

Old   June 16, 2021, 06:11
Default
  #20
Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 99
Rep Power: 10
kamath is on a distinguished road
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
Team REEF3D
www.reef3d.com
kamath is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:05.