logical set,alarm
set = .false.
set = .true.
if(.not.set) then
logical first,set
need to be set correctly.