We’ve had another report of that before. It looks like when openblas_utest (and probably subsequent test executables) no rpath is set. If a compatible libgfortran is not found in the normal ldpath you get that error. We don’t set LD_LIBRARY_PATH anymore do we? It may pay to set one to run openblas tests or patch the corresponding makefile.
François > On 12/10/2016, at 20:18, Sébastien Labbé <[email protected]> wrote: > > On Ubuntu 16.04, running make ptestlong finishes with "Error installing > package openblas-0.2.19" with the following line in the openblas-0.2.19.log > > ./openblas_utest: error while loading shared libraries: libgfortran.so.3: > cannot open shared object file: No such file or directory > > The end of the file logs/pkgs/openblas-0.2.19.log is > > ... > OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./zblat3 < ./zblat3.dat > OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./zblat2 < ./zblat2.dat > rm -f ?BLAT3.SUMM > OPENBLAS_NUM_THREADS=2 ./sblat3 < ./sblat3.dat > rm -f ?BLAT2.SUMM > OPENBLAS_NUM_THREADS=2 ./sblat2 < ./sblat2.dat > OPENBLAS_NUM_THREADS=2 ./dblat3 < ./dblat3.dat > OPENBLAS_NUM_THREADS=2 ./cblat3 < ./cblat3.dat > OPENBLAS_NUM_THREADS=2 ./dblat2 < ./dblat2.dat > OPENBLAS_NUM_THREADS=2 ./zblat3 < ./zblat3.dat > OPENBLAS_NUM_THREADS=2 ./cblat2 < ./cblat2.dat > OPENBLAS_NUM_THREADS=2 ./zblat2 < ./zblat2.dat > make[4]: Leaving directory > '/home/labbe/Applications/sage-git/local/var/tmp/sage/build/openblas-0.2.19/src/test' > make -j 4 -C utest all > make[4]: Entering directory > '/home/labbe/Applications/sage-git/local/var/tmp/sage/build/openblas-0.2.19/src' > make[4]: warning: -jN forced in submake: disabling jobserver mode. > gcc -O2 -DUTEST_CHECK -DSANITY_CHECK -DREFNAME=utest_mainf_ > -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER > -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME=utest_main -DASMFNAME=utest_main_ > -DNAME=utest_main_ -DCNAME=utest_main -DCHAR_NAME=\"utest_main_\" > -DCHAR_CNAME=\"utest_main\" -DNO_AFFINITY -I.. -c -o utest_main.o > utest_main.c > gcc -O2 -DUTEST_CHECK -DSANITY_CHECK -DREFNAME=test_amaxf_ > -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER > -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME=test_amax -DASMFNAME=test_amax_ > -DNAME=test_amax_ -DCNAME=test_amax -DCHAR_NAME=\"test_amax_\" > -DCHAR_CNAME=\"test_amax\" -DNO_AFFINITY -I.. -c -o test_amax.o test_amax.c > gcc -O2 -DUTEST_CHECK -DSANITY_CHECK -DREFNAME=test_potrsf_ > -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER > -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME=test_potrs -DASMFNAME=test_potrs_ > -DNAME=test_potrs_ -DCNAME=test_potrs -DCHAR_NAME=\"test_potrs_\" > -DCHAR_CNAME=\"test_potrs\" -DNO_AFFINITY -I.. -c -o test_potrs.o > test_potrs.c > gcc -O2 -DUTEST_CHECK -DSANITY_CHECK -DREFNAME=f_ -DMAX_STACK_ALLOC=2048 > -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP > -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= > -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -o openblas_utest > utest_main.o test_amax.o test_potrs.o ../libopenblas_haswellp-r0.2.19.a -lm > -lpthread -lgfortran -lm -lpthread -lgfortran > -L/home/labbe/Applications/sage-git/local/lib/../lib64 > -L/home/labbe/Applications/sage-git/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.3 > > -L/home/labbe/Applications/sage-git/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../lib64 > -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu > -L/home/labbe/Applications/sage-git/local/lib -L/usr/lib/x86_64-linux-gnu > -L/home/labbe/Applications/sage-git/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../.. > -lgfortran -lm -lquadmath -lm -lc > ./openblas_utest > ./openblas_utest: error while loading shared libraries: libgfortran.so.3: > cannot open shared object file: No such file or directory > Makefile:25: recipe for target 'run_test' failed > make[4]: *** [run_test] Error 127 > make[4]: Leaving directory > '/home/labbe/Applications/sage-git/local/var/tmp/sage/build/openblas-0.2.19/src/utest' > Makefile:111: recipe for target 'tests' failed > make[3]: *** [tests] Error 2 > make[3]: Leaving directory > '/home/labbe/Applications/sage-git/local/var/tmp/sage/build/openblas-0.2.19/src' > Error building OpenBLAS > > real 4m46.044s > user 7m10.240s > sys 0m36.104s > ************************************************************************ > Error installing package openblas-0.2.19 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > /home/labbe/Applications/sage-git/logs/pkgs/openblas-0.2.19.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /home/labbe/Applications/sage-git/local/var/tmp/sage/build/openblas-0.2.19 > and type 'make' or whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd > '/home/labbe/Applications/sage-git/local/var/tmp/sage/build/openblas-0.2.19' > && '/home/labbe/Applications/sage-git/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > > If necessary, full log available here: > http://www.slabbe.org/tmp/openblas-0.2.19.log > > When I do > > make openblas > > I get the same error again. > > I did not "make distclean" yet. > > Sébastien > > -- > You received this message because you are subscribed to the Google Groups > "sage-release" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sage-release. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
