Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Unix Support
 execution of mounted files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mcarter
New Member

22 Posts

Posted - Oct 27 2008 :  09:38:43 AM  Show Profile  Reply with Quote

Im unable to locally execute scripts from volumes mounted through sshfs. I was able to as late as last Friday. Anyone else seeing this? Is there a way we can fix it?

McKell

francis.favorini
Forum Admin

USA
618 Posts

Posted - Oct 27 2008 :  12:27:21 PM  Show Profile  Visit francis.favorini's Homepage  Reply with Quote
Where are the scripts located? Where are you running them? Check the permissions on the file(s) to be sure you have access. Can you read the file(s)? Try re-mounting the volume. Make sure nothing else has the file(s) locked open.

-Francis

IT Director, Brain Imaging and Analysis Center
Go to Top of Page

mcarter
New Member

22 Posts

Posted - Oct 27 2008 :  12:34:17 PM  Show Profile  Reply with Quote
The files are located on Goldman, I am attempting to execute them on my local machine. ls gives the permissions for the file as owned by root and read/writeable but not executable. chmod u+x file.py doesn't give an error but also doesnt change the listed permissions. The file isnt open anywhere. I can run the same file if I bring it to my local machine and change the permissions.

McKell
Go to Top of Page

mcarter
New Member

22 Posts

Posted - Oct 27 2008 :  12:35:18 PM  Show Profile  Reply with Quote

Forgot to mention that Ive tried on two machines with reboots between attempts.
Go to Top of Page

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Oct 27 2008 :  12:46:09 PM  Show Profile  Reply with Quote
In cases where you have scripts, you can usually run them like this:

python file.py

perl file.pl

bash file.sh

and you don't have to worry whether the executable bit is set. I have noticed sometimes it's hard to get binary executables to run from mounted file systems on the cluster, but I don't know yet under what conditions it doesn't work.
Go to Top of Page

mcarter
New Member

22 Posts

Posted - Oct 27 2008 :  1:00:06 PM  Show Profile  Reply with Quote
ach, apologies. I was trying to run things from a prompt rather than scripted and had left the "python " off, with "python " it works.

Thanks,
McKell
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000