Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cwd not retained on SGE workers #7

Closed
bjarthur opened this issue Mar 19, 2014 · 0 comments
Closed

cwd not retained on SGE workers #7

bjarthur opened this issue Mar 19, 2014 · 0 comments

Comments

@bjarthur
Copy link
Collaborator

local workers have the same working directory as the master worker, but SGE workers remain in the users home directory. would be nice if they were at least consistent. i prefer the local behavior. let me know if the following console log is not clear.

[arthurb@h01u07 ~]$ cd ~
[arthurb@h01u07 ~]$ pwd
/home/arthurb
[arthurb@h01u07 ~]$ cd src
[arthurb@h01u07 src]$ pwd
/home/arthurb/src
[arthurb@h01u07 src]$ juliac
_
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" to list help topics
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.3.0-prerelease+2078 (2014-03-17 22:41 UTC)
/ |_'|||__'| | Commit 00ca83c* (1 day old master)
|__/ | x86_64-redhat-linux

julia> addprocs(1)
1-element Array{Any,1}:
2

julia> using ClusterManagers; addprocs(1, cman=SGEManager())
job id is 7264129, waiting for job to start ..............................
1-element Array{Any,1}:
3

julia> pwd()
"/home/arthurb/src"

julia> remotecall_fetch(2,pwd)
"/home/arthurb/src"

julia> remotecall_fetch(3,pwd)
"/home/arthurb"

julia> versioninfo()
Julia Version 0.3.0-prerelease+2078
Commit 00ca83c* (2014-03-17 22:41 UTC)
Platform Info:
System: Linux (x86_64-redhat-linux)
CPU: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm

julia> Pkg.status()
9 required packages:

  • ClusterManagers 0.0.1
  • DSP 0.0.1+ ifloor
  • Debug 0.0.0
  • Devectorize 0.2.1
  • Distributions 0.4.2
  • MAT 0.2.3
  • PyPlot 1.2.2
  • Stats 0.1.0
  • WAV 0.2.2
    11 additional packages:
  • ArrayViews 0.4.1
  • BinDeps 0.2.12
  • Color 0.2.8
  • HDF5 0.2.20
  • NumericExtensions 0.5.6
  • PDMats 0.1.1
  • Polynomial 0.1.1
  • PyCall 0.4.2
  • StatsBase 0.3.9
  • URIParser 0.0.1
  • Zlib 0.1.5

julia>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant