Opened 4 years ago

Closed 3 years ago

#5912 closed defect (fixed)

problem running Montecarlo script from OMEdit

Reported by: olero Owned by: adeas31
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 olero 4 years ago.
run2.mos (1.9 KB) - added by olero 4 years ago.
HeatedTank_2019.HeatedTank_with_failures.system.log (28.7 KB) - added by olero 4 years ago.
run3.mos (2.0 KB) - added by adeas31 4 years ago.

Download all attachments as: .zip

Change History (11)

Changed 4 years ago by olero

comment:1 Changed 4 years ago by adrpo

Is this on MacOs?

comment:2 Changed 4 years ago by adeas31

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

comment:3 Changed 4 years ago by adeas31

  • Component changed from *unknown* to OMEdit
  • Milestone changed from Future to 1.16.0

comment:4 Changed 4 years ago by olero

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?

Changed 4 years ago by adeas31

comment:5 Changed 4 years ago by adeas31

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 Changed 3 years ago by casella

  • Milestone changed from 1.16.0 to 1.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:7 Changed 3 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed

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.