First time here? Check our help page!
2

Dymola Runtime license [closed]

Hi all

My problem is exactly to what is found in the discussion in the link:

https://groups.google.com/forum/#!top...

I understand I have to set the Dymola Runtime License variable but where exactly, in the operatiion file in GenOPT or dsin.txt file in Dymola or somewhere else.

Regards Eze

ezeraj's avatar
151
ezeraj
asked 2018-02-13 04:05:05 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "the question is answered, right answer was accepted" by ezeraj 2018-02-21 06:52:35 -0500

Comments

add a comment see more comments

3 Answers

1

Hey All

Yes your answers are correct and possible solution. But the problem was a license path unavailibility due to server update.

Thank you^^

ezeraj's avatar
151
ezeraj
answered 2018-02-21 06:52:10 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

This is answered on the link you provided. Please see also the Dymola manual for how to specify the license file. Alternatively, you could export your model as an FMU with JModelica and call this FMU from a Python script, such as by using PyFMI.

Michael Wetter's avatar
1.7k
Michael Wetter
answered 2018-02-13 12:15:41 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

You need to set an environment variable DYMOLA_RUNTIME_LICENSE to the location of your license file. How to do this depends on what OS you are using.

Windows command line:

setx DYMOLA_RUNTIME_LICENSE "<path to the license>"

Mac OSX/Linux command line:

export DYMOLA_RUNTIME_LICENSE="<path to the license>"

And there's a good collection of methods here, in case none of the above suit your system.

Jamie Bull's avatar
5.1k
Jamie Bull
answered 2018-02-13 12:25:02 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2018-02-14 02:48:57 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments