Skip to content

Commit 66468d6

Browse files
authored
Merge pull request #9 from Reference-LAPACK/master
rebase
2 parents 19dc53b + 5472d5e commit 66468d6

File tree

6,164 files changed

+8941
-19326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,164 files changed

+8941
-19326
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'Type: Bug'
6+
assignees: ''
7+
8+
---
9+
**Description**
10+
11+
**Checklist**
12+
13+
- [ ] I've included a minimal example to reproduce the issue
14+
- [ ] I'd be willing to make a PR to solve this issue
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Feature request
3+
about: Request a feature
4+
title: ''
5+
labels: 'Type: Feature request'
6+
assignees: ''
7+
8+
---

.github/ISSUE_TEMPLATE/help_wanted.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Question
3+
about: Ask a question related to the use of the package
4+
title: ''
5+
labels: 'Type: Question'
6+
assignees: ''
7+
8+
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**Description**
2+
3+
**Checklist**
4+
5+
- [ ] The documententation has been updated
6+
- [ ] If the PR solves a specific issue, it is set to be closed on merge.

.travis.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,22 @@ matrix:
2121
script:
2222
- rm -f make.inc
2323
- cp make.inc.example make.inc
24-
- make -s -j2 all
24+
- make FFLAGS="-fimplicit-none -frecursive -fcheck=all" -s -j2 all
2525
- make -j2 lapack_install
2626
- os: linux
2727
name: "CMake Coverage Test on Linux"
2828
env: CMAKE_BUILD_TYPE=Coverage
2929
- os: osx
30-
name: "CMake Release Test on Mac OS X"
31-
osx_image: xcode10.3
30+
name: "CMake Release Test on macOS Big Sur"
31+
osx_image: xcode12.3
3232
env: CMAKE_BUILD_TYPE=Release
3333
- os: osx
34-
name: "CMake Release Test on OSX Catalina"
35-
osx_image: xcode12.2
36-
env: CMAKE_BUILD_TYPE=Release
37-
- os: osx
38-
osx_image: xcode10.3
39-
name: "Makefile Test on Mac OS X"
34+
osx_image: xcode12.3
35+
name: "Makefile Test on on macOS Big Sur"
4036
script:
4137
- rm -f make.inc
4238
- cp make.inc.example make.inc
43-
- make -s -j2 all
39+
- make FFLAGS="-fimplicit-none -frecursive -fcheck=all" -s -j2 all
4440
- make -j2 lapack_install
4541

4642
before_script:
@@ -63,7 +59,9 @@ script:
6359
-DLAPACKE:BOOL=ON
6460
-DBUILD_TESTING=ON
6561
-DLAPACKE_WITH_TMG:BOOL=ON
66-
-DCMAKE_Fortran_FLAGS:STRING="-fimplicit-none -frecursive"
62+
-DBUILD_SHARED_LIBS:BOOL=ON
63+
-DCMAKE_Fortran_FLAGS:STRING="-fimplicit-none -frecursive -fcheck=all"
64+
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
6765
${SRC_DIR}
6866
- ctest -D ExperimentalStart
6967
- ctest -D ExperimentalConfigure

BLAS/SRC/CMakeLists.txt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,22 @@
2828
#---------------------------------------------------------
2929
# Level 1 BLAS
3030
#---------------------------------------------------------
31-
set(SBLAS1 isamax.f sasum.f saxpy.f scopy.f sdot.f snrm2.f
32-
srot.f srotg.f sscal.f sswap.f sdsdot.f srotmg.f srotm.f)
3331

34-
set(CBLAS1 scabs1.f scasum.f scnrm2.f icamax.f caxpy.f ccopy.f
35-
cdotc.f cdotu.f csscal.f crotg.f cscal.f cswap.f csrot.f)
32+
set(SBLAS1 isamax.f sasum.f saxpy.f scopy.f sdot.f snrm2.f90
33+
srot.f srotg.f90 sscal.f sswap.f sdsdot.f srotmg.f srotm.f)
3634

37-
set(DBLAS1 idamax.f dasum.f daxpy.f dcopy.f ddot.f dnrm2.f
38-
drot.f drotg.f dscal.f dsdot.f dswap.f drotmg.f drotm.f)
35+
set(CBLAS1 scabs1.f scasum.f scnrm2.f90 icamax.f caxpy.f ccopy.f
36+
cdotc.f cdotu.f csscal.f crotg.f90 cscal.f cswap.f csrot.f)
3937

40-
set(ZBLAS1 dcabs1.f dzasum.f dznrm2.f izamax.f zaxpy.f zcopy.f
41-
zdotc.f zdotu.f zdscal.f zrotg.f zscal.f zswap.f zdrot.f)
38+
set(DBLAS1 idamax.f dasum.f daxpy.f dcopy.f ddot.f dnrm2.f90
39+
drot.f drotg.f90 dscal.f dsdot.f dswap.f drotmg.f drotm.f)
4240

43-
set(CB1AUX isamax.f sasum.f saxpy.f scopy.f snrm2.f sscal.f)
41+
set(ZBLAS1 dcabs1.f dzasum.f dznrm2.f90 izamax.f zaxpy.f zcopy.f
42+
zdotc.f zdotu.f zdscal.f zrotg.f90 zscal.f zswap.f zdrot.f)
4443

45-
set(ZB1AUX idamax.f dasum.f daxpy.f dcopy.f dnrm2.f dscal.f)
44+
set(CB1AUX isamax.f sasum.f saxpy.f scopy.f snrm2.f90 sscal.f)
45+
46+
set(ZB1AUX idamax.f dasum.f daxpy.f dcopy.f dnrm2.f90 dscal.f)
4647

4748
#---------------------------------------------------------------------
4849
# Auxiliary routines needed by both the Level 2 and Level 3 BLAS

BLAS/SRC/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@
5656
TOPSRCDIR = ../..
5757
include $(TOPSRCDIR)/make.inc
5858

59+
.SUFFIXES: .F .f90 .o
60+
.F.o:
61+
$(FC) $(FFLAGS) -c -o $@ $<
62+
.f90.o:
63+
$(FC) $(FFLAGS) -c -o $@ $<
64+
5965
.PHONY: all
6066
all: $(BLASLIB)
6167

BLAS/SRC/caxpy.f

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@
7272
*> \author Univ. of Colorado Denver
7373
*> \author NAG Ltd.
7474
*
75-
*> \date November 2017
76-
*
7775
*> \ingroup complex_blas_level1
7876
*
7977
*> \par Further Details:
@@ -88,10 +86,9 @@
8886
* =====================================================================
8987
SUBROUTINE CAXPY(N,CA,CX,INCX,CY,INCY)
9088
*
91-
* -- Reference BLAS level1 routine (version 3.8.0) --
89+
* -- Reference BLAS level1 routine --
9290
* -- Reference BLAS is a software package provided by Univ. of Tennessee, --
9391
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
94-
* November 2017
9592
*
9693
* .. Scalar Arguments ..
9794
COMPLEX CA
@@ -136,4 +133,7 @@ SUBROUTINE CAXPY(N,CA,CX,INCX,CY,INCY)
136133
END IF
137134
*
138135
RETURN
136+
*
137+
* End of CAXPY
138+
*
139139
END

BLAS/SRC/ccopy.f

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@
6565
*> \author Univ. of Colorado Denver
6666
*> \author NAG Ltd.
6767
*
68-
*> \date November 2017
69-
*
7068
*> \ingroup complex_blas_level1
7169
*
7270
*> \par Further Details:
@@ -81,10 +79,9 @@
8179
* =====================================================================
8280
SUBROUTINE CCOPY(N,CX,INCX,CY,INCY)
8381
*
84-
* -- Reference BLAS level1 routine (version 3.8.0) --
82+
* -- Reference BLAS level1 routine --
8583
* -- Reference BLAS is a software package provided by Univ. of Tennessee, --
8684
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
87-
* November 2017
8885
*
8986
* .. Scalar Arguments ..
9087
INTEGER INCX,INCY,N
@@ -122,4 +119,7 @@ SUBROUTINE CCOPY(N,CX,INCX,CY,INCY)
122119
END DO
123120
END IF
124121
RETURN
122+
*
123+
* End of CCOPY
124+
*
125125
END

BLAS/SRC/cdotc.f

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
*> \author Univ. of Colorado Denver
6868
*> \author NAG Ltd.
6969
*
70-
*> \date November 2017
71-
*
7270
*> \ingroup complex_blas_level1
7371
*
7472
*> \par Further Details:
@@ -83,10 +81,9 @@
8381
* =====================================================================
8482
COMPLEX FUNCTION CDOTC(N,CX,INCX,CY,INCY)
8583
*
86-
* -- Reference BLAS level1 routine (version 3.8.0) --
84+
* -- Reference BLAS level1 routine --
8785
* -- Reference BLAS is a software package provided by Univ. of Tennessee, --
8886
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
89-
* November 2017
9087
*
9188
* .. Scalar Arguments ..
9289
INTEGER INCX,INCY,N
@@ -131,4 +128,7 @@ COMPLEX FUNCTION CDOTC(N,CX,INCX,CY,INCY)
131128
END IF
132129
CDOTC = CTEMP
133130
RETURN
131+
*
132+
* End of CDOTC
133+
*
134134
END

0 commit comments

Comments
 (0)