CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   REEF3D (https://www.cfd-online.com/Forums/reef3d/)
-   -   no 'control.txt' file (https://www.cfd-online.com/Forums/reef3d/244449-no-control-txt-file.html)

cargeo95 August 9, 2022 00:58

no 'control.txt' file
 
2 Attachment(s)
Hello,

I did all the steps but at the end I try to run any example and I get it:


no 'control.txt' file
!!! missing input parameter in control.txt !!!
!!! please check the DIVEMesh User Guide !!!

Can you help me? I don't understand

Attachment 91083

Attachment 91084

kamath August 9, 2022 04:45

Hi Carlos,

I guess you are using Ubuntu on Windows App for this?
Then I also guess you copy pasted the control and ctrl files from the Windows system to the Ubuntu home folder using the Windows explorer.

This will cause the files to have no permissions and therefore "not exist" in the Ubuntu universe.

You can check this by opening the Ubuntu App and navigating to the location of the files (in the Ubuntu app using the cd command, not the windows explorer) and then type:
Code:

ll
You will see a list of permissions next to the files in the folder.
Control.txt and ctrl.txt probably have just ------ next to them.

You can give these files read and write permissions using:

Code:

chmod u+rw control.txt
Code:

chmod u+rw ctrl.txt
This will provide the user (you) the read (r) and write (w) access and therefore programs you initiate can also read and write to these files.

This should sort your issue

cargeo95 August 9, 2022 09:38

Hi kamath,

you are amazing. It's working. Thank you a lot!

I already have another question.

when I was doing the installation I wrote "make all -j 4" but my pc has 6 core. How I can change this?

Thank you

kamath August 9, 2022 10:30

Thanks :)

If you have 6 physical cores, you can use

make -j 12

but for mpirun only -n 6

cargeo95 August 9, 2022 10:39

Thank you!

Now, I am struggling with paraview, but later i will comment first I try it alone.

Thank you a lot!


All times are GMT -4. The time now is 07:39.