public subroutine get_processor_name(name, namelen)
Retrieves the name of the processor
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
character(len=*),
|
intent(inout) |
|
|
:: |
name |
|
|
integer(kind=int32),
|
intent(out) |
|
|
:: |
namelen |
|
Variables
| Type |
Visibility | Attributes |
|
Name |
| Initial | |
|
integer(kind=int32),
|
private |
|
:: |
ierr |
|
|
|
Source Code
subroutine get_processor_name(name, namelen)
!! Retrieves the name of the processor
character(len=*), intent(inout) :: name
integer(int32), intent(out) :: namelen
integer(int32) :: ierr
name = "serial"
end subroutine get_processor_name