NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

task2.c: In Funktion »init_mat«:
task2.c:60:24: Fehler: expected expression before »{« token
mat[i*q+j] = {coords2D[0], coords2D[1] };
^
task2.c: In Funktion »Prepshift«:
task2.c:97:5: Fehler: Zu wenige Argumente für Funktion »MPI_Sendrecv_replace«
MPI_Sendrecv_replace(a_mat, q, MPI_DOUBLE, up, 0, down, 0, MPI_COMM_WORLD);
^
In file included from task2.c:1:0:
/shared/apps/openmpi/2.1.2_gcc/include/mpi.h:1708:20: Anmerkung: hier deklariert
OMPI_DECLSPEC int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
^
task2.c:99:21: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »<« token
for (int y = 0, y < q; ++y){
^
task2.c:99:29: Fehler: expected »;« before »)« token
for (int y = 0, y < q; ++y){
^
task2.c:101:5: Fehler: Zu wenige Argumente für Funktion »MPI_Sendrecv_replace«
MPI_Sendrecv_replace(b_mat, q, MPI_DOUBLE, left, 0, right , 0, MPI_COMM_WORLD);
^
In file included from task2.c:1:0:
/shared/apps/openmpi/2.1.2_gcc/include/mpi.h:1708:20: Anmerkung: hier deklariert
OMPI_DECLSPEC int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
^
task2.c: In Funktion »Prepshiftiter«:
task2.c:116:3: Fehler: Zu wenige Argumente für Funktion »MPI_Sendrecv_replace«
MPI_Sendrecv_replace(a_mat, q, MPI_DOUBLE, left, 0, right, 0, MPI_COMM_WORLD);
^
In file included from task2.c:1:0:
/shared/apps/openmpi/2.1.2_gcc/include/mpi.h:1708:20: Anmerkung: hier deklariert
OMPI_DECLSPEC int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
^
task2.c:118:22: Fehler: expected expression before »,« token
for (int y = z - 1;, y < q; ++y){
^
task2.c:121:5: Fehler: Zu wenige Argumente für Funktion »MPI_Sendrecv_replace«
MPI_Sendrecv_replace(b_mat, q, MPI_DOUBLE, up, 0, down , 0, MPI_COMM_WORLD);
^
In file included from task2.c:1:0:
/shared/apps/openmpi/2.1.2_gcc/include/mpi.h:1708:20: Anmerkung: hier deklariert
OMPI_DECLSPEC int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
^
task2.c:123:32: Fehler: »c_mat« nicht deklariert (erste Benutzung in dieser Funktion)
mult_mat_fast(a_mat , b_mat, c_mat, q, q, q);
^
task2.c:123:32: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
task2.c: In Funktion »main«:
task2.c:154:19: Fehler: »q« nicht deklariert (erste Benutzung in dieser Funktion)
int p= n/(pow(q,2));
^
task2.c:156:5: Fehler: expected »,« or »;« before »int«
int dims[2]={sqrt(p), sqrt(p)};
^
task2.c:182:42: Fehler: »dims« nicht deklariert (erste Benutzung in dieser Funktion)
MPI_Cart_create(MPI_COMM_WORLD,ndims,dims, periods, reorder, comm_cart);
^
task2.c:182:66: Warnung: Übergabe des Arguments 6 von »MPI_Cart_create« von inkompatiblem Zeigertyp
MPI_Cart_create(MPI_COMM_WORLD,ndims,dims, periods, reorder, comm_cart);
^
In file included from task2.c:1:0:
/shared/apps/openmpi/2.1.2_gcc/include/mpi.h:1261:20: Anmerkung: »struct ompi_communicator_t **« erwartet, aber Argument hat Typ »MPI_Comm«
OMPI_DECLSPEC int MPI_Cart_create(MPI_Comm old_comm, int ndims, const int dims[],
^
task2.c:189:23: Warnung: Übergabe des Arguments 3 von »init_mat« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
init_mat(a_mat,q, coords2D[2], 2);
^
task2.c:21:6: Anmerkung: »int *« erwartet, aber Argument hat Typ »int«
void init_mat( double* mat, uint64_t q, int coords2D[2], int dim ) {
^
task2.c:190:23: Warnung: Übergabe des Arguments 3 von »init_mat« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
init_mat(b_mat,q, coords2D[2], 2);
^
task2.c:21:6: Anmerkung: »int *« erwartet, aber Argument hat Typ »int«
void init_mat( double* mat, uint64_t q, int coords2D[2], int dim ) {
^
task2.c:191:23: Warnung: Übergabe des Arguments 3 von »init_mat« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
init_mat(c_mat,q, coords2D[2], 2);
^
task2.c:21:6: Anmerkung: »int *« erwartet, aber Argument hat Typ »int«
void init_mat( double* mat, uint64_t q, int coords2D[2], int dim ) {
^
task2.c:202:5: Fehler: expected »;« before »}« token
}
^
task2.c:205:5: Warnung: Implizite Deklaration der Funktion »Preshiftiter« [-Wimplicit-function-declaration]
Preshiftiter(a_mat , b_mat, q);
^
tw88fiha@hlb0005:~/Praktikum2$
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.