×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Solver oddities

  • Posts: 985
  • Thank you received: 160

Solver oddities was created by Alfred

A few things that caught my attention during the most recent session when I made heavy used of the solver.

1) In Solver Options the tool tip for parameter "-C" reads "Overwrite already generated files. It must be checked to prevent sover failure". Pity is, it cannot be checked as the check box is greyed out.

2) A problem occurs when "inparallel" is uncommented in astrometry.cfg and a solve job is cancelled. In this event the task (astrometry-engine or similar) is not being terminated, it will run forever. Top command shows it puts heavy load on the CPU.

3) When a solve job times out, another attempt is started. Once that happens two active solve jobs are listed in the "Solution results" TAB. Clicking the STOP button shuts down the latter one only, the first solve job keeps on running.
4 years 11 months ago #38318

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Solver oddities

1. That's because it's always used. It should be removed from there as an option anyway.
2. Aborted solve twice with inparallel uncommented and it still aborted fine, nothing in system resources.
3. I can confirm this issue when online solver is used.
4 years 11 months ago #38365

Please Log in or Create an account to join the conversation.

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Solver oddities

Thanks for looking into it!

1), 3) OK.
2) Tested again on both clients, AMD and Intel CPU (32GB Ram), Kubuntu 18.04, nightlies. It happened on both computers, video attached. Am I doing something wrongly? I'd really like to use inparallel.

4 years 11 months ago #38374
Attachments:

    screenrecording.mp4

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Solver oddities

ok I added pkill astrometry-engine as well when stopped the solver. Test GIT.
4 years 11 months ago #38382

Please Log in or Create an account to join the conversation.

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Solver oddities

No success. Astrometry-engine keeps running.
4 years 11 months ago #38416

Please Log in or Create an account to join the conversation.

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Solver oddities

The problem persists in the most recent nightlies.

4 years 10 months ago #38567
Attachments:

    screenrecording2.mp4

Please Log in or Create an account to join the conversation.

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Solver oddities

I changed row 367 in offlineastrometryparser.cpp to

p.start("killall astrometry-engine");

Now it does get the job done. Why? I have no idea. But pkill did not work here (tested on two clients, one AMD and the other one Intel based).
Last edit: 4 years 10 months ago by Alfred.
4 years 10 months ago #38714

Please Log in or Create an account to join the conversation.

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Solver oddities

Just for testing purposes and out of curiosity I reverted back to pkill and just as before, astrometry-engine did not get killed. I then issued a "pkill astrometry-engine" from the command line while the task was running and again it did not get killed. For whatever reason, pkill is not enough to actually kill the task.
Last edit: 4 years 10 months ago by Alfred.
4 years 10 months ago #38715

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Solver oddities

thanks! I've updated the code.
The following user(s) said Thank You: Alfred
4 years 10 months ago #38725

Please Log in or Create an account to join the conversation.

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Solver oddities

Deleting lines 87-108 in kstars/kstars/ekos/align/opsastrometry.ui will remove the obsolte -O option from the UI. Am I allowed to propose/do it in GIT/Phabricator?
Last edit: 4 years 10 months ago by Alfred.
4 years 10 months ago #38762

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Solver oddities

It's not used anywhere anyway.
4 years 10 months ago #38764

Please Log in or Create an account to join the conversation.

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Solver oddities


Due to short summer nights I did not use Indi/Ekos for a few months. Now the "kill problem" reoccurs. On my AMD Kutuntu 19.04 desktop the astrometry.engine task does not get killed. On my Intel 18.04 desktop however, it does get killed. I can't think of any reasonable explanation other than the code has been changed.
4 years 6 months ago #42629

Please Log in or Create an account to join the conversation.

Time to create page: 0.255 seconds