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
Problem of parallel run for codesaturne 3.0
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Problem of parallel run for codesaturne 3.0
Last edited by yhuang on Tue Nov 20, 2012 4:51 am, edited 1 time in total.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Problem of parallel run for codesaturne 3.0
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
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
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
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Problem of parallel run for codesaturne 3.0
Hello,
Are you using a batch system ? What is the error ?
Regards,
Yvan
Are you using a batch system ? What is the error ?
Regards,
Yvan