Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=913152 --- Comment #6 from Paulo Andrade <paulo.cesar.pereira.de.andrade@xxxxxxxxx> --- > > 4. Please make a examples subpackage with the examples subdir, verify > > the README there, and validate it works. *OR* make of the examples > > subdirectory a %check section. This would help a reviewer to press > > "x" in the "Package functions as described" field. > > I've added a 'examples' sub-package that contains README and all > 'simpletest' files. But it seems to exist another problem by executing them: > > $ ./ssimpletest < input_simpletest_real > ./ssimpletest: error while loading shared libraries: libmpi_f77.so.1: cannot > open shared object file: No such file or directory You probably need write some wrapper script(s) to "module load mpi" $ cd BUILD/MUMPS_4.10.0/examples/ $ ./ssimpletest < input_simpletest_real ./ssimpletest: error while loading shared libraries: libmpi_f77.so.1: cannot open shared object file: No such file or directory $ module load mpi $ ./ssimpletest < input_simpletest_real ERROR in MPI_ALLREDUCE, DATATYPE= 7 $ ./dsimpletest < input_simpletest_real ERROR in MPI_ALLREDUCE, DATATYPE= 7 $ mpirun -np 2 ./ssimpletest < input_simpletest_real ERROR in MPI_ALLREDUCE, DATATYPE= 7 ERROR in MPI_ALLREDUCE, DATATYPE= 7 It appears to not be working... [...] > > MUMPS.x86_64: W: unused-direct-shlib-dependency > > /usr/lib64/libsmumps-4.10.0.so /lib64/libquadmath.so.0 > > 4 packages and 0 specfiles checked; 1 errors, 61 warnings. > > # echo 'rpmlint-done:' > > > > 'unused-direct-shlib-dependency' warnings seem the origin of dependency > problems during installation. > Sincerely, I don't know how resolve them. After a searching, it seems that > the flags '-Wl --as-needed' can be useful but it seems me they do not work. I am not sure about this either, using the last example, the the link command line does not have an explicit -lquadmath, and it should not be linked by gfotran: $ grep quadmath /usr/lib/gcc/x86_64-redhat-linux/4.8.0/libgfortran.spec *lib: %{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed} -lm %(libgcc) %(liborig) but something is pulling it. the link command line is: gfortran -shared smumps_part1.o smumps_part2.o smumps_part3.o smumps_part4.o smumps_part5.o smumps_part6.o smumps_part7.o smumps_part8.o smumps_comm_buffer.o smumps_load.o smumps_c.o smumps_ooc_buffer.o smumps_ooc.o smumps_struc_def.o -Wl,-soname,libsmumps-4.10.0.so -L../lib -lmumps_common -L../PORD/lib/ -lpord -L../libseq -lmpiseq -lblas -o ../lib/libsmumps-4.10.0.so -Wl,-z,defs -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=J90jSPO6F2&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review