{"action":"created","issue":{"url":"https://api.github.com/repos/tlycken/Interpolations.jl/issues/81","labels_url":"https://api.github.com/repos/tlycken/Interpolations.jl/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/tlycken/Interpolations.jl/issues/81/comments","events_url":"https://api.github.com/repos/tlycken/Interpolations.jl/issues/81/events","html_url":"https://github.com/tlycken/Interpolations.jl/issues/81","id":111520259,"number":81,"title":"Exporting Change with @everywhere","user":{"login":"SloanLindsey","id":14302386,"avatar_url":"https://avatars.githubusercontent.com/u/14302386?v=3","gravatar_id":"","url":"https://api.github.com/users/SloanLindsey","html_url":"https://github.com/SloanLindsey","followers_url":"https://api.github.com/users/SloanLindsey/followers","following_url":"https://api.github.com/users/SloanLindsey/following{/other_user}","gists_url":"https://api.github.com/users/SloanLindsey/gists{/gist_id}","starred_url":"https://api.github.com/users/SloanLindsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SloanLindsey/subscriptions","organizations_url":"https://api.github.com/users/SloanLindsey/orgs","repos_url":"https://api.github.com/users/SloanLindsey/repos","events_url":"https://api.github.com/users/SloanLindsey/events{/privacy}","received_events_url":"https://api.github.com/users/SloanLindsey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-15T00:20:14Z","updated_at":"2015-10-15T00:36:46Z","closed_at":null,"body":"I'm not sure where this problem is occurring but it seems localized to Interpolations. \r\nI'm using pmap to execute numerous sub-tasks and I use @everwhere include(\"task_execution.jl\").\r\nTwo places in task_execution in different sub-files an interpolator is created by calling \r\n```jl\r\nusing Interpolations\r\n```\r\nand then going through the specification. This has worked for a couple of days, but I restarted my repl and ran Pkg.update() and now something weird is happening.\r\n\r\nI get the following warning for each of the worker tasks\r\nWARNING: replacing module Interpolations\r\nWARNING: replacing module Interpolations\r\n\r\nand then finally I get this: \r\nERROR: LoadError: On worker 2:\r\n...,LoadError(\"C:\\\\dev\\\\julia\\\\.julia\\\\v0.4\\\\Interpolations\\\\src\\\\Interpolations.jl\",88,LoadError(\"C:\\\\dev\\\\julia\\\\.julia\\\\v0.4\\\\Interpolations\\\\src\\\\scaling/scaling.jl\",161,UndefVarError(:Quadratic)))))\r\n\r\n in include_string at loading.jl:233\r\n in include_from_node1 at loading.jl:274\r\n in include_string at loading.jl:233\r\n in include_from_node1 at loading.jl:274\r\n in require at loading.jl:210\r\n in include_string at loading.jl:233\r\n in include_from_node1 at loading.jl:274\r\n in include_string at loading.jl:233\r\n in include_from_node1 at loading.jl:274\r\n in eval at sysimg.jl:14\r\n in anonymous at multi.jl:1350\r\n in anonymous at multi.jl:892\r\n in run_work_thunk at multi.jl:645\r\n [inlined code] from multi.jl:892\r\n in anonymous at task.jl:68\r\n in remotecall_fetch at multi.jl:731\r\n\r\n...and 3 other exceptions.\r\n\r\n in sync_end at task.jl:414\r\n in anonymous at multi.jl:1361\r\n in include at boot.jl:260\r\n in include_from_node1 at loading.jl:271\r\n\r\nRunning the load again changes the file that's missing.\r\nHopefully this is enough to identify what is happening. In the mean time I will work on making a dedicated test case.\r\n"},"comment":{"url":"https://api.github.com/repos/tlycken/Interpolations.jl/issues/comments/148241676","html_url":"https://github.com/tlycken/Interpolations.jl/issues/81#issuecomment-148241676","issue_url":"https://api.github.com/repos/tlycken/Interpolations.jl/issues/81","id":148241676,"user":{"login":"SloanLindsey","id":14302386,"avatar_url":"https://avatars.githubusercontent.com/u/14302386?v=3","gravatar_id":"","url":"https://api.github.com/users/SloanLindsey","html_url":"https://github.com/SloanLindsey","followers_url":"https://api.github.com/users/SloanLindsey/followers","following_url":"https://api.github.com/users/SloanLindsey/following{/other_user}","gists_url":"https://api.github.com/users/SloanLindsey/gists{/gist_id}","starred_url":"https://api.github.com/users/SloanLindsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SloanLindsey/subscriptions","organizations_url":"https://api.github.com/users/SloanLindsey/orgs","repos_url":"https://api.github.com/users/SloanLindsey/repos","events_url":"https://api.github.com/users/SloanLindsey/events{/privacy}","received_events_url":"https://api.github.com/users/SloanLindsey/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T00:36:46Z","updated_at":"2015-10-15T00:36:46Z","body":"I have built a minimal test case to demonstrate.\r\n\r\n```jl\r\n#work_file.jl\r\n\r\nusing Interpolations\r\n\r\nfunction run_demo2D(counter)\r\n  println(\"This is task: $counter\")\r\n  A = rand(8,20)\r\n  knots = ([x^2 for x = 1:8], [0.2y for y = 1:20])\r\n  itp = interpolate(knots, A, Gridded(Linear()))\r\n  itp[4,1.2]  # approximately A[2,6]\r\nend\r\n```\r\n\r\n```jl\r\n#calling_file.jl\r\n@everywhere include(\"work_file.jl\")\r\n\r\nfunction test_things(some_number)\r\n  run_vector = collect(1:some_number)\r\n  results = pmap(run_demo2D, run_vector)\r\n  println(\"$results\")\r\nend\r\n```\r\n\r\nthen from the repl started with -p 4 (4 worker threads)\r\n\r\n```jl\r\njulia> include(\"calling_file.jl\")\r\nWARNING: replacing module Interpolations\r\nWARNING: replacing module Interpolations\r\nWARNING: replacing module Interpolations\r\nWARNING: replacing module Interpolations\r\nERROR: LoadError: On worker 5:\r\nLoadError: LoadError: LoadError: SystemError: opening file C:\\dev\\julia\\.julia\\v0.4\\Interpolations\\src\\extrapolation\\prefiltering.jl: No suc\r\nh file or directory\r\n in open at iostream.jl:90\r\n in open at iostream.jl:112\r\n in readall at io.jl:262\r\n in anonymous at multi.jl:892\r\n in run_work_thunk at multi.jl:645\r\n [inlined code] from multi.jl:892\r\n in anonymous at task.jl:63\r\n in remotecall_fetch at multi.jl:731\r\n in remotecall_fetch at multi.jl:734\r\n in include_from_node1 at loading.jl:307\r\n in include_string at loading.jl:266\r\n in include_from_node1 at loading.jl:307\r\n in include_string at loading.jl:266\r\n in include_from_node1 at loading.jl:307\r\n in require at loading.jl:243\r\n in include_string at loading.jl:266\r\n in include_from_node1 at loading.jl:307\r\n in eval at sysimg.jl:14\r\n in anonymous at multi.jl:1350\r\n in anonymous at multi.jl:892\r\n in run_work_thunk at multi.jl:645\r\n [inlined code] from multi.jl:892\r\n in anonymous at task.jl:63\r\nwhile loading C:\\dev\\julia\\.julia\\v0.4\\Interpolations\\src\\extrapolation/extrapolation.jl, in expression starting on line 80\r\nwhile loading C:\\dev\\julia\\.julia\\v0.4\\Interpolations\\src\\Interpolations.jl, in expression starting on line 65\r\nwhile loading C:\\dev\\parallel_interpolations_demo\\work_file.jl, in expression starting on line 2\r\n in remotecall_fetch at multi.jl:731\r\n in sync_end at task.jl:413\r\n in anonymous at multi.jl:1361\r\n in include at boot.jl:261\r\n in include_from_node1 at loading.jl:304\r\nwhile loading C:\\dev\\parallel_interpolations_demo\\calling_file.jl, in expression starting on line 1\r\n```\r\n\r\nOf course I cannot seem to duplicate the functioning case when everything was working. Is there an elegant way to backlevel to earlier package versions?  I know for sure that the old Tuple{} syntax was in use until I updated today.\r\n\r\nThanks,\r\nSloan"}}