Commit ecbf8421 authored by Nick R. Papior's avatar Nick R. Papior
Browse files

Made older shipped libraries issue a warning on compilation

- The linalg.a libraries (etc.) are now deprecated in favor
  of libsiestaBLAS.a and/or libsiestaLAPACK.a

  Trying to use the previous libraries in COMP_LIBS
  results in a warning message and quits.
parent cc4d7315
......@@ -421,24 +421,28 @@ libsiestaLAPACK.a: Libs/lapack.f
@echo "==> Compiling libsiestaLAPACK.a in Libs..."
@(cd Libs ; $(MAKE) -j 1 "VPATH=$(VPATH)/Libs" "FFLAGS=$(FFLAGS:$(IPO_FLAG)=)" libsiestaLAPACK.a)
@cp Libs/libsiestaLAPACK.a .
libblas.a: Libs/blas.f
@echo "==> Compiling libblas.a in Libs..."
@(cd Libs ; $(MAKE) -j 1 "VPATH=$(VPATH)/Libs" "FFLAGS=$(FFLAGS:$(IPO_FLAG)=)" libblas.a)
liblapack.a: Libs/lapack.f
@echo "==> Compiling liblapack.a in Libs..."
@(cd Libs ; $(MAKE) -j 1 "VPATH=$(VPATH)/Libs" "FFLAGS=$(FFLAGS:$(IPO_FLAG)=)" liblapack.a)
linalg.a: Libs/blas.f Libs/lapack.f
@echo "==> Compiling linalg.a in Libs..."
@(cd Libs ; $(MAKE) -j 1 "VPATH=$(VPATH)/Libs" "FFLAGS=$(FFLAGS:$(IPO_FLAG)=)" linalg.a)
dc_lapack.a: Libs/dc_lapack.f
@echo "==> Compiling dc_lapack.a in Libs..."
@(cd Libs ; $(MAKE) -j 1 "VPATH=$(VPATH)/Libs" "FFLAGS=$(FFLAGS:$(IPO_FLAG)=)" dc_lapack.a)
zgesv_lapack.a: Libs/zgesv_lapack.f
@echo "==> Compiling zgesv_lapack.a in Libs..."
@(cd Libs ; $(MAKE) -j 1 "VPATH=$(VPATH)/Libs" "FFLAGS=$(FFLAGS:$(IPO_FLAG)=)" zgesv_lapack.a)
essl_lapack.a: Libs/essl_lapack.f
@echo "==> Compiling essl_lapack.a in Libs..."
@(cd Libs ; $(MAKE) -j 1 "VPATH=$(VPATH)/Libs" "FFLAGS=$(FFLAGS:$(IPO_FLAG)=)" essl_lapack.a)
libblas.a:
@echo ""
@echo "SIESTA: $@ has been deprecated in favor of:"
@echo " COMP_LIBS += libsiestaBLAS.a"
@echo "Please update your arch.make file accordingly..."
@echo ""
@false
liblapack.a dc_lapack.a zgesv_lapack.a essl_lapack.a:
@echo ""
@echo "SIESTA: $@ has been deprecated in favor of:"
@echo " COMP_LIBS += libsiestaLAPACK.a"
@echo "Please update your arch.make file accordingly..."
@echo ""
@false
linalg.a:
@echo ""
@echo "SIESTA: $@ has been deprecated in favor of:"
@echo " COMP_LIBS += libsiestaLAPACK.a libsiestaBLAS.a"
@echo "Please update your arch.make file accordingly..."
@echo ""
@false
.PHONY: version.o
......@@ -1088,7 +1092,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -588,7 +588,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys_local.o
......
......@@ -646,7 +646,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -642,7 +642,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -580,7 +580,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -583,7 +583,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -656,7 +656,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -587,7 +587,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -823,7 +823,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -587,7 +587,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -645,7 +645,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
......@@ -613,7 +613,7 @@ m_ts_voltage.o: m_ts_electype.o m_ts_options.o m_ts_tdir.o parallel.o
m_ts_voltage.o: precision.o units.o
m_ts_weight.o: class_OrbitalDistribution.o class_SpData2D.o class_Sparsity.o
m_ts_weight.o: geom_helper.o m_ts_chem_pot.o m_ts_contour_neq.o m_ts_electype.o
m_ts_weight.o: parallel.o precision.o
m_ts_weight.o: parallel.o precision.o units.o
m_wallclock.o: m_walltime.o
m_writedelk.o: atm_types.o atmfuncs.o atomlist.o files.o parallel.o
m_writedelk.o: parallelsubs.o precision.o siesta_geom.o sys.o
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment