[julia-users] Re: suppress deprecation warnings on all workers? (julia 0.4.3)
Nevermind. It was right there. For anyone reading this later, what I was looking for was: addprocs(num_procs, exeflags="--depwarn=no") (However, if there is a way to set depwarn=no in the code, that would still be valuable.) Thanks. Ryan On Wednesday, March 16, 2016 at 9:52:47 AM UTC-4, Ryan Gardner wrote: > > I was running with --depwarn=no to suppress deprecation warnings. Now I'm > parallelizing, and the warnings still seem to be printed for all the > workers (which is probably making everything super slow - they are printed > every single time they are hit, not just at parsing or compilation). > > Anyone know how to fix this? Is there a way I can disable the deprecation > warnings in the code itself. This would be ideal compared to the julia > command-line options anyway. > > (Yes, I would _love_ to fix all the warnings, but it's not an option. I > don't control the code being run, and there are a zillion of them. > Similarly, I'd love to upgrade to the latest and greatest julia, but then > this code that I'm using completely breaks, so that's not an option either.) > > Thanks. >
[julia-users] Re: suppress deprecation warnings
Hello, On Thursday, September 17, 2015 at 7:28:10 PM UTC+2, Michael Francis wrote: > > How can I suppress the printing of deprecation warnings in 0.4? I need to > temporarily suppress these so that I can see the wood for the trees. > I think I have the same request: is there a way to disable warnings in included packages, so that I can more easily find the deprecation warnings in my own code? There are lots of these for julia 0.4-rc in popular packages like DataFrames and NumericFuns. Something like: Module MyModule Global.warming = False ## oops, typo using FossilFuels using TeaParty Global.warming = True ## MyModule code starts here Cheers, ---david
[julia-users] Re: suppress deprecation warnings
Sorry about that, my bad for not testing before replying. It appears the recently added binding deprecations don't yet respect the --depwarn flag but that should be fixed soon with https://github.com/JuliaLang/julia/pull/13269 which should get backported to RC3. On Thursday, September 17, 2015 at 11:03:15 AM UTC-7, Tony Kelman wrote: > > start julia with --depwarn=no > > On Thursday, September 17, 2015 at 10:28:10 AM UTC-7, Michael Francis > wrote: >> >> How can I suppress the printing of deprecation warnings in 0.4? I need to >> temporarily suppress these so that I can see the wood for the trees. >> >
[julia-users] Re: suppress deprecation warnings
start julia with --depwarn=no On Thursday, September 17, 2015 at 10:28:10 AM UTC-7, Michael Francis wrote: > > How can I suppress the printing of deprecation warnings in 0.4? I need to > temporarily suppress these so that I can see the wood for the trees. >