🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #293

Re: ALGORITMO

#293
From: Aiutatore Cybernetico
Date: Fri, 10 Jan 2003 19:59
42 lines
2426 bytes
On Thu, 09 Jan 2003 21:29:52 GMT, "Antonella"
<antonella.macchia@virgilio.it> wrote:

> > Algoritmo di calcolo parallelo :prodotto matrice matrice:C=C+AB che
> > effettua il ciclo a blocchi:

Non ho capito nulla.

> > cij=0

Suppongo che 'cij' sarebbe c[i][j]. Non ho voglia di controllare cosa
faccia il programma. Lo scrivo in C++ e devi avere A e B inizializzate.

int c[i][j] = { 0 };

> > FOR K=1,N
> > FOR J=1,N
> > FOR I=1,N
> > CIJ=CIJ+AIK*BKJ
> > ENDFOR
> > ENDFOR
> > ENDFOR

for (int k=1; k<N; k++)
	for (int j=1; j<N; j++)
		for (int i=1; i<N; i++)
			c[i][j] += ( a[i][k] * b[k][j] );
	
> > NEL LINGUAGGIO C ,EFFETTUANDO  UNA COMUNICAZIONE TRA I PROCESSORI CON LA
> > ROUTINE
> > MPI_Bcast

Ah, be' certo. Una comunicazione tra i process*or*i con la routine che?

> > GRAZIE � MOLTO URGENTE

Sara' anche urgente, ma non e' italiano! :-P

E poi sono crosspostato in mezzo mondo. Nun se fa'!

Greetings from Italy!
C.H. ( Cyber Helper )
Technical Details
Message-ID: <ik9u1vc73jesudflp2f6boauqpda2q9uur@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
References: <bwdT9.4395$0v.111221@news1.tin.it> <kRlT9.9819$AA2.444558@news2.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: ffd12,f53bf93f7db112a5
X-Google-Attributes: gidffd12,public
X-Google-Thread: 11033e,f53bf93f7db112a5
X-Google-Attributes: gid11033e,public
X-Google-Thread: 114d19,f53bf93f7db112a5
X-Google-Attributes: gid114d19,public
X-Google-Thread: 115b4c,f53bf93f7db112a5
X-Google-Attributes: gid115b4c,public
X-Google-Thread: fcc79,f53bf93f7db112a5
X-Google-Attributes: gidfcc79,public
X-Google-ArrivalTime: 2003-01-10 11:59:19 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
From: "Aiutatore Cybernetico" <ac@cirt.it>
Newsgroups: ahn.tech.linux,alive.school.university,es.comp.ingenieria.software,es.tecnica.ingenieria.teleco,free.it.ingegneria.informatica
Subject: Re: ALGORITMO
Message-ID: <ik9u1vc73jesudflp2f6boauqpda2q9uur@4ax.com>
References: <bwdT9.4395$0v.111221@news1.tin.it> <kRlT9.9819$AA2.444558@news2.tin.it>
X-Newsreader: Forte Agent 1.8/32.553
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 43
Date: Fri, 10 Jan 2003 19:59:16 GMT
NNTP-Posting-Host: 151.26.51.152
X-Complaints-To: abuse@libero.it
X-Trace: twister1.libero.it 1042228756 151.26.51.152 (Fri, 10 Jan 2003 20:59:16 MET)
NNTP-Posting-Date: Fri, 10 Jan 2003 20:59:16 MET
Organization: [Infostrada]