Page 4 of 5
Re: "Preprocessing stage required but no mesh is given"
Posted: Thu Oct 31, 2019 3:02 pm
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Fri Nov 01, 2019 5:30 am
by senartcon
Hello Yvan,
I have attached my setup and config.log.
code_saturne was installed without SALOME support.
Anand
Re: "Preprocessing stage required but no mesh is given"
Posted: Fri Nov 01, 2019 6:52 pm
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Mon Nov 04, 2019 7:05 am
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Mon Nov 04, 2019 3:42 pm
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Tue Nov 05, 2019 7:43 am
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Tue Nov 05, 2019 9:35 am
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Tue Nov 05, 2019 10:01 am
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Tue Nov 05, 2019 1:41 pm
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
Re: "Preprocessing stage required but no mesh is given"
Posted: Wed Nov 06, 2019 11:23 am
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