Skip to content

Commit b6b61f0

Browse files
authored
info->@info (#33)
1 parent 05b080f commit b6b61f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mpimanager.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,20 +223,20 @@ function Distributed.manage(mgr::MPIManager, id::Integer, config::WorkerConfig,
223223
end
224224
end
225225
elseif op == :deregister
226-
info("pid=$(getpid()) id=$id op=$op")
226+
@info("pid=$(getpid()) id=$id op=$op")
227227
# TODO: Sometimes -- very rarely -- Julia calls this `deregister`
228228
# function, and then outputs a warning such as """error in running
229229
# finalizer: ErrorException("no process with id 3 exists")""". These
230230
# warnings seem harmless; still, we should find out what is going wrong
231231
# here.
232232
elseif op == :interrupt
233233
# TODO: This should never happen if we rmprocs the workers properly
234-
info("pid=$(getpid()) id=$id op=$op")
234+
@info("pid=$(getpid()) id=$id op=$op")
235235
@assert false
236236
elseif op == :finalize
237237
# This is called from within a finalizer after deregistering; do nothing
238238
else
239-
info("pid=$(getpid()) id=$id op=$op")
239+
@info("pid=$(getpid()) id=$id op=$op")
240240
@assert false # Unsupported operation
241241
end
242242
end

0 commit comments

Comments
 (0)