Salut à tous !
Je viens de faire passer mon ordinateur de travail de Fedora 20 à Fedora 21. L’un des codes que j’utilise quotidiennement utilise MPI. J’ai donc tenté de le recompiler une fois la mise à jour terminée, mais j’ai obtenu l’erreur suivante :
$ make -j9
[ 2%] Built target gotm
[ 46%] Built target lib
Linking CXX shared library libGmsh.so
/usr/bin/ld: ne peut trouver -lmpi_usempi
collect2: erreur: ld a retourné 1 code d'état d'exécution
gmsh/CMakeFiles/shared.dir/build.make:22345: recipe for target 'gmsh/libGmsh.so.2.8.6' failed
make[2]: *** [gmsh/libGmsh.so.2.8.6] Error 1
CMakeFiles/Makefile2:1328: recipe for target 'gmsh/CMakeFiles/shared.dir/all' failed
make[1]: *** [gmsh/CMakeFiles/shared.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
Pourtant, OpenMPI est bien installé :
$ yum info openmpi
Modules complémentaires chargés : langpacks
http://copr-be.cloud.fedoraproject.org/results/rhughes/f20-gnome-3-12/fedora-21-x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
http://copr-be.cloud.fedoraproject.org/results/rhughes/f20-gnome-3-12/fedora-21-i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
Paquets installés
Nom : openmpi
Architecture : x86_64
Version : 1.8.3
Révision : 2.fc21
Taille : 11 M
Dépôt : installed
Résumé : Open Message Passing Interface
URL : http://www.open-mpi.org/
Licence : BSD, MIT and Romio
Description : Open MPI is an open source, freely available
: implementation of both the MPI-1 and MPI-2 standards,
: combining technologies and resources from several other
: projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order
: to build the best MPI library available. A completely new
: MPI-2 compliant implementation, Open MPI offers advantages
: for system and software vendors, application developers,
: and computer science researchers. For more information,
: see http://www.open-mpi.org/ .
Paquets disponibles
Nom : openmpi
Architecture : i686
Version : 1.8.3
Révision : 2.fc21
Taille : 2.9 M
Dépôt : fedora/21/x86_64
Résumé : Open Message Passing Interface
URL : http://www.open-mpi.org/
Licence : BSD, MIT and Romio
Description : Open MPI is an open source, freely available
: implementation of both the MPI-1 and MPI-2 standards,
: combining technologies and resources from several other
: projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order
: to build the best MPI library available. A completely new
: MPI-2 compliant implementation, Open MPI offers advantages
: for system and software vendors, application developers,
: and computer science researchers. For more information,
: see http://www.open-mpi.org/ .
Mon architecture étant un x86_64.
Sachant que le code compilait sans problème sous Fedora 20.
Je sèche un peu : quelqu’un a-t-il une idée pour corriger le problème ?
À bientôt.
Le Farfadet Spatial