test_is_cpu_online.f90 Source File


This file depends on

sourcefile~~test_is_cpu_online.f90~~EfferentGraph sourcefile~test_is_cpu_online.f90 test_is_cpu_online.f90 sourcefile~forclust.f90 forclust.f90 sourcefile~test_is_cpu_online.f90->sourcefile~forclust.f90

Contents


Source Code

!> author: Seyed Ali Ghasemi
program test

   use :: forclust

   implicit none

   type(cluster) :: my_pc

   call my_pc%select()
     call my_pc%node(1)%select()
     call my_pc%node(1)%set_debug('off')
       call my_pc%node(1)%cpu(:)%set_debug('on')
       call my_pc%node(1)%cpu(:)%is_online()

       call my_pc%node(1)%cpu(:)%set_debug('off')
       call my_pc%node(1)%cpu(:)%is_online()
   call my_pc%deselect()

end program test