Menu

#26 YAML/action syntax launchJob.sh not working locally on Mac

1.0
closed
None
5
2014-12-01
2014-11-06
No

The BISON team seem to be experiencing issues executing the launchJob.sh script locally for generating YAML/action syntax. When the script is executed by NiCE, they receive bash errors:

/bin/bash: -c: line 1: syntax error: unexpected end of file

But when they execute the same script from the command line, it works fine.

Alex is able to successfully generate YAML/action syntax on a remote machine using his Mac, but should try it locally to see if he's experiencing the same error.

Related

MOOSE Bugs: #26

Discussion

  • Anna Wojtowicz

    Anna Wojtowicz - 2014-11-06

    Also possibly related is the fact that Danielle can execute mpirun from the command line, but not through NiCE.

     
  • Anna Wojtowicz

    Anna Wojtowicz - 2014-11-06

    Also also possible related, when Danielle launched a BISON problem locally using the MOOSE Launcher and imported a mesh file to use, BISON attempted to run the problem (ie. executing launchJob.sh worked), but BISON could not access the mesh file (file permission error).

    When she tried the exact same problem at the command line (pointing to the same files in the ICE workspace), it worked fine.

     
  • Alex McCaskey

    Alex McCaskey - 2014-11-10

    I tested this out with Bison locally on my Macbook. Looks like it works if instead of using semicolons to break the long execution string you use '\n' new line characters. I'll test that this change works on linux tomorrow.

    New problem arises here though. The files are correctly generated in jobs/iceLaunch_something. But they are left there, and when MooseLauncher goes to grab them in ICEFiles/default it misses them and nothing gets added to the MOOSE subdir.

     
    • Jay Jay Billings

      Please make sure this is tested with CAEBAT too.
      On Nov 10, 2014 5:52 PM, "Alex McCaskey" amccaskey@users.sf.net wrote:

      I tested this out with Bison locally on my Macbook. Looks like it works if
      instead of using semicolons to break the long execution string you use '\n'
      new line characters. I'll test that this change works on linux tomorrow.

      New problem arises here though. The files are correctly generated in
      jobs/iceLaunch_something. But they are left there, and when MooseLauncher
      goes to grab them in ICEFiles/default it misses them and nothing gets added
      to the MOOSE subdir.


      Status: open
      Milestone: 1.0
      Created: Thu Nov 06, 2014 10:19 PM UTC by Anna Wojtowicz
      Last Updated: Thu Nov 06, 2014 11:36 PM UTC
      Owner: Alex McCaskey

      The BISON team seem to be experiencing issues executing the launchJob.sh
      script locally for generating YAML/action syntax. When the script is
      executed by NiCE, they receive bash errors:

      /bin/bash: -c: line 1: syntax error: unexpected end of file

      But when they execute the same script from the command line, it works fine.

      Alex is able to successfully generate YAML/action syntax on a remote
      machine using his Mac, but should try it locally to see if he's
      experiencing the same error.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/niceproject/moosebugs/26/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      MOOSE Bugs: #26

  • Alex McCaskey

    Alex McCaskey - 2014-12-01

    Fixed this. Had incorrect escape chars in command string for Mac.

     
  • Alex McCaskey

    Alex McCaskey - 2014-12-01
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB