*.run files in mac

289 views
Skip to first unread message

Rafael Arenas

unread,
Mar 14, 2015, 10:57:39 PM3/14/15
to am...@googlegroups.com
Hi guys!

I'm trying ru run an AMPL batch file from a mac terminal.

This is the problem:

______

MacBook-Pro-de-Rafael:ampl_macosx64 rafaelarenas$ ./ampl DMGBv0.run;

can't open DMGBv0.run

______

DMGBv0.run is in the same directory ampl_macosx64.
Model works fine when executed from AMPL environment, but I need to add some outputs...


Could anybody help me?

Robert Fourer

unread,
Mar 16, 2015, 4:04:22 PM3/16/15
to am...@googlegroups.com
What you are typing in the Mac Terminal Window is not an AMPL command, so you may need to remove the ";" from the end. But if that is not the problem, then try posting a screenshot of the window that shows the contents of folder ampl_macosx64; that might give a clue.

Bob Fourer
am...@googlegroups.com

=======

Rafael Arenas

unread,
Mar 16, 2015, 7:12:28 PM3/16/15
to am...@googlegroups.com, 4...@ampl.com
Thnx Bob,

That wasn't the problem. I realized that the .run file had, by mistake, a double extension (".run.mod"), which was't visible from Finder.

I fixed it and works great!

Rafael.
Reply all
Reply to author
Forward
0 new messages