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

Commit

Permalink
Merge pull request #2 from andersx/master
Browse files Browse the repository at this point in the history
Merge setup py and tests
  • Loading branch information
andersx authored May 30, 2017
2 parents 4fe6e50 + f16ef05 commit a9b17e1
Show file tree
Hide file tree
Showing 7,135 changed files with 364 additions and 387 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

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

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
47 changes: 0 additions & 47 deletions Makefile

This file was deleted.

20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,33 @@ By default FML compiles with GCC's gfortran and your system's standard BLAS+LAPA

sudo apt-get install libblas-dev liblapack-dev

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

1.1) First you clone this repository:
First you clone this repository:

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

1.2) Then you simply compile by typing make in the fml folder:
Then you simply compile by typing make in the fml folder:

make

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`.

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

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

1.4) TODO: create `setup.py` install script

### 1.2) Installing via `pip`:

pip2 install git+https://github.com/andersx/qml@pip --user

### 1.3) Installing via `setup.py` with Intel compiler:

python2 setup.py build --compiler=intelem --fcompiler=intelem
python2 setup.py install --prefix=/home/$USER/lib/qml


## 2) Representations of compounds:

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


## 3.1) Calculate kernels using the `Compound` class:

... to be updated


## 3.2) Calculate kernels using the `qml.kernels` module directly


Expand Down
47 changes: 0 additions & 47 deletions makefiles/Makefile.gnu

This file was deleted.

47 changes: 0 additions & 47 deletions makefiles/Makefile.gnu_mkl

This file was deleted.

49 changes: 0 additions & 49 deletions makefiles/Makefile.intel

This file was deleted.

25 changes: 0 additions & 25 deletions qml/distance/__init__.py

This file was deleted.

33 changes: 0 additions & 33 deletions qml/math/__init__.py

This file was deleted.

42 changes: 0 additions & 42 deletions qml/representations/__init__.py

This file was deleted.

Loading

0 comments on commit a9b17e1

Please sign in to comment.