Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2930 connectés 

  FORUM HardWare.fr
  Programmation
  C++

  problème compilation mpich - Linux

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

problème compilation mpich - Linux

n°1401205
lokida
Posté le 05-07-2006 à 16:13:28  profilanswer
 

bonjour,
j'ai récupéré les sources de mpich, une implémantation de mpi ( http://www-unix.mcs.anl.gov/mpi/mpich1/ ) et quand je fais la compilation et l'installation sous linux je n'arrive pas à avoir la librairie dynamique de mpich.
je fais d'abord ça: ./configure --prefix=/CheminOuInstallerMpi --enable-sharedlib
puis make
 
j'ai cela en réponse:  
 
Making a shared library of libmpich.a
darray.o: In function `MPIOI_Type_block':
darray.c:(.text+0xb25): multiple definition of `MPIOI_Type_block'
ad_darray.o:ad_darray.c:(.text+0x575): first defined here
/usr/bin/ld: Warning: size of symbol `MPIOI_Type_block' changed from 440 in ad_darray.o to 523 in darray.o
darray.o: In function `MPIOI_Type_cyclic':
darray.c:(.text+0xd30): multiple definition of `MPIOI_Type_cyclic'
ad_darray.o:ad_darray.c:(.text+0x72d): first defined here
/usr/bin/ld: Warning: size of symbol `MPIOI_Type_cyclic' changed from 711 in ad_darray.o to 747 in darray.o
collect2: ld returned 1 exit status
Making a shared library of libpmpich.a
darray.o: In function `MPIOI_Type_block':
darray.c:(.text+0xb25): multiple definition of `MPIOI_Type_block'
ad_darray.o:ad_darray.c:(.text+0x575): first defined here
/usr/bin/ld: Warning: size of symbol `MPIOI_Type_block' changed from 440 in ad_darray.o to 523 in darray.o
darray.o: In function `MPIOI_Type_cyclic':
darray.c:(.text+0xd30): multiple definition of `MPIOI_Type_cyclic'
ad_darray.o:ad_darray.c:(.text+0x72d): first defined here
/usr/bin/ld: Warning: size of symbol `MPIOI_Type_cyclic' changed from 711 in ad_darray.o to 747 in darray.o
collect2: ld returned 1 exit status
 
et donc quand je fais par la suite make install je n'ai forcément rien d'installé dans le lib/shared  pas de libmpich.so
 
par contre j'ai cela dans mon lib/ : libtvmpich.so, libtvmpich.so.1, libtvmpich.so.1.0  
 
 
quelqu'un à une idée, une solution ?
 
merci


Message édité par lokida le 05-07-2006 à 16:16:33
mood
Publicité
Posté le 05-07-2006 à 16:13:28  profilanswer
 

n°1403985
franceso
Posté le 10-07-2006 à 16:11:11  profilanswer
 

Salut !
 
je ne sais pas si ça t'aidera, mais la plupart des distributions Linux fournissent un paquet pour mpich. Pour ma part c'est ce que j'ai toujours utilisé et je n'ai jamais eu de problème.
 
Par ailleurs, je te conseille d'utiliser plutôt mpich2 : non seulement il implémente l'interface MPI2 (ce qui ne te sera pas forcément utile), mais surtout il reprend de manière très optimisée les fonctionnalités MPI (mpich2 n'est pas juste une évolution de mpich : ils ont tout repris depuis le début pour faire un truc bien construit et efficace ;  même certaines implémentations de MPI fournies par les constructeurs s'appuient dessus).
 
Bon courage.


---------------
TriScale innov
n°1404398
lokida
Posté le 11-07-2006 à 10:20:07  profilanswer
 

Salut,
Malheureusement j'utilise un logiciel qui ne fonctionne qu'avec mpich1.2.7p1.
j'ai essayé avec MPICH2 mais il ne veut pas. Ou alors il y a une astuce pour faire fonctionner avec MPICH2... j'attends le retour du support technique.
Concernant la distribution, c'est pour une Red Hat EL 4 et Red Hat EL 3 sur architecture X86_64. Mais, je ne trouve pas de rpm correspondant.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C++

  problème compilation mpich - Linux

 

Sujets relatifs
Problème de type dans une requête SQL[MYSQL] Probleme de creation de table
[Problème] - Template affichage :??:Problème envoi mail
probleme ON UPDATE CASCADE MYSQLprobleme avec un import fichier texte dans mysql
Probleme avec les evenements keyup et keydown[Résolu][PHP] Problème avec header()
Problème au survol d'un lien dans un div 
Plus de sujets relatifs à : problème compilation mpich - Linux


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR