Skip to content

Commit 5b5235f

Browse files
committed
Version 0.1.0
1 parent 1de2c60 commit 5b5235f

File tree

313 files changed

+36692
-15620
lines changed

Some content is hidden

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

313 files changed

+36692
-15620
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
*.pyc
2+
*.pyo
3+
.ipynb_checkpoints/
4+
*.so
5+
6+
build
7+
*build*
8+
*egg*
9+
*dist*
10+
usr
11+
*cache*
12+
13+
*.swp
14+
*.log
15+
16+
doc/_static
17+
doc/_build
18+
doc/api-python
19+
20+
21+
psydac/core/bsp-f2py*
22+
psydac/core/bspmodule.c
23+
psydac/core/*.so

.travis.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
sudo: required
2+
language: python
3+
4+
# which python versions to test
5+
python:
6+
- "3.5"
7+
- "3.6"
8+
9+
# Enable 3.7 without globally enabling 'dist: xenial' for other build jobs
10+
matrix:
11+
include:
12+
- python: 3.7
13+
dist: xenial
14+
15+
# Cache directory $HOME/.cache/pip
16+
cache: pip
17+
18+
# command before installation: install all dependencies and run CMAKE config
19+
before_install:
20+
- sudo apt-get install gfortran
21+
- sudo apt-get install openmpi-bin libopenmpi-dev
22+
- sudo apt-get install libhdf5-openmpi-dev
23+
- ompi_info
24+
- h5pcc -showconfig -echo || true
25+
- export CC="mpicc" HDF5_MPI="ON" HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/openmpi
26+
- python -m pip install --upgrade pip
27+
- python -m pip uninstall -y psydac
28+
- python -m pip uninstall -y sympde
29+
- python -m pip uninstall -y pyccel
30+
- python -m pip uninstall -y gelato
31+
- python -m pip install -r requirements.txt
32+
33+
# command to install project
34+
install:
35+
- python -m pip install .
36+
- python -m pip freeze
37+
38+
before_script:
39+
- mkdir pytest
40+
- cp mpi_tester.py pytest
41+
- export PSYDAC_MESH_DIR=$TRAVIS_BUILD_DIR/mesh
42+
43+
# command to run tests
44+
script:
45+
- cd pytest
46+
- python -m pytest --pyargs psydac -m "not parallel"
47+
- python mpi_tester.py --pyargs psydac -m "parallel"
48+
- cd -
49+
50+
after_script:
51+
- rm -rf pytest

CMakeLists.txt

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

CMakeModules/CPackConfig.cmake

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

CMakeModules/CorrectWindowsPaths.cmake

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

CMakeModules/DoxygenConfig.cmake

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

CMakeModules/FFTConfig.cmake

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

0 commit comments

Comments
 (0)