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

An error occurred running the code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2022, 04:16
Default An error occurred running the code
  #1
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
When I used the example in Tutorials, there was an error in the last step, with the following error code.


WARNING: Linux kernel CMA support was requested via the
btl_vader_single_copy_mechanism MCA variable, but CMA support is
not available due to restrictive ptrace settings.

The vader shared memory BTL will fall back on another single-copy
mechanism if one is available. This may result in lower performance.

Local host: LAPTOP-VF066KCK
--------------------------------------------------------------------------

REEF3D (c) 2008-2021 Hans Bihs

:: Open-Source Hydrodynamics

v_211030

read ctrl

!!! Inconsistent M 10 parameter, needs to be the same in REEF3D and DIVEMesh !
!!! please check the manual!



--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 0 on
node LAPTOP-VF066KCK exiting improperly. There are three reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

3. this process called "MPI_Abort" or "orte_abort" and the mca parameter
orte_create_session_dirs is set to false. In this case, the run-time cannot
detect that the abort call was an abnormal termination. Hence, the only
error message you will receive is this one.

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).

You can avoid this message by specifying -quiet on the mpirun command line.
--------------------------------------------------------------------------
[LAPTOP-VF066KCK:00111] 3 more processes have sent help message help-btl-vader.txt / cma-permission-denied
[LAPTOP-VF066KCK:00111] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
changshuqi is offline   Reply With Quote

Old   February 7, 2022, 06:55
Default
  #2
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14
kamath is on a distinguished road
Hi Chang,

Your problem might arise from two causes.
1. As the error says, M 10 mismatch. You need to have M 10 4 in both files, ctrl.txt and control.txt. Then you have to issue the command- mpirun -n 4 ree3fd.


2. The hardware of your computer. Are you sure you have 4 physical cores available? You could check this by slowly increasing the number of cores.
First, use M 10 1 in control, ctrl files and use mpirun -n 1 reef3d.
Then M 10 2 and check
Look at what stage you get the error.

That should help you figure out where the error is coming from.

Hope that helps!
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   February 9, 2022, 04:38
Default
  #3
New Member
 
shuqichang
Join Date: Feb 2022
Posts: 23
Rep Power: 5
changshuqi is on a distinguished road
I really appreciate your help.
I changed the value after M 10 according to your suggestion, but the result still showed the same error warning as before. I used the examples 8-14 in the Tutorials folder. I tried to use other examples. Some of the other examples would have worked under M 10 4, but this did not. The example originally provided an M 10 value of 256, which I changed to 1, 2, 3, 4, resulting in error warnings.
I don't know if it's my laptop that can't run the program. Thank you very much for your help.
changshuqi is offline   Reply With Quote

Reply


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
running mapFields in parallel mkhm OpenFOAM Pre-Processing 10 September 16, 2021 14:12
Running OpenFOAM using a C++ master code salehi144 OpenFOAM Running, Solving & CFD 1 August 10, 2014 05:14
Error in CFX Solver Leuchte CFX 5 November 6, 2010 07:12
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 16:56
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 09:10


All times are GMT -4. The time now is 01:00.