Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Commit a9b17e1

Browse files
authored
Merge pull request #2 from andersx/master
Merge setup py and tests
2 parents 4fe6e50 + f16ef05 commit a9b17e1

File tree

7,135 files changed

+364
-387
lines changed

Some content is hidden

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

7,135 files changed

+364
-387
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Anders Christensen
3+
Copyright (c) 2017 Anders Steen Christensen, Felix Faber, O.Anatole von Lilienfeld
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 0 additions & 47 deletions
This file was deleted.

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,33 @@ By default FML compiles with GCC's gfortran and your system's standard BLAS+LAPA
1313

1414
sudo apt-get install libblas-dev liblapack-dev
1515

16+
### 1.1) Installing via the `Makefile` (will be removed):
1617
Ok, on to the installation instructions:
1718

18-
1.1) First you clone this repository:
19+
First you clone this repository:
1920

2021
git clone https://github.com/qmlcode/qml.git
2122

22-
1.2) Then you simply compile by typing make in the fml folder:
23+
Then you simply compile by typing make in the fml folder:
2324

2425
make
2526

2627
Note: If you access to the Intel compilers, you can replace the default `Makefile` with a different `Makefile.*` from the `makefiles/` folder. E.g. `Makefile.intel` will compile the F2PY interface with `ifort` and link to MKL. The default `Makefile` is identical to `Makefile.gnu`.
2728

28-
1.3) To make everything accessible to your Python export the fml root-folder to your PYTHONPATH.
29+
To make everything accessible to your Python export the fml root-folder to your PYTHONPATH.
2930

3031
export PYTHONPATH=/path/to/installation/qml:$PYTHONPATH
3132

32-
1.4) TODO: create `setup.py` install script
33+
34+
### 1.2) Installing via `pip`:
35+
36+
pip2 install git+https://github.com/andersx/qml@pip --user
37+
38+
### 1.3) Installing via `setup.py` with Intel compiler:
39+
40+
python2 setup.py build --compiler=intelem --fcompiler=intelem
41+
python2 setup.py install --prefix=/home/$USER/lib/qml
42+
3343

3444
## 2) Representations of compounds:
3545

@@ -93,8 +103,10 @@ Generate ~100K atomic coulomb matrices = 0.22s
93103

94104

95105
## 3.1) Calculate kernels using the `Compound` class:
106+
96107
... to be updated
97108

109+
98110
## 3.2) Calculate kernels using the `qml.kernels` module directly
99111

100112

makefiles/Makefile.gnu

Lines changed: 0 additions & 47 deletions
This file was deleted.

makefiles/Makefile.gnu_mkl

Lines changed: 0 additions & 47 deletions
This file was deleted.

makefiles/Makefile.intel

Lines changed: 0 additions & 49 deletions
This file was deleted.

qml/distance/__init__.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

qml/math/__init__.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

qml/representations/__init__.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)