Shared Library issues when running over SSH (linux) -
i having difficulty running jobs on ssh. have series of networked machines have access same home folder (when executable installed). while working on 1 machine able run code through ssh using following sort of command:
ssh -q executabledir/myexecutable inputdir/myinput if ssh in of machines wish run job on remotely , run:
executabledir/myexecutable inputdir/myinput it runs without fail, when run through ssh error saying shared libraries can't found. has come across sort of thing before?
ok figured out myself. seems when run things through ssh in way shown above don't inherit path variables etc. if ssh-ed in 'properly'. can see running:
ssh remotemachine printenv and comparing output if connected remote machine. solution went run following:
ssh -q executabledir/myexecutable source ~/.bash_profile && inputdir/myinput which gets paths , stuff might need bash_profile file on remote machine
Comments
Post a Comment