VMD-L Mailing List
From: Bennion, Brian (bennion1_at_llnl.gov)
Date: Wed Dec 20 2017 - 10:45:35 CST
- Next message: Vermaas, Joshua: "Re: Re: Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Previous message: Stephen Thomas: "Re: tcl script not executed when submitted using a slurm script"
- In reply to: Ashar Malik: "Re: tcl script not executed when submitted using a slurm script"
- Next in thread: Stephen Thomas: "Re: tcl script not executed when submitted using a slurm script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
The treatment of stdout depends on the job manager. The default for slurm is to print all stdout to a file "slurm-JOBID.out"
Brian
________________________________
From: owner-vmd-l_at_ks.uiuc.edu <owner-vmd-l_at_ks.uiuc.edu> on behalf of Ashar Malik <asharjm_at_gmail.com>
Sent: Wednesday, December 20, 2017 7:50:11 AM
To: John Stone; Stephen Thomas; VMD Mailing List
Subject: Re: vmd-l: tcl script not executed when submitted using a slurm script
Add to what John just said, clusters do not allow for STDOUT -- well at least in the cases I have seen.
It has to do with how its setup and not necessarily related to VMD.
You could redirect all the output of your script to a log file.
vmd -dispdev text -eofexit < run.tcl > vmd.log
This would redirect things to the log instead of them ending in a black hole (/dev/null)
On Thu, Dec 21, 2017 at 4:08 AM, John Stone <johns_at_ks.uiuc.edu<mailto:johns_at_ks.uiuc.edu>> wrote:
Most likely when you're running in your queueing system, it has no
input terminal. If you're running in such a scenario, you may instead
want to redirect your input to read from your script, and add the flag
-eofexit, e.g. like this:
vmd -dispdev text -eofexit < file.tcl
See:
http://www.ks.uiuc.edu/Research/vmd/vmd-1.9.3/ug/node246.html
More examples are here:
http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/14705.html
http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/8600.html
Best,
John
On Tue, Dec 19, 2017 at 10:55:17PM -0700, Stephen Thomas wrote:
> Hi,
>
> I am unable to run a tcl from vmd using the -e option. However, this works
> fine if I just run the command directly from bash. Here is a minimal
> example to reproduce the problem.
>
> Steps to reproduce:
> 1) run submit.sh
> 2) notice that the output does not contain the text "Running tcl script"
> as seen in run.tcl
>
> Can anyone suggest what I might be doing wrong?
>
> Thanks,
> Stephen Thomas.
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349<tel:217-244-3349> http://www.ks.uiuc.edu/Research/vmd/ -- Best, /A
- Next message: Vermaas, Joshua: "Re: Re: Re: How can I measure bond length with “name ** and resid **" in scripts?"
- Previous message: Stephen Thomas: "Re: tcl script not executed when submitted using a slurm script"
- In reply to: Ashar Malik: "Re: tcl script not executed when submitted using a slurm script"
- Next in thread: Stephen Thomas: "Re: tcl script not executed when submitted using a slurm script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]