(in libkernel) the module to deal with mpi
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nproc | = | 1 | number of total cores |
|
integer, | public | :: | my_rank | = | 0 | rank of the current core |
|
integer, | public | :: | ierror | mpi error information |
func write_message will also print in the log file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | log | the unit of the log file |
||
character(len=*), | intent(in) | :: | file | the path of the log file |
func write_message will not print in the log file
write message in the core with rank = 0
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | message | |||
character(len=*), | intent(in), | optional | :: | advance | the message to write, to trim |
write message in the core with rank = 0, keep replacing a line by a new message
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | message | the message to write, not to trim |
write message in the core with rank = 0, stop replacing a line by a new message
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | message | the message to write, not to trim |