{"issue":{"created_at":"2011-11-23T12:45:09Z","state":"open","updated_at":"2011-11-24T11:50:11Z","user":{"gravatar_id":"b16a6aaaab56cad5fac845997d15b653","id":853784,"url":"https://api.github.com/users/MarbolanGos","login":"MarbolanGos","avatar_url":"https://secure.gravatar.com/avatar/b16a6aaaab56cad5fac845997d15b653?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"As lapack was updated I was thinking is it possible easily to use it.\r\nI made those changes to the Makefile:\r\n\r\n--- Makefile.old\t2011-11-23 13:36:44.000000000 +0100\r\n+++ Makefile\t2011-11-23 13:38:38.000000000 +0100\r\n@@ -195,47 +195,47 @@\r\n netlib : \r\n \r\n else\r\n-netlib : lapack-3.1.1 patch.for_lapack-3.1.1 lapack-3.1.1/make.inc\r\n+netlib : lapack-3.4.0 patch.for_lapack-3.4.0 lapack-3.4.0/make.inc\r\n ifndef NOFORTRAN\r\n-\t-@$(MAKE) -C lapack-3.1.1 lapacklib\r\n+\t-@$(MAKE) -C lapack-3.4.0 lapacklib\r\n endif\r\n endif\r\n \r\n-prof_lapack : lapack-3.1.1 lapack-3.1.1/make.inc\r\n-\t-@$(MAKE) -C lapack-3.1.1 lapack_prof\r\n+prof_lapack : lapack-3.4.0 lapack-3.4.0/make.inc\r\n+\t-@$(MAKE) -C lapack-3.4.0 lapack_prof\r\n \r\n-lapack-3.1.1/make.inc :\r\n+lapack-3.4.0/make.inc :\r\n ifndef NOFORTRAN\r\n-\t-@echo \"FORTRAN   = $(FC)\" > lapack-3.1.1/make.inc\r\n-\t-@echo \"OPTS      = $(FFLAGS)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"POPTS     = $(FPFLAGS)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"NOOPT     = $(FFLAGS) -O0\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"PNOOPT     = $(FPFLAGS) -O0\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"LOADOPTS  = $(FFLAGS) $(EXTRALIB)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"ARCH      = $(AR)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"RANLIB    = $(RANLIB)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"LAPACKLIB = ../$(LIBNAME)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"LAPACKLIB_P = ../$(LIBNAME_P)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"SUFFIX     = $(SUFFIX)\" >> lapack-3.1.1/make.inc\r\n-\t-@echo \"PSUFFIX    = $(PSUFFIX)\" >> lapack-3.1.1/make.inc\r\n-#\t-@echo \"CEXTRALIB  = $(CEXTRALIB)\" >> lapack-3.1.1/make.inc\r\n-\t-@cat  make.inc >> lapack-3.1.1/make.inc\r\n+\t-@echo \"FORTRAN   = $(FC)\" > lapack-3.4.0/make.inc\r\n+\t-@echo \"OPTS      = $(FFLAGS)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"POPTS     = $(FPFLAGS)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"NOOPT     = $(FFLAGS) -O0\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"PNOOPT     = $(FPFLAGS) -O0\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"LOADOPTS  = $(FFLAGS) $(EXTRALIB)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"ARCH      = $(AR)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"RANLIB    = $(RANLIB)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"LAPACKLIB = ../$(LIBNAME)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"LAPACKLIB_P = ../$(LIBNAME_P)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"SUFFIX     = $(SUFFIX)\" >> lapack-3.4.0/make.inc\r\n+\t-@echo \"PSUFFIX    = $(PSUFFIX)\" >> lapack-3.4.0/make.inc\r\n+#\t-@echo \"CEXTRALIB  = $(CEXTRALIB)\" >> lapack-3.4.0/make.inc\r\n+\t-@cat  make.inc >> lapack-3.4.0/make.inc\r\n endif\r\n \r\n-lapack-3.1.1 : lapack-3.1.1.tgz\r\n+lapack-3.4.0 : lapack-3.4.0.tgz\r\n ifndef NOFORTRAN\r\n-\t@if test `$(MD5SUM) lapack-3.1.1.tgz | $(AWK) '{print $$1}'` = 00b21551a899bcfbaa7b8443e1faeef9; then \\\r\n+\t@if test `$(MD5SUM) lapack-3.4.0.tgz | $(AWK) '{print $$1}'` = 00b21551a899bcfbaa7b8443e1faeef9; then \\\r\n \t\techo $(TAR) zxf $< ;\\\r\n-\t\t$(TAR) zxf $< && (cd lapack-3.1.1; $(PATCH) -p1 < ../patch.for_lapack-3.1.1) ;\\\r\n+\t\t$(TAR) zxf $< && (cd lapack-3.4.0; $(PATCH) -p1 < ../patch.for_lapack-3.4.0) ;\\\r\n \telse \\\r\n-\t\techo \"\tlapack-3.1.1.tgz check sum is wrong (Please use orignal).\" ;\\\r\n-\t\trm -rf lapack-3.1.1 ;\\\r\n+\t\techo \"\tlapack-3.4.0.tgz check sum is wrong (Please use orignal).\" ;\\\r\n+\t\trm -rf lapack-3.4.0 ;\\\r\n \tfi\r\n endif\r\n \r\n-lapack-3.1.1.tgz :\r\n+lapack-3.4.0.tgz :\r\n ifndef NOFORTRAN\r\n-\t-wget http://www.netlib.org/lapack/lapack-3.1.1.tgz\r\n+\t-wget http://www.netlib.org/lapack/lapack-3.4.0.tgz\r\n endif\r\n \r\n large.tgz : \r\n@@ -248,21 +248,21 @@\r\n \t-wget http://www.netlib.org/lapack/timing/timing.tgz\r\n endif\r\n \r\n-lapack-timing : lapack-3.1.1 large.tgz timing.tgz\r\n+lapack-timing : lapack-3.4.0 large.tgz timing.tgz\r\n ifndef NOFORTRAN\r\n-\t(cd lapack-3.1.1; $(TAR) zxf ../timing.tgz TIMING)\r\n-\t(cd lapack-3.1.1/TIMING; $(TAR) zxf ../../large.tgz )\r\n-\tmake -C lapack-3.1.1 tmglib\r\n-\tmake -C lapack-3.1.1/TIMING\r\n+\t(cd lapack-3.4.0; $(TAR) zxf ../timing.tgz TIMING)\r\n+\t(cd lapack-3.4.0/TIMING; $(TAR) zxf ../../large.tgz )\r\n+\tmake -C lapack-3.4.0 tmglib\r\n+\tmake -C lapack-3.4.0/TIMING\r\n endif\r\n \r\n \r\n lapack-test :\r\n-\t$(MAKE) -C lapack-3.1.1 tmglib\r\n-\t$(MAKE) -C lapack-3.1.1/TESTING xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintstds xlintsts xlintstz xlintstzc\r\n-\t@rm\t-f lapack-3.1.1/TESTING/*.out\r\n-\t$(MAKE) -j 1 -C lapack-3.1.1/TESTING\r\n-\t$(GREP) failed lapack-3.1.1/TESTING/*.out\r\n+\t$(MAKE) -C lapack-3.4.0 tmglib\r\n+\t$(MAKE) -C lapack-3.4.0/TESTING xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintstds xlintsts xlintstz xlintstzc\r\n+\t@rm\t-f lapack-3.4.0/TESTING/*.out\r\n+\t$(MAKE) -j 1 -C lapack-3.4.0/TESTING\r\n+\t$(GREP) failed lapack-3.4.0/TESTING/*.out\r\n \r\n dummy :\r\n \r\n@@ -280,9 +280,9 @@\r\n #endif\r\n \t@rm -f *.$(LIBSUFFIX) *.so *~ *.exe getarch getarch_2nd *.dll *.lib *.$(SUFFIX) *.dwf libopenblas.$(LIBSUFFIX) libopenblas_p.$(LIBSUFFIX) *.lnk myconfig.h\r\n \t@rm -f Makefile.conf config.h Makefile_kernel.conf config_kernel.h st* *.dylib\r\n-\t@if test -d lapack-3.1.1; then \\\r\n-\techo deleting lapack-3.1.1; \\\r\n-\trm -rf lapack-3.1.1 ;\\\r\n+\t@if test -d lapack-3.4.0; then \\\r\n+\techo deleting lapack-3.4.0; \\\r\n+\trm -rf lapack-3.4.0 ;\\\r\n \tfi\r\n \t@rm -f *.grd Makefile.conf_last config_last.h\r\n-\t@echo Done.\r\n\\ Pas de fin de ligne à la fin du fichier.\r\n+\t@echo Done.\r\n\r\nCopied patch.for_lapack-3.1.1 into patch.for_lapack-3.4.0 and all compiled correctly in my:\r\n OpenBLAS build complete.\r\n\r\n  OS               ... Linux             \r\n  Architecture     ... x86_64               \r\n  BINARY           ... 64bit                 \r\n  C compiler       ... GCC  (command line : gcc)\r\n  Fortran compiler ... GFORTRAN  (command line : gfortran)\r\n  Library Name     ... libopenblas_penrynp-r0.1alpha2.4.a (Multi threaded; Max num-threads is 8)\r\n\r\n","assignee":{"gravatar_id":"5c1c497d1d369cb9cafa9a813e0db2e6","id":371600,"url":"https://api.github.com/users/xianyi","login":"xianyi","avatar_url":"https://secure.gravatar.com/avatar/5c1c497d1d369cb9cafa9a813e0db2e6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2329267,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":72,"labels":[{"name":"feature","color":"2d56cf","url":"https://api.github.com/repos/xianyi/OpenBLAS/labels/feature"}],"title":"Use lapack 3.4.0 instead of 3.1.1","closed_at":null,"html_url":"https://github.com/xianyi/OpenBLAS/issues/72","milestone":{"created_at":"2011-06-23T07:50:44Z","state":"open","due_on":"2011-11-18T08:00:00Z","closed_issues":11,"creator":{"gravatar_id":"5c1c497d1d369cb9cafa9a813e0db2e6","id":371600,"url":"https://api.github.com/users/xianyi","login":"xianyi","avatar_url":"https://secure.gravatar.com/avatar/5c1c497d1d369cb9cafa9a813e0db2e6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":3,"title":"0.1.0 stable release","description":"We  will meet another project deadline in early September. It's very hard to juggle projects on time. Thus, we must delay OpenBLAS 0.1.0 stable release to Nov. 2011.\r\n\r\nSorry for the delay\r\n\r\n","url":"https://api.github.com/repos/xianyi/OpenBLAS/milestones/3","open_issues":3},"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/72"},"action":"created","comment":{"created_at":"2011-11-24T11:50:09Z","updated_at":"2011-11-24T11:50:09Z","user":{"gravatar_id":"b16a6aaaab56cad5fac845997d15b653","id":853784,"url":"https://api.github.com/users/MarbolanGos","login":"MarbolanGos","avatar_url":"https://secure.gravatar.com/avatar/b16a6aaaab56cad5fac845997d15b653?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"You are right I changed other things. Sorry...\r\n\r\nThanks for updating lapack.","id":2861737,"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/comments/2861737"}}