Page 1 of 1
Problem of parallel run for codesaturne 3.0
Posted: Mon Nov 19, 2012 12:20 pm
by yhuang
Hello,everyone
I want to known how to set the number of processors without the GUI for codesaturne 3.0?
The number of processors can be set by "NUMBER OF PROCESSORS" in the runcase for codesaturne 2.0.
Thanks very much!
Yuan Huang
Re: Problem of parallel run for codesaturne 3.0
Posted: Mon Nov 19, 2012 5:36 pm
by Yvan Fournier
Hello,
In DATA, copy "REFERENCE/cs_user_scripts.py" to ".", and adapt it to your needs (but If you are not using the GUI, I assume you are already usinh this file. The definition of the number of processors is in there, near the end of the example file).
Regards,
Yvan
Re: Problem of parallel run for codesaturne 3.0
Posted: Tue Nov 20, 2012 11:36 am
by yhuang
Yvan Fournier wrote:Hello,
In DATA, copy "REFERENCE/cs_user_scripts.py" to ".", and adapt it to your needs (but If you are not using the GUI, I assume you are already usinh this file. The definition of the number of processors is in there, near the end of the example file).
Regards,
Yvan
Hello
I set the number of processors by "case.n_procs" in cs_user_scripts.py, but there is error.
Can you tell me the detail?
Thank you!
Yuan Huang
Re: Problem of parallel run for codesaturne 3.0
Posted: Tue Nov 20, 2012 7:27 pm
by Yvan Fournier
Hello,
Are you using a batch system ? What is the error ?
Regards,
Yvan