Possible ideas for a possible new FET-6 version

Started by Vangelis Karafillidis, March 19, 2021, 08:39:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

Hmm... I will announce here new more important snapshots, then in the future on the forum board snapshots: https://lalescu.ro/liviu/fet/forum/index.php?board=15.0 . But on the snapshots board I will announce a snapshot after I consider the snapshot reached a good form.

We'll keep in touch - maybe you have a better method to suggest to me.

Liviu Lalescu

OK, I am (nearly) ready with (3)  :)  I hope you'll like it as much as I do. Especially if you have multi-core computer. Enter generate multiple dialog.

I added a new version: https://lalescu.ro/liviu/fet/download/test/

Please let me know (few reactions lately  :(   ).

Alex Chernous

Quote from: Liviu Lalescu on March 31, 2021, 07:09:38 PM
OK, I am (nearly) ready with (3)  :)  I hope you'll like it as much as I do. Especially if you have multi-core computer. Enter generate multiple dialog.

I added a new version: https://lalescu.ro/liviu/fet/download/test/

Please let me know (few reactions lately  :(   ).

Sorry, I was waiting for new version. I'm interested to try testing multiple threads for generation, because usually create 3 versions of timetable for considered by school administrator (for claims one of them)
Thanks for you job! It's very useful to me personally and my school as a whole. I use FET from 2016 (archive of our school timetables http://pochtschool.ho.ua/tt.php)
Now a new version are compille... (about 40-50 min as ususally). I send some report later.
Sorry, for my English, I hope you understand me.

Liviu Lalescu

Thank you! I understand :)

For compilation: if you have more cores (like 4), write "make -j 4". I have 8 cores/16 threads and write "make -j 16" and it compiles in ~4.5 minutes (Ryzen 2700x).

Alex Chernous

#19
Thanks! This is really 3x faster:

time make (1 core)
real    64m17,696s
user    59m27,125s
sys     4m49,418s

time make -j 8 (4 core x 2 threads)
real    18m59,422s
user    67m33,182s (??? what is it mean?)
sys     4m30,277s

AMD Ryzen 3 3200U (4 CPU 2 Threads per core) 

Liviu Lalescu

67 minutes I think is total time, summed for each thread.

Liviu Lalescu

I am ready with what I had in mind, and I added a new version: https://lalescu.ro/liviu/fet/download/test/  . This fixes crashes in generate multiple if using the new Qt 6 and interrupting the generation when no complete timetable was generated.

I am very happy with the results and it won't take long until the official FET-6.0.0 release  :)

Alex Chernous

Before official release, bugs in FET-6.0.0 "It's not a bug" (c) ;)
I create new topic with testing results in "ReportTest Results" https://lalescu.ro/liviu/fet/forum/index.php?topic=4798.0

Darren McDonald

Quote from: Liviu Lalescu on April 01, 2021, 04:39:11 PM
I am ready with what I had in mind, and I added a new version: https://lalescu.ro/liviu/fet/download/test/ 

I'm getting an error when compiling on Mac with Qt 6.0.3. (Let me know what info I can provide, but it looks like the most relevant error message is "fatal error: 'sys/errno.h' file not found".

Liviu Lalescu

Hmm... please attach here the whole log, if possible. I googled the message you wrote ("fatal... found"), but it is not on the internet.

Darren McDonald

Quote from: Liviu Lalescu on April 02, 2021, 07:07:44 AM
Hmm... please attach here the whole log, if possible. I googled the message you wrote ("fatal... found"), but it is not on the internet.

I've just compiled the latest snapshot without a problem, so whatever the issue was, it's now fixed!

Liviu Lalescu


ghani1990

Hello dear sir @Liviu Lalescu
It is a great honor for me to see you again as you make this mighty extraordinary feat.
I just noticed, while working on the new version, a problem using multiple threads, on a Linux system, as the app sometimes stops with the appearance of a message: "segmentation fault (core dumped)  ./fet"
And sometimes it works normally on the same file and the same options.

Liviu Lalescu

Thank you, Mr. ghani1990,

Please call me Liviu  :)

Hmm, this is a very very bad thing!   :'(   Please tell me the exact version of FET you are using (is it an old snapshot, before 13 April), do you compile it or use the precompiled version from my site, what GNU/Linux system. How many threads do you use, and what is the maximum of your processor?

Also, could you send me your file? (I'll keep it private.)

ghani1990

Quote from: Liviu Lalescu on April 22, 2021, 02:35:36 PM
Thank you, Mr. ghani1990,

Please call me Liviu  :)

Hmm, this is a very very bad thing!   :'(   Please tell me the exact version of FET you are using (is it an old snapshot, before 13 April), do you compile it or use the precompiled version from my site, what GNU/Linux system. How many threads do you use, and what is the maximum of your processor?

Also, could you send me your file? (I'll keep it private.)

Hi my friend Liviu.
Please call me ghani :)

I am using the latest version of your site 6.0.1 under the Linux Manjaro system, my computer has the capacity of 4 threads, and I used all four for one schedule, sometimes the process fails at the beginning completely and fet closes, and sometimes the work continues normally.
By the way, if the operation is complete, the result is surprisingly fast.
Thank you.

The file is in attachments  ;)