Hello world
This commit is contained in:
		
						commit
						d82d9189fb
					
				
					 5 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								sem1/MPI_весенний_семестр_занятие1_2024.pdf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sem1/MPI_весенний_семестр_занятие1_2024.pdf
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								sem1/hello
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sem1/hello
									
										
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										10
									
								
								sem1/hello.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								sem1/hello.c
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | ||||||
|  | #include <mpi.h>  | ||||||
|  | #include <stdio.h> | ||||||
|  | int main(int argc, char *argv[]){   | ||||||
|  |     int commsize, my_rank; | ||||||
|  |     MPI_Init(&argc,&argv);   | ||||||
|  |     MPI_Comm_size(MPI_COMM_WORLD, &commsize); | ||||||
|  |     MPI_Comm_rank(MPI_COMM_WORLD, &my_rank); | ||||||
|  |     printf ("Communicator size= %d My rank= %d\n", commsize,my_rank);   | ||||||
|  |     MPI_Finalize(); | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								sem1/Вводные задачи по MPI.pdf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sem1/Вводные задачи по MPI.pdf
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								sem1/Система_очередей.pdf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sem1/Система_очередей.pdf
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue