Skip to content

Commit 86653d6

Browse files
committed
New ext lib + version 26.0
1 parent 5244ddb commit 86653d6

File tree

13 files changed

+812
-537
lines changed

13 files changed

+812
-537
lines changed

Ext_Lib/AD_dnSVM_loc/compilers.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#=================================================================================
22
# gfortran (osx and linux)
33
#=================================================================================
4-
ifeq ($(FFC),gfortran)
4+
ifeq ($(FFC),$(filter $(FFC),gfortran gfortran-11 gfortran-14 gfortran-15))
55

66
# optimization management (default without optimization)
77
ifeq ($(OOPT),1)

Ext_Lib/AD_dnSVM_loc/fpm.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "AD_dnSVM"
2-
version = "0.0.0"
2+
version = "5.0"
33
license = "MIT"
44
author = "David Lauvergnat"
55
maintainer = "david.lauvergnat@universite-paris-saclay.fr"

Ext_Lib/QDUtilLib_loc/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ res
77
test_io_file.txt
88
TESTS/*log
99
TESTS/res*
10-
file.*
10+
file.*
11+
doc/ford_site

Ext_Lib/QDUtilLib_loc/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ $(QDLIBA): $(OBJ)
145145
$(OBJ_DIR)/%.o: %.f90
146146
$(FFC) $(FFLAGS) -o $@ -c $<
147147
#===============================================
148+
#============= documentation with ford =========
149+
#===============================================
150+
.PHONY: doc
151+
doc:
152+
ford doc/ford-front-matter.md
153+
#===============================================
148154
#================ cleaning =====================
149155
.PHONY: clean cleanall
150156
clean:
@@ -155,6 +161,7 @@ clean:
155161
#
156162
cleanall : clean
157163
rm -fr OBJ/obj* OBJ/*mod build
164+
rm -fr doc/ford_site
158165
rm -f libQD*.a
159166
rm -f TESTS/res* TESTS/*log
160167
@echo " done all cleaning"

Ext_Lib/QDUtilLib_loc/README.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It has been tested with:
1313

1414
### a) with a makefile:
1515

16-
To build the library, **libQD_gfortran_opt1_lapack1_omp1.a**, with the default options (OPt=1, OMP=1, LAPACK=1, INT=4)
16+
To build the library, **libQD_gfortran_opt1_lapack1_omp1.a**, with the default options (OPT=1, OMP=1, LAPACK=1, INT=4)
1717
```bash
1818
make lib
1919
```
@@ -33,15 +33,15 @@ Remove some files, but keep the libraries, **libQD_XXX_optW_lapackX_ompY_intZ.a*
3333
make cleanall
3434
```
3535

36-
Remove all files
36+
Remove all files (executable, library, .mod, .o, build, documentation)
3737

3838
To test the module, in TESTS directory, run
3939

4040
```bash
4141
./run_tests.sh
4242
```
4343

44-
The tests are running with gfortran and several option combinations:
44+
The tests are running with gfortran and with combinations of several options:
4545

4646
- OPT=1 or 0: compilation with optimization or without optimization
4747
- OMP=1 or 0: with or without openmp
@@ -79,6 +79,21 @@ To run an example:
7979
fpm run AppQDLib
8080
```
8181

82+
### c) Documentation installation
83+
84+
The documentation is build with ford and you have two ways to make it:
85+
86+
With the makefile:
87+
```bash
88+
make doc
89+
```
90+
or directly with ford:
91+
```bash
92+
ford doc/ford-front-matter.md
93+
```
94+
95+
The documentation is available as: "doc/ford_site/index.html"
96+
8297
## 2) How tu use it
8398

8499
### 2a) With fpm
@@ -182,7 +197,7 @@ All functions are **elemental** (except **TO_string(frac)**). Therefore, one can
182197
TYPE(Frac_t), allocatable :: tab_Frac(:)
183198
184199
Frac1 = '1/-2' ! use the conversion from string to Frac_t
185-
write(*,*) 'Frac1: ',TO_String(Frac1) ! it give "Frac1: -1/2"
200+
write(*,*) 'Frac1: ',TO_String(Frac1) ! it gives "Frac1: -1/2"
186201
Frac2 = -2*Frac1 ! here the result is one and it is simplified
187202
write(*,*) 'Frac2: ',TO_String(Frac2) ! it give "Frac2: 1"
188203
Frac2 = Frac1**3
@@ -227,8 +242,6 @@ This module contains public functions and subroutines to perform some lienar alg
227242

228243
### Diagonalization
229244

230-
This module contains public subroutines to digonlize a matrix with the default real kind (kind=Rkind). It can use some LAPACK subroutines:
231-
232-
- Subroutine to diagnalize a real matrix: **diagonalization**
233-
245+
This module contains public subroutines to digonalize a matrix with the default real kind (kind=Rkind). It can use some LAPACK subroutines:
234246

247+
- Subroutine to diagnalize a real matrix: **diagonalization**

0 commit comments

Comments
 (0)