I understand that we need @everywhere
before any functions or modules that we want to make available to all the processes. My question is if need to have @everywhere
before importing the SharedArrays module as well, i.e., @everywhere using SharedArrays
or just using SharedArrays
suffice? Both of them seems to be working fine, but what’s the correct way?
Refer to the discussion here.