Opened 5 years ago

Closed 4 years ago

#5912 closed defect (fixed)

problem running Montecarlo script from OMEdit

Reported by: Olena Rogovchenko Owned by: Adeel Asghar
Priority: high Milestone: 1.17.0
Component: OMEdit Version:
Keywords: Cc:

Description

This script used to work in the old version of OMEdit and runs fine from command line, but gives a
'Error: Fel vid bygge av simulator. Loggfil: /bin/sh: gmake: command not found' error

Attachments (4)

HeatedTank_2019.v7.1_modes_def_exclusifs_ou_non.mo (34.5 KB ) - added by Olena Rogovchenko 5 years ago.
run2.mos (1.9 KB ) - added by Olena Rogovchenko 5 years ago.
HeatedTank_2019.HeatedTank_with_failures.system.log (28.7 KB ) - added by Olena Rogovchenko 5 years ago.
run3.mos (2.0 KB ) - added by Adeel Asghar 5 years ago.

Download all attachments as: .zip

Change History (11)

by Olena Rogovchenko, 5 years ago

by Olena Rogovchenko, 5 years ago

Attachment: run2.mos added

comment:1 by Adrian Pop, 5 years ago

Is this on MacOs?

comment:2 by Adeel Asghar, 5 years ago

Works fine on my machine.
Seems like some issue on your PATH. Do you have gmake installed and is it on PATH?

comment:3 by Adeel Asghar, 5 years ago

Component: *unknown*OMEdit
Milestone: Future1.16.0

comment:4 by Olena Rogovchenko, 5 years ago

Ok maybe my error is not representative, I do not care about this running for me, I use it command line (it just used to work before), but I attached the log Marc gets when running on Windows, can you take a look at that?

by Adeel Asghar, 5 years ago

Attachment: run3.mos added

comment:5 by Adeel Asghar, 5 years ago

Try the attached script. The problem is that script is changing the working directory so it will fail next time you try to run it. I updated it to save the current directory path and restore it at the end of the script.

Basically you need to consider other things as well like if there are any command line flags are set or not.

comment:6 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:7 by Adeel Asghar, 4 years ago

Resolution: fixed
Status: newclosed

As I remember now we had a web meeting regarding this and solved the issue. If you still have a issue then feel free to reopen.

Note: See TracTickets for help on using tickets.