"Preprocessing stage required but no mesh is given"

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: "Preprocessing stage required but no mesh is given"

Post by Yvan Fournier »

Hello,

Ok this joins the list of issues related with Salome installs...

Did you install code_saturne from a salome shell or salime context session ? In this case you may need to run it from a similar session.
If this is not the case your config.lig might help.

Regards,

Yvan
senartcon
Posts: 37
Joined: Wed May 08, 2013 6:46 pm

Re: "Preprocessing stage required but no mesh is given"

Post by senartcon »

Hello Yvan,

I have attached my setup and config.log.
code_saturne was installed without SALOME support.

Anand
Attachments
setup.txt
(4.33 KiB) Downloaded 151 times
config.log
(206.22 KiB) Downloaded 157 times
Erwan Le Coupanec
Posts: 45
Joined: Sun Sep 08, 2013 8:50 pm

Re: "Preprocessing stage required but no mesh is given"

Post by Erwan Le Coupanec »

Hello,

Apparently, hdf5 was found by configure.
Could you please post the preprocessor.log you mentioned in an earlier post ?

Cheers,
Erwan
senartcon
Posts: 37
Joined: Wed May 08, 2013 6:46 pm

Re: "Preprocessing stage required but no mesh is given"

Post by senartcon »

Hello Yvan,

unfortunately I have not yet seen a proprocessor.log in the outputs in the present install.
The list of files as of now are

Code: Select all

listing
run_solver
run_status.failed
summary
MiddleStove.xml
setup.xml
Anand
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: "Preprocessing stage required but no mesh is given"

Post by Yvan Fournier »

Hello,

I'll try to reproduce this on a virtual machine.

In the meantime, could you try adding this to your environment (either in the runcase before "code_saturne run" or directly in your terminal) ?

Code: Select all

export LD_LIBRARY_PATH=/home/anands/Documents/SALOME/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/hdf5/lib:$LD_LIBRARY_PATH
Regards,

Yvan
senartcon
Posts: 37
Joined: Wed May 08, 2013 6:46 pm

Re: "Preprocessing stage required but no mesh is given"

Post by senartcon »

Hello Yvan!

Good news! Finally I am able to run code_saturne from terminal.
Adding the path you gave from terminal worked; adding in the runcase has no effect.

But, I am unable to run in parallel from terminal, although I save the case in GUI, setting the Number of threads to 8.

Anand
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: "Preprocessing stage required but no mesh is given"

Post by Yvan Fournier »

Hello,

Adding in the runcase must work if running from a terminal does.

Could you post your runcase ? Are you running the runcase or "code_saturne run" (in which case you are not using the runcase) ?

Regards,

Yvan
senartcon
Posts: 37
Joined: Wed May 08, 2013 6:46 pm

Re: "Preprocessing stage required but no mesh is given"

Post by senartcon »

Hello Yvan,

I just realized the runcase can be executed as such, of course with the path you gave!
In this case running parallel is possible (because of the "--nprocs 8" therein)

I would consider this problem is solved although I am unable to run from GUI.
Yet, code_saturne is fully functional to setup using GUI and run from the terminal.
If you want me to test few more things, I would do.

Thanks for your great help all this way!!

Anand
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: "Preprocessing stage required but no mesh is given"

Post by Yvan Fournier »

Hello,

OK, good news. It is still strange (even if not so important) that it does not run from the GUI (which should simply run the "runcase" file). Do you have error messages in the console from which the GUI is run when trying that ?

Best regards,

Yvan
senartcon
Posts: 37
Joined: Wed May 08, 2013 6:46 pm

Re: "Preprocessing stage required but no mesh is given"

Post by senartcon »

Hello Yvan,

Earlier, all I got was blank console - no message!

Strangely now, when I ran using GUI, it issued no errors at the console and was well behaved!
When I removed the "export LD_LIBRARY_PATH ...", the simulation at GUI was again running good and upon refreshing the "runcase", the removed "LD_LIBRARY_PATH" was written there.

I moved to a totally different case that ran successfully in the previous ubuntu - code_saturne install.
Upon running the simulation for this case from GUI, the same behavior of blank-console returned.
The added "LD_LIBRARY_PATH" in the runcase got removed.

So for the new case, I again added "LD_LIBRARY_PATH" and started the simulation from terminal using ./runcase.
The simulation was running! From GUI too the simulation was running and the runcase has the "LD_LIBRARY_PATH"!
So in short, I should execute the runcase with added "LD_LIBRARY_PATH".

Anand
Post Reply