Menu

How to

2021-02-11
2021-02-14
1 2 > >> (Page 1 of 2)
  • Michael Jensen

    Michael Jensen - 2021-02-11

    Hi Daniel.

    First of all thanks for the amazing work you are doing.

    I unfortunately constantly run into crashes in the program (the program suddenly exits when performing a calculation). I am running DWSIM on a mac mostly but have also experienced it in windows.

    Is there a way you can step through the calculation to prevent it from crashing? Or maybe another way for a user to analyse why it happends? That would make me a lot happier if I can understand and then solve the problem myself.

    Best Regards
    Michael

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-12

    Can you record a video of the crash?

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    Sure. I have attached a video

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-13

    Can you take a screenshot of the Global Settings > Solver panel?

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    Attached

     
    • Daniel Medeiros

      Daniel Medeiros - 2021-02-13

      Uncheck "CPU SIMD" and see if it stops crashing.

       
  • Michael Jensen

    Michael Jensen - 2021-02-13

    No that doesnt help. If I add water and change to isothermal operation of the eq reactor the calculation breaks. I tried setting up a MeOH eq reactor and that also breaks even as an adiabatic reactor..

     
    • Daniel Medeiros

      Daniel Medeiros - 2021-02-13

      Ok. Try running DWSIM from a terminal using the following command

      DWSIM.app/Contents/MacOS/Launcher.exec 
      

      after the crash you'll be able to see something useful on the terminal.

       
  • Michael Jensen

    Michael Jensen - 2021-02-13

    If I disable to IPOPT Solver the calculation runs fine.. I think it is a general problem for all calculations as the error is reproducible. What does the IPOPT solver do?

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-13

    Are you running DWSIM in a M1 Mac? libipopt is there inside the package, but it is a native library compiled for 64-bit Intel Macs.

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    No it is on a macbook pro retina from 2012 so standard intel based.

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-13

    Are you running v6.4.3?

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    Yes. Downloadd it yesterday.

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-13

    Try this command:

    MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" DWSIM.app/Contents/MacOS/Launcher.exec  
    

    It will give you a more detailed error message regarding IPOPT.

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    I dumped the log to a txt file, which is attached.

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-13

    It seems that IPOPT requires libgfortran and I didn't include it in DWSIM package. You can try to install it by yourself: https://gcc.gnu.org/wiki/GFortranBinaries#MacOS

    I'll include it in the next version.

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    Great. I look forward to the next version. Br Michael

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    Btw. it seems as it is a required library even if the checkbox for IPOPT is unchecked.. At least I get crashes without that being checked. Do you have an idea of when next release is due? Thanks. Michael

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    Hi Daniel. Just tried it and that hasnt made any difference.. I am still getting a lot of errors in the logs. See attached.

     
  • Michael Jensen

    Michael Jensen - 2021-02-13

    now with file

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-13

    Try again

     
  • Michael Jensen

    Michael Jensen - 2021-02-14

    I tried by using the same link as given before but same result. Pasted the error log. Is the link correct?

    Br
    Michael

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-02-14

    The MD5 of the updated zip file is b7eec733a817741e0000c4f004787bb8, check if you've downloaded the correct one.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.