×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Batch file termination

Batch file termination

Batch file termination

(OP)
Hi all

I am running batch files in the GUI. As often happens, something goes wrong, then you get the message "While processing.......an error has occured, should input be suspended?" or something like that. My question is, is there a way of knowing which command caused the failure? Sometimes the error message prior to this does not tell you what command has gone wrong. In the log file the batch commands themselves are not recorded, only the fact that a certain batch file was read in.

Can anyone suggest a way of doing this?
Thanks
Will

RE: Batch file termination

Read the jobname.err file in your working directory.  This should contain all warnings and errors for a batch run.

RE: Batch file termination

(OP)
The problem is that the error and warning messages don't always tell you specifically which command is causing the problem, sometimes they just give vague descriptions of, for example, a boolean operation that can't be run since an area is meshed. I can eventually work out where the problem is, after a bit of detective work, but I wondered if there was a quicker way?  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources