• Downloads
  • ! Read Me !
  • Μαθήματα
  • Φοιτητικά
  • Τεχνικά Θέματα
  • Συζητήσεις
  • Happy Hour!
  • About THMMY.gr
 V  < 
Search:  
Welcome, Guest. Please login or register.
August 03, 2025, 00:17:16 am

Login with username, password and session length
Links
  Thmmy.gr portal
   Forum
   Downloads
   Ενεργ. Λογαριασμού
   Επικοινωνία
  
  Χρήσιμα links
   Σελίδα τμήματος
   Βιβλιοθήκη Τμήματος
   Elearning
   Φοιτητικά fora
   Πρόγραμμα Λέσχης
   Πρακτική Άσκηση
   Ηλεκτρονική Εξυπηρέτηση Φοιτητών
   Διανομή Συγγραμμάτων
   Ψηφιακό Καταθετήριο Διπλωματικών
   Πληροφορίες Καθηγητών
   Instagram @thmmy.gr
   mTHMMY
  
  Φοιτητικές Ομάδες
   ACM
   Aristurtle
   ART
   ASAT
   BEAM
   BEST Thessaloniki
   EESTEC LC Thessaloniki
   EΜΒ Auth
   IAESTE Thessaloniki
   IEEE φοιτητικό παράρτημα ΑΠΘ
   SpaceDot
   VROOM
   Panther
  
Πίνακας Ελέγχου
Welcome, Guest. Please login or register.
August 03, 2025, 00:17:16 am

Login with username, password and session length

Αναζήτηση

Google

THMMY.gr Web
Πρόσφατα
[Τομέας Ενέργειας] Μαθήμα...
by PolarBear
[August 02, 2025, 23:35:57 pm]

Ρύθμιση θερμικού για μοτέ...
by chatzikys
[August 02, 2025, 21:29:19 pm]

Τι ακούτε αυτήν τη στιγμή...
by Katarameno
[August 02, 2025, 19:59:00 pm]

Αποτελέσματα Εξεταστικής ...
by Ma8hths Indou
[August 02, 2025, 17:30:47 pm]

[Τηλεπικοινωνιακά Συστήμα...
by Thanasis_pap
[August 02, 2025, 17:06:37 pm]

Άδεια ασκήσεως επαγγέλματ...
by The Web
[August 02, 2025, 13:25:49 pm]

[Τομέας Ηλεκτρονικής] Μαθ...
by Nikos_313
[August 02, 2025, 09:51:26 am]

Οι μπράβοι του πρύτανη
by Διάλεξις
[August 02, 2025, 01:30:18 am]

[Διανεμημένη Παραγωγή] Γε...
by Διάλεξις
[August 02, 2025, 01:04:15 am]

Πρακτική Άσκηση ΤΗΜΜΥ 201...
by Διάλεξις
[August 02, 2025, 00:59:05 am]

Ηλεκτρομηχανολογικές Μελέ...
by inverter
[August 01, 2025, 20:35:12 pm]

Νέα Δημοκρατία (and Co. I...
by Katarameno
[August 01, 2025, 15:13:09 pm]

Πρόγραμμα Σπουδών Ακαδημα...
by PolarBear
[August 01, 2025, 15:03:05 pm]

Aναζωπύρωση των εχθροπραξ...
by Katarameno
[July 31, 2025, 21:15:48 pm]

Καμμένα...!!
by Godat
[July 31, 2025, 21:07:58 pm]

[ΑΝΤΙΣΤΑΣΗ] Ανακοίνωση γι...
by Katarameno
[July 31, 2025, 20:31:30 pm]

Αρχείο Ανακοινώσεων [Arch...
by Nikos_313
[July 31, 2025, 15:33:28 pm]

ΤΗΜΜΥ-Σκάκι
by L
[July 31, 2025, 13:24:56 pm]

Τα παράσιτα ανάμεσά μας
by Katarameno
[July 30, 2025, 13:47:28 pm]

Ρώτα κάτι τον επόμενο
by Giopan
[July 29, 2025, 16:04:23 pm]
Στατιστικά
Members
Total Members: 9988
Latest: kyrlef
Stats
Total Posts: 1427647
Total Topics: 31739
Online Today: 109
Online Ever: 2093
(April 17, 2025, 08:47:49 am)
Users Online
Users: 12
Guests: 85
Total: 97
tzortzis
Akis Papanikolaou
Mr Watson
Demits
Katarameno
johnnypap
Karkarias
Don
trelogauros7
kostas aramp
etsilika
Εμφάνιση

Νέα για πρωτοετείς
Είσαι πρωτοετής;... Καλώς ήρθες! Μπορείς να βρεις πληροφορίες εδώ. Βοήθεια για τους καινούργιους μέσω χάρτη.
Κατεβάστε εδώ το Android Application για εύκολη πρόσβαση στο forum.
Ανεβάζετε τα θέματα των εξετάσεων στον τομέα Downloads με προσοχή στα ονόματα των αρχείων!

Νέα!
Επίσημη ενημέρωση για Αντιστοίχηση Μαθημάτων ΝΠΣ με ΠΠΣ και η συζήτηση στο forum.
THMMY.gr > Forum > Μαθήματα Κύκλου Ηλεκτρονικής & Υπολογιστών  > 7ο Εξάμηνο > Παράλληλα και Διανεμημένα Συστήματα (Moderators: geo66, Elliot Alderson, sassi) >  [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
0 Members and 1 Guest are viewing this topic.
Pages: 1 ... 8 9 [10] 11 12 13 Go Down Print
Author Topic: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2  (Read 17457 times)
raf18
Καταξιωμένος/Καταξιωμένη
***
Gender: Male
Posts: 222


Most coffe in town


View Profile WWW
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #135 on: January 02, 2016, 01:21:13 am »

Quote from: Xbaremenos on January 01, 2016, 22:24:55 pm
Quote from: c0ndemn3d on January 01, 2016, 20:13:19 pm
1) Παίζει να έχετε βρει τρόπο να χρησιμοποιήσετε σύνθετες εντολές; Εγώ μέχρι στιγμής ό,τι σκέφτομαι έχει να κάνει με το να στέλνω κάθε κουτί ξεχωριστά..
2) Μία ακόμα ερώτηση, αν ας πούμε θέλετε ένα κουτί που το έχει άλλο process, υπάρχει τρόπος να το <<ζητήσετε>> (όποιος κατάλαβε, κατάλαβε);

Παιδιά και γω εχω αυτό το θέμα, υπάρχει τρόπος, να ζητήσουμε κάτι και το άλλο προσεςς να μπλοκάρει, να μας απαντήσει, και να συνεχίσει ?


Εγώ έχω σε συγκεκριμένες θέσεις σε κάθε process ζευγάρια send,receive. Αλλά πάντα μέσα σε if ώστε αν δεν χρειάζετε η δοσοληψία να παρακάμπτεται. Αν όλες οι επικοινωνίες είναι ζεύγη (στέλνω σε κάθε γείτονα και περιμένω να λάβω) νομίζω δεν χρειάζεται να ζητήσεις. Όταν χρειαστεί στέλνεις/λαμβάνεις.
Έτσι το έχω εγώ τουλάχιστον, με μηνύματα Isend/Irecv από process σε proccess μέσα σε λούπες κάθε φορά.
Logged

Chill out and listen some music
...
https://www.youtube.com/watch?v=-xO_rku3ABY
lady_of_winter
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Gender: Female
Posts: 3537


εφακ


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #136 on: January 02, 2016, 01:42:08 am »

Quote from: raf18 on January 02, 2016, 01:21:13 am
Εγώ έχω σε συγκεκριμένες θέσεις σε κάθε process ζευγάρια send,receive. Αλλά πάντα μέσα σε if ώστε αν δεν χρειάζετε η δοσοληψία να παρακάμπτεται. Αν όλες οι επικοινωνίες είναι ζεύγη (στέλνω σε κάθε γείτονα και περιμένω να λάβω) νομίζω δεν χρειάζεται να ζητήσεις. Όταν χρειαστεί στέλνεις/λαμβάνεις.
Έτσι το έχω εγώ τουλάχιστον, με μηνύματα Isend/Irecv από process σε proccess μέσα σε λούπες κάθε φορά.

δεν πολυκαταλαβα τι εννοεις Undecided
το προβλημα που εχουμε ειναι οτι θελουμε να παρουμε καποια στοιχεια απο καποια αλλη διεργασια, χωρις να θελουμε να στειλουμε κατι σε καποια αλλη
αν κανουμε αυτο ομως με το if που λες, δεν θα πρεπει να στελνουμε κιολας κατι?ή δεν εχω καταλαβει καλα?
Logged

They paint the world full of shadows... and then tell their children to stay close to the light. Their light. Their reasons, their judgments. Because in the darkness, there be dragons. But it isn't true. We can prove that it isn't true. In the dark, there is discovery, there is possibility, there is freedom in the dark once someone has illuminated it.
raf18
Καταξιωμένος/Καταξιωμένη
***
Gender: Male
Posts: 222


Most coffe in town


View Profile WWW
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #137 on: January 02, 2016, 04:08:29 am »

Quote from: lady_of_winter on January 02, 2016, 01:42:08 am
Quote from: raf18 on January 02, 2016, 01:21:13 am
Εγώ έχω σε συγκεκριμένες θέσεις σε κάθε process ζευγάρια send,receive. Αλλά πάντα μέσα σε if ώστε αν δεν χρειάζετε η δοσοληψία να παρακάμπτεται. Αν όλες οι επικοινωνίες είναι ζεύγη (στέλνω σε κάθε γείτονα και περιμένω να λάβω) νομίζω δεν χρειάζεται να ζητήσεις. Όταν χρειαστεί στέλνεις/λαμβάνεις.
Έτσι το έχω εγώ τουλάχιστον, με μηνύματα Isend/Irecv από process σε proccess μέσα σε λούπες κάθε φορά.

δεν πολυκαταλαβα τι εννοεις Undecided
το προβλημα που εχουμε ειναι οτι θελουμε να παρουμε καποια στοιχεια απο καποια αλλη διεργασια, χωρις να θελουμε να στειλουμε κατι σε καποια αλλη
αν κανουμε αυτο ομως με το if που λες, δεν θα πρεπει να στελνουμε κιολας κατι?ή δεν εχω καταλαβει καλα?


Καλά κατάλαβες.Γενικά εγώ έχω αρκετά διαφορετική λογική. Βρίσκω ποια είναι τα γειτονικά κουτιά κάθε φορά και μετά τους στέλνω τα στοιχεία του κουτιού μου. Μετά περιμένω να μου στείλουν και τα γειτονικά αυτά. Αυτό γίνεται για ενα-ένα γειτονικό κουτι σε λούπα. Έτσι όπως το σκέφτηκες δεν μπορώ να φανταστώ κάτι, γιατί δεν ξέρεις κάθε πότε ζητάς στοιχεία...  Sad
Logged

Chill out and listen some music
...
https://www.youtube.com/watch?v=-xO_rku3ABY
lady_of_winter
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Gender: Female
Posts: 3537


εφακ


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #138 on: January 02, 2016, 11:12:20 am »

Quote from: raf18 on January 02, 2016, 04:08:29 am

Καλά κατάλαβες.Γενικά εγώ έχω αρκετά διαφορετική λογική. Βρίσκω ποια είναι τα γειτονικά κουτιά κάθε φορά και μετά τους στέλνω τα στοιχεία του κουτιού μου. Μετά περιμένω να μου στείλουν και τα γειτονικά αυτά. Αυτό γίνεται για ενα-ένα γειτονικό κουτι σε λούπα. Έτσι όπως το σκέφτηκες δεν μπορώ να φανταστώ κάτι, γιατί δεν ξέρεις κάθε πότε ζητάς στοιχεία...  Sad

ααα ευχαριστωωωωωωω  Cheesy Cheesy
τωρα ενιωσα

απλως ειχα σκαλωσει χθες, και ελεγα μπας κ υπαρχει καποιος τροπος να γινει αυτο π ελεγα και δεν το χα σκεφτει
Logged

They paint the world full of shadows... and then tell their children to stay close to the light. Their light. Their reasons, their judgments. Because in the darkness, there be dragons. But it isn't true. We can prove that it isn't true. In the dark, there is discovery, there is possibility, there is freedom in the dark once someone has illuminated it.
Ragnar Lothbrok
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 736


Hail King Ragnar!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #139 on: January 02, 2016, 19:16:31 pm »

Ξέρει κανείς ποιο header πρεπει να βάλουμε για τις μαθηματικες πραξεις; οταν βαζω το <math.h> , το grid δεν μου αναγνωρίζει την συναρτηση ρίζας (sqrt () ) .
Logged

It gladdens me to know that Odin prepares for a feast.Soon I shall be drinking ale from curved horns. This hero that comes into Valhalla does not lament his death! I shall not enter Odin's hall with fear. There I shall wait for
my sons to join me, and when they do, I will bask in their tales of triumph. The Aesir will welcome me! My death comes without apology! And I welcome the valkyries to summon me home!

Ragnar's last speech
c0ndemn3d
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Posts: 4804


Yarr!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #140 on: January 02, 2016, 20:00:10 pm »

Quote from: vashmmy on January 02, 2016, 19:16:31 pm
Ξέρει κανείς ποιο header πρεπει να βάλουμε για τις μαθηματικες πραξεις; οταν βαζω το <math.h> , το grid δεν μου αναγνωρίζει την συναρτηση ρίζας (sqrt () ) .

??

Όταν κάνεις compile, πρέπει να βάζεις -lm στο τέλος της εντολής. Tο grid δεν χρειάζεται κάτι μετά
Logged

In response, the pirates had to adhere to a doctrine of their own...
war against the world

They took my home, I can't walk away from that; can you?
 Forget me, forget Teach, forget loyalty, compacts, honours, debts, all of it.
The only question that matters is this: Who are you?
Ragnar Lothbrok
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 736


Hail King Ragnar!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #141 on: January 02, 2016, 20:07:36 pm »

Quote from: c0ndemn3d on January 02, 2016, 20:00:10 pm
Quote from: vashmmy on January 02, 2016, 19:16:31 pm
Ξέρει κανείς ποιο header πρεπει να βάλουμε για τις μαθηματικες πραξεις; οταν βαζω το <math.h> , το grid δεν μου αναγνωρίζει την συναρτηση ρίζας (sqrt () ) .

??

Όταν κάνεις compile, πρέπει να βάζεις -lm στο τέλος της εντολής. Tο grid δεν χρειάζεται κάτι μετά

πως δηλαδη;  mpicc myfile.c -o myprogram -Im ??
Logged

It gladdens me to know that Odin prepares for a feast.Soon I shall be drinking ale from curved horns. This hero that comes into Valhalla does not lament his death! I shall not enter Odin's hall with fear. There I shall wait for
my sons to join me, and when they do, I will bask in their tales of triumph. The Aesir will welcome me! My death comes without apology! And I welcome the valkyries to summon me home!

Ragnar's last speech
c0ndemn3d
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Posts: 4804


Yarr!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #142 on: January 02, 2016, 20:09:35 pm »

Ναι. Φυσικά πρέπει να έχεις και #include <math.h> μέσα στο αρχείο κώδικα.


btw http://stackoverflow.com/questions/1033898/why-do-you-have-to-link-the-math-library-in-c
« Last Edit: January 02, 2016, 20:11:59 pm by c0ndemn3d » Logged

In response, the pirates had to adhere to a doctrine of their own...
war against the world

They took my home, I can't walk away from that; can you?
 Forget me, forget Teach, forget loyalty, compacts, honours, debts, all of it.
The only question that matters is this: Who are you?
Ragnar Lothbrok
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 736


Hail King Ragnar!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #143 on: January 02, 2016, 20:12:11 pm »

Quote from: c0ndemn3d on January 02, 2016, 20:09:35 pm
Ναι. Φυσικά πρέπει να έχεις και #include <math.h> μέσα στο αρχείο κώδικα.


btw http://stackoverflow.com/questions/1033898/why-do-you-have-to-link-the-math-library-in-c

ok thanks!!!
Logged

It gladdens me to know that Odin prepares for a feast.Soon I shall be drinking ale from curved horns. This hero that comes into Valhalla does not lament his death! I shall not enter Odin's hall with fear. There I shall wait for
my sons to join me, and when they do, I will bask in their tales of triumph. The Aesir will welcome me! My death comes without apology! And I welcome the valkyries to summon me home!

Ragnar's last speech
WatchDog
Καταξιωμένος/Καταξιωμένη
***
Posts: 266



View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #144 on: January 03, 2016, 23:51:56 pm »

Μου βγάζει error στο mpirun , λέει οτι δε μπορεί να βρεί το εκτελέσιμο. (no such file or directory). Με το %mpirun -np x file.o. Έχω προσπαθήσει και να βάλω ολόκληρο το Path,και πάλι τίποτα.Έχει κάποιος καμιά ιδέα για το τι μπορεί να παίζει?
« Last Edit: January 03, 2016, 23:54:00 pm by alphjheon » Logged
c0ndemn3d
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Posts: 4804


Yarr!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #145 on: January 04, 2016, 00:32:03 am »

./file.o μήπως;
Logged

In response, the pirates had to adhere to a doctrine of their own...
war against the world

They took my home, I can't walk away from that; can you?
 Forget me, forget Teach, forget loyalty, compacts, honours, debts, all of it.
The only question that matters is this: Who are you?
Ragnar Lothbrok
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 736


Hail King Ragnar!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #146 on: January 04, 2016, 14:21:06 pm »

Αν μας βγαζει στο Grid  State: R Και Time use: 00:00:00 τι σημαίνει;
Logged

It gladdens me to know that Odin prepares for a feast.Soon I shall be drinking ale from curved horns. This hero that comes into Valhalla does not lament his death! I shall not enter Odin's hall with fear. There I shall wait for
my sons to join me, and when they do, I will bask in their tales of triumph. The Aesir will welcome me! My death comes without apology! And I welcome the valkyries to summon me home!

Ragnar's last speech
Λήσταρχος Γιαγκούλας
Θαμώνας
****
Gender: Male
Posts: 385



View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #147 on: January 04, 2016, 15:09:54 pm »

Quote from: vashmmy on January 04, 2016, 14:21:06 pm
Αν μας βγαζει στο Grid  State: R Και Time use: 00:00:00 τι σημαίνει;

Νομίζω σημαίνει πως απλά έχει ξεκινήσει να τρέχει...
Αν παρατηρήσεις όταν έχει σκέτο R και έχεις πχ 3 διεργασίες σκέτο R,η πιο σύντομη τελειώνει νωρίτερα...ακόμα και αν έχει κατατεθεί αργότερα,όταν όμως έχει ήδη time use τότε τελειώνει νωρίτερα αυτή με time use...

Eρώτηση,καταφέρε κανείς να τρέξει 64 ή 128?
Logged
Ragnar Lothbrok
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 736


Hail King Ragnar!


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #148 on: January 04, 2016, 15:23:30 pm »

Quote from: Προκρούστεια Μέθοδος on January 04, 2016, 15:09:54 pm
Quote from: vashmmy on January 04, 2016, 14:21:06 pm
Αν μας βγαζει στο Grid  State: R Και Time use: 00:00:00 τι σημαίνει;

Νομίζω σημαίνει πως απλά έχει ξεκινήσει να τρέχει...
Αν παρατηρήσεις όταν έχει σκέτο R και έχεις πχ 3 διεργασίες σκέτο R,η πιο σύντομη τελειώνει νωρίτερα...ακόμα και αν έχει κατατεθεί αργότερα,όταν όμως έχει ήδη time use τότε τελειώνει νωρίτερα αυτή με time use...

Eρώτηση,καταφέρε κανείς να τρέξει 64 ή 128?

Συγγνωμη ρε φιλε, αλλα δεν καταλαβα τι ειπες Tongue

Logged

It gladdens me to know that Odin prepares for a feast.Soon I shall be drinking ale from curved horns. This hero that comes into Valhalla does not lament his death! I shall not enter Odin's hall with fear. There I shall wait for
my sons to join me, and when they do, I will bask in their tales of triumph. The Aesir will welcome me! My death comes without apology! And I welcome the valkyries to summon me home!

Ragnar's last speech
lady_of_winter
Veteran
Αbsolute ΤΗΜΜΥ.gr
******
Gender: Female
Posts: 3537


εφακ


View Profile
Re: [Παράλληλα και Διανεμημένα Συστ.] Εργασία 2
« Reply #149 on: January 05, 2016, 00:17:36 am »

μπορει καποιος που ανεβασε την εργασια στο grid, να μου πει περιπου ποσο χρονο αναμονης ειχε  μεχρι να του την τρεξουν?

Logged

They paint the world full of shadows... and then tell their children to stay close to the light. Their light. Their reasons, their judgments. Because in the darkness, there be dragons. But it isn't true. We can prove that it isn't true. In the dark, there is discovery, there is possibility, there is freedom in the dark once someone has illuminated it.
Pages: 1 ... 8 9 [10] 11 12 13 Go Up Print
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Scribbles2 | TinyPortal © Bloc | XHTML | CSS
Loading...