diff --git a/pyfeelpp_tests.ipynb b/pyfeelpp_tests.ipynb
new file mode 100644
index 000000000..95b0ec7b1
--- /dev/null
+++ b/pyfeelpp_tests.ipynb
@@ -0,0 +1,947 @@
+{
+ "nbformat": 4,
+ "nbformat_minor": 0,
+ "metadata": {
+ "colab": {
+ "name": "pyfeelpp-tests.ipynb",
+ "provenance": [],
+ "collapsed_sections": [],
+ "authorship_tag": "ABX9TyMfyGSxE8DqUksRF10uEKWG",
+ "include_colab_link": true
+ },
+ "kernelspec": {
+ "name": "python3",
+ "display_name": "Python 3"
+ }
+ },
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "view-in-github",
+ "colab_type": "text"
+ },
+ "source": [
+ ""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "u1ZkrTtLX6Gc"
+ },
+ "source": [
+ "# Feel++ Notebook\n",
+ "\n",
+ "In this notebook, we \n",
+ "\n",
+ "\n",
+ "* install Feel++\n",
+ "* test it some core functionalities\n",
+ "* retrieve results to visualize them locally in Paraview\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "qDeEfoDNXg3-"
+ },
+ "source": [
+ "## Installation of Feel++\n",
+ "we start with installing Feel++ in colab\n",
+ "\n",
+ "\n",
+ "* set the proper sources\n",
+ "* add the bintray key\n",
+ "* update the repo \n",
+ "* install python3-feelpp \n",
+ "\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "metadata": {
+ "id": "hmaekcuWFU2D",
+ "outputId": "04ab5cac-36dd-413c-a7b6-03299e461d85",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ }
+ },
+ "source": [
+ "!echo \"deb https://dl.bintray.com/feelpp/ubuntu bionic latest\" | tee -a /etc/apt/sources.list\n",
+ "!wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | apt-key add -\n",
+ "!apt update\n",
+ "!apt install feelpp-quickstart feelpp-data\n",
+ "!apt install python3-mpi4py python3-feelpp ssh "
+ ],
+ "execution_count": 3,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "text": [
+ "deb https://dl.bintray.com/feelpp/ubuntu bionic latest\n",
+ "OK\n",
+ "Get:1 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ InRelease [3,626 B]\n",
+ "Ign:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease\n",
+ "Ign:3 https://dl.bintray.com/feelpp/ubuntu bionic InRelease\n",
+ "Ign:4 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease\n",
+ "Get:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release [697 B]\n",
+ "Hit:6 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release\n",
+ "Get:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release.gpg [836 B]\n",
+ "Get:8 https://dl.bintray.com/feelpp/ubuntu bionic Release [3,560 B]\n",
+ "Get:9 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic InRelease [15.9 kB]\n",
+ "Get:10 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]\n",
+ "Get:11 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ Packages [40.1 kB]\n",
+ "Hit:12 http://archive.ubuntu.com/ubuntu bionic InRelease\n",
+ "Get:13 https://dl.bintray.com/feelpp/ubuntu bionic Release.gpg [821 B]\n",
+ "Get:15 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]\n",
+ "Get:16 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease [21.3 kB]\n",
+ "Ign:17 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages\n",
+ "Get:17 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages [405 kB]\n",
+ "Get:18 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]\n",
+ "Get:19 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic/main Sources [1,687 kB]\n",
+ "Get:20 https://dl.bintray.com/feelpp/ubuntu bionic/latest amd64 Packages [2,428 B]\n",
+ "Get:21 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,354 kB]\n",
+ "Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,167 kB]\n",
+ "Get:23 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1,750 kB]\n",
+ "Get:24 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic/main amd64 Packages [864 kB]\n",
+ "Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2,119 kB]\n",
+ "Get:26 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 Packages [48.9 kB]\n",
+ "Fetched 10.7 MB in 4s (2,604 kB/s)\n",
+ "Reading package lists... Done\n",
+ "Building dependency tree \n",
+ "Reading state information... Done\n",
+ "35 packages can be upgraded. Run 'apt list --upgradable' to see them.\n",
+ "Reading package lists... Done\n",
+ "Building dependency tree \n",
+ "Reading state information... Done\n",
+ "The following additional packages will be installed:\n",
+ " feelpp-tools gmsh gmsh-doc ipython3 libamd2 libbson-1.0-0 libbtf1 libcamd2\n",
+ " libccolamd2 libcgns3.3 libcholmod3 libcln6 libcolamd2 libfeelpp1\n",
+ " libfftw3-long3 libfftw3-mpi3 libfftw3-single3 libfltk-gl1.3\n",
+ " libfltk-images1.3 libfltk1.3 libglpk40 libgmsh3 libgsl23 libgslcblas0\n",
+ " libhypre-2.13.0 libklu1 libmed1v5 libmetis5 libmongoc-1.0-0 libmumps-5.1.2\n",
+ " liboce-foundation11 liboce-modeling11 libparpack2 libpetsc3.7.7\n",
+ " libptscotch-6.0 libscalapack-openmpi2.0 libscotch-6.0 libslepc3.7.4\n",
+ " libsuitesparseconfig5 libsuperlu-dist5 libtet1.5 libumfpack5\n",
+ " python3-decorator python3-ipython python3-ipython-genutils python3-mpmath\n",
+ " python3-olefile python3-pexpect python3-pickleshare python3-pil\n",
+ " python3-pkg-resources python3-prompt-toolkit python3-ptyprocess\n",
+ " python3-pygments python3-simplegeneric python3-six python3-sympy\n",
+ " python3-traitlets python3-wcwidth\n",
+ "Suggested packages:\n",
+ " pi libfftw3-bin libfftw3-dev libfftw3-mpi-dev libiodbc2-dev\n",
+ " default-libmysqlclient-dev gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info\n",
+ " | gsl-ref-html libmed-doc libmed-tools scalapack-doc python3-gmpy2\n",
+ " python3-matplotlib python-mpmath-doc python-pexpect-doc python-pil-doc\n",
+ " python3-pil-dbg python3-setuptools ttf-bitstream-vera texlive-fonts-extra\n",
+ " dvipng python-sympy-doc\n",
+ "The following NEW packages will be installed:\n",
+ " feelpp-data feelpp-quickstart feelpp-tools gmsh gmsh-doc ipython3 libamd2\n",
+ " libbson-1.0-0 libbtf1 libcamd2 libccolamd2 libcgns3.3 libcholmod3 libcln6\n",
+ " libcolamd2 libfeelpp1 libfftw3-long3 libfftw3-mpi3 libfftw3-single3\n",
+ " libfltk-gl1.3 libfltk-images1.3 libfltk1.3 libglpk40 libgmsh3 libgsl23\n",
+ " libgslcblas0 libhypre-2.13.0 libklu1 libmed1v5 libmetis5 libmongoc-1.0-0\n",
+ " libmumps-5.1.2 liboce-foundation11 liboce-modeling11 libparpack2\n",
+ " libpetsc3.7.7 libptscotch-6.0 libscalapack-openmpi2.0 libscotch-6.0\n",
+ " libslepc3.7.4 libsuitesparseconfig5 libsuperlu-dist5 libtet1.5 libumfpack5\n",
+ " python3-decorator python3-ipython python3-ipython-genutils python3-mpmath\n",
+ " python3-olefile python3-pexpect python3-pickleshare python3-pil\n",
+ " python3-pkg-resources python3-prompt-toolkit python3-ptyprocess\n",
+ " python3-pygments python3-simplegeneric python3-six python3-sympy\n",
+ " python3-traitlets python3-wcwidth\n",
+ "0 upgraded, 61 newly installed, 0 to remove and 35 not upgraded.\n",
+ "Need to get 81.7 MB of archives.\n",
+ "After this operation, 529 MB of additional disk space will be used.\n",
+ "Get:1 https://dl.bintray.com/feelpp/ubuntu bionic/latest amd64 feelpp-data all 0.109.0~alpha.1-1 [1,572 kB]\n",
+ "Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libcgns3.3 amd64 3.3.0-5 [233 kB]\n",
+ "Get:3 https://dl.bintray.com/feelpp/ubuntu bionic/latest amd64 libfeelpp1 amd64 0.109.0~alpha.1-1 [6,374 kB]\n",
+ "Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libfltk1.3 amd64 1.3.4-6 [523 kB]\n",
+ "Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libfltk-gl1.3 amd64 1.3.4-6 [37.7 kB]\n",
+ "Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libfltk-images1.3 amd64 1.3.4-6 [25.2 kB]\n",
+ "Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmed1v5 amd64 3.0.6-11build1 [391 kB]\n",
+ "Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 liboce-foundation11 amd64 0.18.2-2build1 [1,214 kB]\n",
+ "Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 liboce-modeling11 amd64 0.18.2-2build1 [11.2 MB]\n",
+ "Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtet1.5 amd64 1.5.0-4 [235 kB]\n",
+ "Get:11 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libgmsh3 amd64 3.0.6+dfsg1-1 [5,249 kB]\n",
+ "Get:12 https://dl.bintray.com/feelpp/ubuntu bionic/latest amd64 feelpp-quickstart amd64 0.109.0~alpha.1-1 [29.8 MB]\n",
+ "Get:13 http://archive.ubuntu.com/ubuntu bionic/universe amd64 gmsh amd64 3.0.6+dfsg1-1 [161 kB]\n",
+ "Get:14 http://archive.ubuntu.com/ubuntu bionic/universe amd64 gmsh-doc all 3.0.6+dfsg1-1 [2,627 kB]\n",
+ "Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-decorator all 4.1.2-1 [9,364 B]\n",
+ "Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-ptyprocess all 0.5.2-1 [12.7 kB]\n",
+ "Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-pexpect all 4.2.1-1 [42.4 kB]\n",
+ "Get:18 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pickleshare all 0.7.4-2 [6,904 B]\n",
+ "Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-pkg-resources all 39.0.1-2 [98.8 kB]\n",
+ "Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-six all 1.11.0-2 [11.4 kB]\n",
+ "Get:21 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-wcwidth all 0.1.7+dfsg1-1 [14.7 kB]\n",
+ "Get:22 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-prompt-toolkit all 1.0.15-1 [163 kB]\n",
+ "Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-pygments all 2.2.0+dfsg-1 [574 kB]\n",
+ "Get:24 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-simplegeneric all 0.8.1-1 [11.5 kB]\n",
+ "Get:25 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-ipython-genutils all 0.2.0-1 [20.9 kB]\n",
+ "Get:26 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-traitlets all 4.3.2-1 [59.1 kB]\n",
+ "Get:27 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-ipython all 5.5.0-1 [381 kB]\n",
+ "Get:28 http://archive.ubuntu.com/ubuntu bionic/universe amd64 ipython3 all 5.5.0-1 [5,304 B]\n",
+ "Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsuitesparseconfig5 amd64 1:5.1.2-2 [9,044 B]\n",
+ "Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libamd2 amd64 1:5.1.2-2 [19.5 kB]\n",
+ "Get:31 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libbson-1.0-0 amd64 1.9.2-1 [68.6 kB]\n",
+ "Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 libbtf1 amd64 1:5.1.2-2 [10.6 kB]\n",
+ "Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcamd2 amd64 1:5.1.2-2 [20.9 kB]\n",
+ "Get:34 https://dl.bintray.com/feelpp/ubuntu bionic/latest amd64 feelpp-tools amd64 0.109.0~alpha.1-1 [2,964 kB]\n",
+ "Get:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 libccolamd2 amd64 1:5.1.2-2 [21.7 kB]\n",
+ "Get:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcolamd2 amd64 1:5.1.2-2 [16.2 kB]\n",
+ "Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmetis5 amd64 5.1.0.dfsg-5 [169 kB]\n",
+ "Get:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcholmod3 amd64 1:5.1.2-2 [300 kB]\n",
+ "Get:39 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libcln6 amd64 1.3.4-2 [460 kB]\n",
+ "Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfftw3-long3 amd64 3.3.7-1 [308 kB]\n",
+ "Get:41 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfftw3-single3 amd64 3.3.7-1 [764 kB]\n",
+ "Get:42 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libfftw3-mpi3 amd64 3.3.7-1 [47.5 kB]\n",
+ "Get:43 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libglpk40 amd64 4.65-1 [378 kB]\n",
+ "Get:44 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libgslcblas0 amd64 2.4+dfsg-6 [79.7 kB]\n",
+ "Get:45 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libgsl23 amd64 2.4+dfsg-6 [823 kB]\n",
+ "Get:46 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libscotch-6.0 amd64 6.0.4.dfsg1-8 [403 kB]\n",
+ "Get:47 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libptscotch-6.0 amd64 6.0.4.dfsg1-8 [654 kB]\n",
+ "Get:48 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libsuperlu-dist5 amd64 5.3.0+dfsg1-1 [213 kB]\n",
+ "Get:49 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libhypre-2.13.0 amd64 2.13.0-2 [1,718 kB]\n",
+ "Get:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 libklu1 amd64 1:5.1.2-2 [69.3 kB]\n",
+ "Get:51 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmongoc-1.0-0 amd64 1.9.2+dfsg-1build1 [165 kB]\n",
+ "Get:52 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libscalapack-openmpi2.0 amd64 2.0.2-4 [1,473 kB]\n",
+ "Get:53 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmumps-5.1.2 amd64 5.1.2-4 [1,103 kB]\n",
+ "Get:54 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libparpack2 amd64 3.5.0+real-2 [84.5 kB]\n",
+ "Get:55 http://archive.ubuntu.com/ubuntu bionic/main amd64 libumfpack5 amd64 1:5.1.2-2 [229 kB]\n",
+ "Get:56 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libpetsc3.7.7 amd64 3.7.7+dfsg1-2build5 [3,935 kB]\n",
+ "Get:57 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-mpmath all 1.0.0-1 [400 kB]\n",
+ "Get:58 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-olefile all 0.45.1-1 [33.3 kB]\n",
+ "Get:59 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-pil amd64 5.1.0-1ubuntu0.3 [330 kB]\n",
+ "Get:60 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-sympy all 1.1.1-5 [2,569 kB]\n",
+ "Get:61 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libslepc3.7.4 amd64 3.7.4+dfsg1-2build8 [743 kB]\n",
+ "Fetched 81.7 MB in 4s (21.0 MB/s)\n",
+ "Extracting templates from packages: 100%\n",
+ "Selecting previously unselected package libcgns3.3:amd64.\n",
+ "(Reading database ... 144628 files and directories currently installed.)\n",
+ "Preparing to unpack .../00-libcgns3.3_3.3.0-5_amd64.deb ...\n",
+ "Unpacking libcgns3.3:amd64 (3.3.0-5) ...\n",
+ "Selecting previously unselected package libfltk1.3:amd64.\n",
+ "Preparing to unpack .../01-libfltk1.3_1.3.4-6_amd64.deb ...\n",
+ "Unpacking libfltk1.3:amd64 (1.3.4-6) ...\n",
+ "Selecting previously unselected package libfltk-gl1.3:amd64.\n",
+ "Preparing to unpack .../02-libfltk-gl1.3_1.3.4-6_amd64.deb ...\n",
+ "Unpacking libfltk-gl1.3:amd64 (1.3.4-6) ...\n",
+ "Selecting previously unselected package libfltk-images1.3:amd64.\n",
+ "Preparing to unpack .../03-libfltk-images1.3_1.3.4-6_amd64.deb ...\n",
+ "Unpacking libfltk-images1.3:amd64 (1.3.4-6) ...\n",
+ "Selecting previously unselected package libmed1v5:amd64.\n",
+ "Preparing to unpack .../04-libmed1v5_3.0.6-11build1_amd64.deb ...\n",
+ "Unpacking libmed1v5:amd64 (3.0.6-11build1) ...\n",
+ "Selecting previously unselected package liboce-foundation11:amd64.\n",
+ "Preparing to unpack .../05-liboce-foundation11_0.18.2-2build1_amd64.deb ...\n",
+ "Unpacking liboce-foundation11:amd64 (0.18.2-2build1) ...\n",
+ "Selecting previously unselected package liboce-modeling11:amd64.\n",
+ "Preparing to unpack .../06-liboce-modeling11_0.18.2-2build1_amd64.deb ...\n",
+ "Unpacking liboce-modeling11:amd64 (0.18.2-2build1) ...\n",
+ "Selecting previously unselected package libtet1.5:amd64.\n",
+ "Preparing to unpack .../07-libtet1.5_1.5.0-4_amd64.deb ...\n",
+ "Unpacking libtet1.5:amd64 (1.5.0-4) ...\n",
+ "Selecting previously unselected package libgmsh3:amd64.\n",
+ "Preparing to unpack .../08-libgmsh3_3.0.6+dfsg1-1_amd64.deb ...\n",
+ "Unpacking libgmsh3:amd64 (3.0.6+dfsg1-1) ...\n",
+ "Selecting previously unselected package gmsh.\n",
+ "Preparing to unpack .../09-gmsh_3.0.6+dfsg1-1_amd64.deb ...\n",
+ "Unpacking gmsh (3.0.6+dfsg1-1) ...\n",
+ "Selecting previously unselected package gmsh-doc.\n",
+ "Preparing to unpack .../10-gmsh-doc_3.0.6+dfsg1-1_all.deb ...\n",
+ "Unpacking gmsh-doc (3.0.6+dfsg1-1) ...\n",
+ "Selecting previously unselected package python3-decorator.\n",
+ "Preparing to unpack .../11-python3-decorator_4.1.2-1_all.deb ...\n",
+ "Unpacking python3-decorator (4.1.2-1) ...\n",
+ "Selecting previously unselected package python3-ptyprocess.\n",
+ "Preparing to unpack .../12-python3-ptyprocess_0.5.2-1_all.deb ...\n",
+ "Unpacking python3-ptyprocess (0.5.2-1) ...\n",
+ "Selecting previously unselected package python3-pexpect.\n",
+ "Preparing to unpack .../13-python3-pexpect_4.2.1-1_all.deb ...\n",
+ "Unpacking python3-pexpect (4.2.1-1) ...\n",
+ "Selecting previously unselected package python3-pickleshare.\n",
+ "Preparing to unpack .../14-python3-pickleshare_0.7.4-2_all.deb ...\n",
+ "Unpacking python3-pickleshare (0.7.4-2) ...\n",
+ "Selecting previously unselected package python3-pkg-resources.\n",
+ "Preparing to unpack .../15-python3-pkg-resources_39.0.1-2_all.deb ...\n",
+ "Unpacking python3-pkg-resources (39.0.1-2) ...\n",
+ "Selecting previously unselected package python3-six.\n",
+ "Preparing to unpack .../16-python3-six_1.11.0-2_all.deb ...\n",
+ "Unpacking python3-six (1.11.0-2) ...\n",
+ "Selecting previously unselected package python3-wcwidth.\n",
+ "Preparing to unpack .../17-python3-wcwidth_0.1.7+dfsg1-1_all.deb ...\n",
+ "Unpacking python3-wcwidth (0.1.7+dfsg1-1) ...\n",
+ "Selecting previously unselected package python3-prompt-toolkit.\n",
+ "Preparing to unpack .../18-python3-prompt-toolkit_1.0.15-1_all.deb ...\n",
+ "Unpacking python3-prompt-toolkit (1.0.15-1) ...\n",
+ "Selecting previously unselected package python3-pygments.\n",
+ "Preparing to unpack .../19-python3-pygments_2.2.0+dfsg-1_all.deb ...\n",
+ "Unpacking python3-pygments (2.2.0+dfsg-1) ...\n",
+ "Selecting previously unselected package python3-simplegeneric.\n",
+ "Preparing to unpack .../20-python3-simplegeneric_0.8.1-1_all.deb ...\n",
+ "Unpacking python3-simplegeneric (0.8.1-1) ...\n",
+ "Selecting previously unselected package python3-ipython-genutils.\n",
+ "Preparing to unpack .../21-python3-ipython-genutils_0.2.0-1_all.deb ...\n",
+ "Unpacking python3-ipython-genutils (0.2.0-1) ...\n",
+ "Selecting previously unselected package python3-traitlets.\n",
+ "Preparing to unpack .../22-python3-traitlets_4.3.2-1_all.deb ...\n",
+ "Unpacking python3-traitlets (4.3.2-1) ...\n",
+ "Selecting previously unselected package python3-ipython.\n",
+ "Preparing to unpack .../23-python3-ipython_5.5.0-1_all.deb ...\n",
+ "Unpacking python3-ipython (5.5.0-1) ...\n",
+ "Selecting previously unselected package ipython3.\n",
+ "Preparing to unpack .../24-ipython3_5.5.0-1_all.deb ...\n",
+ "Unpacking ipython3 (5.5.0-1) ...\n",
+ "Selecting previously unselected package libsuitesparseconfig5:amd64.\n",
+ "Preparing to unpack .../25-libsuitesparseconfig5_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libsuitesparseconfig5:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libamd2:amd64.\n",
+ "Preparing to unpack .../26-libamd2_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libamd2:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libbson-1.0-0.\n",
+ "Preparing to unpack .../27-libbson-1.0-0_1.9.2-1_amd64.deb ...\n",
+ "Unpacking libbson-1.0-0 (1.9.2-1) ...\n",
+ "Selecting previously unselected package libbtf1:amd64.\n",
+ "Preparing to unpack .../28-libbtf1_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libbtf1:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libcamd2:amd64.\n",
+ "Preparing to unpack .../29-libcamd2_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libcamd2:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libccolamd2:amd64.\n",
+ "Preparing to unpack .../30-libccolamd2_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libccolamd2:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libcolamd2:amd64.\n",
+ "Preparing to unpack .../31-libcolamd2_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libcolamd2:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libmetis5:amd64.\n",
+ "Preparing to unpack .../32-libmetis5_5.1.0.dfsg-5_amd64.deb ...\n",
+ "Unpacking libmetis5:amd64 (5.1.0.dfsg-5) ...\n",
+ "Selecting previously unselected package libcholmod3:amd64.\n",
+ "Preparing to unpack .../33-libcholmod3_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libcholmod3:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libcln6.\n",
+ "Preparing to unpack .../34-libcln6_1.3.4-2_amd64.deb ...\n",
+ "Unpacking libcln6 (1.3.4-2) ...\n",
+ "Selecting previously unselected package libfftw3-long3:amd64.\n",
+ "Preparing to unpack .../35-libfftw3-long3_3.3.7-1_amd64.deb ...\n",
+ "Unpacking libfftw3-long3:amd64 (3.3.7-1) ...\n",
+ "Selecting previously unselected package libfftw3-single3:amd64.\n",
+ "Preparing to unpack .../36-libfftw3-single3_3.3.7-1_amd64.deb ...\n",
+ "Unpacking libfftw3-single3:amd64 (3.3.7-1) ...\n",
+ "Selecting previously unselected package libfftw3-mpi3:amd64.\n",
+ "Preparing to unpack .../37-libfftw3-mpi3_3.3.7-1_amd64.deb ...\n",
+ "Unpacking libfftw3-mpi3:amd64 (3.3.7-1) ...\n",
+ "Selecting previously unselected package libglpk40:amd64.\n",
+ "Preparing to unpack .../38-libglpk40_4.65-1_amd64.deb ...\n",
+ "Unpacking libglpk40:amd64 (4.65-1) ...\n",
+ "Selecting previously unselected package libgslcblas0:amd64.\n",
+ "Preparing to unpack .../39-libgslcblas0_2.4+dfsg-6_amd64.deb ...\n",
+ "Unpacking libgslcblas0:amd64 (2.4+dfsg-6) ...\n",
+ "Selecting previously unselected package libgsl23:amd64.\n",
+ "Preparing to unpack .../40-libgsl23_2.4+dfsg-6_amd64.deb ...\n",
+ "Unpacking libgsl23:amd64 (2.4+dfsg-6) ...\n",
+ "Selecting previously unselected package libscotch-6.0.\n",
+ "Preparing to unpack .../41-libscotch-6.0_6.0.4.dfsg1-8_amd64.deb ...\n",
+ "Unpacking libscotch-6.0 (6.0.4.dfsg1-8) ...\n",
+ "Selecting previously unselected package libptscotch-6.0.\n",
+ "Preparing to unpack .../42-libptscotch-6.0_6.0.4.dfsg1-8_amd64.deb ...\n",
+ "Unpacking libptscotch-6.0 (6.0.4.dfsg1-8) ...\n",
+ "Selecting previously unselected package libsuperlu-dist5.\n",
+ "Preparing to unpack .../43-libsuperlu-dist5_5.3.0+dfsg1-1_amd64.deb ...\n",
+ "Unpacking libsuperlu-dist5 (5.3.0+dfsg1-1) ...\n",
+ "Selecting previously unselected package libhypre-2.13.0:amd64.\n",
+ "Preparing to unpack .../44-libhypre-2.13.0_2.13.0-2_amd64.deb ...\n",
+ "Unpacking libhypre-2.13.0:amd64 (2.13.0-2) ...\n",
+ "Selecting previously unselected package libklu1:amd64.\n",
+ "Preparing to unpack .../45-libklu1_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libklu1:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libmongoc-1.0-0.\n",
+ "Preparing to unpack .../46-libmongoc-1.0-0_1.9.2+dfsg-1build1_amd64.deb ...\n",
+ "Unpacking libmongoc-1.0-0 (1.9.2+dfsg-1build1) ...\n",
+ "Selecting previously unselected package libscalapack-openmpi2.0.\n",
+ "Preparing to unpack .../47-libscalapack-openmpi2.0_2.0.2-4_amd64.deb ...\n",
+ "Unpacking libscalapack-openmpi2.0 (2.0.2-4) ...\n",
+ "Selecting previously unselected package libmumps-5.1.2:amd64.\n",
+ "Preparing to unpack .../48-libmumps-5.1.2_5.1.2-4_amd64.deb ...\n",
+ "Unpacking libmumps-5.1.2:amd64 (5.1.2-4) ...\n",
+ "Selecting previously unselected package libparpack2:amd64.\n",
+ "Preparing to unpack .../49-libparpack2_3.5.0+real-2_amd64.deb ...\n",
+ "Unpacking libparpack2:amd64 (3.5.0+real-2) ...\n",
+ "Selecting previously unselected package libumfpack5:amd64.\n",
+ "Preparing to unpack .../50-libumfpack5_1%3a5.1.2-2_amd64.deb ...\n",
+ "Unpacking libumfpack5:amd64 (1:5.1.2-2) ...\n",
+ "Selecting previously unselected package libpetsc3.7.7:amd64.\n",
+ "Preparing to unpack .../51-libpetsc3.7.7_3.7.7+dfsg1-2build5_amd64.deb ...\n",
+ "Unpacking libpetsc3.7.7:amd64 (3.7.7+dfsg1-2build5) ...\n",
+ "Selecting previously unselected package python3-mpmath.\n",
+ "Preparing to unpack .../52-python3-mpmath_1.0.0-1_all.deb ...\n",
+ "Unpacking python3-mpmath (1.0.0-1) ...\n",
+ "Selecting previously unselected package python3-olefile.\n",
+ "Preparing to unpack .../53-python3-olefile_0.45.1-1_all.deb ...\n",
+ "Unpacking python3-olefile (0.45.1-1) ...\n",
+ "Selecting previously unselected package python3-pil:amd64.\n",
+ "Preparing to unpack .../54-python3-pil_5.1.0-1ubuntu0.3_amd64.deb ...\n",
+ "Unpacking python3-pil:amd64 (5.1.0-1ubuntu0.3) ...\n",
+ "Selecting previously unselected package python3-sympy.\n",
+ "Preparing to unpack .../55-python3-sympy_1.1.1-5_all.deb ...\n",
+ "Unpacking python3-sympy (1.1.1-5) ...\n",
+ "Selecting previously unselected package feelpp-data.\n",
+ "Preparing to unpack .../56-feelpp-data_0.109.0~alpha.1-1_all.deb ...\n",
+ "Unpacking feelpp-data (0.109.0~alpha.1-1) ...\n",
+ "Selecting previously unselected package libslepc3.7.4.\n",
+ "Preparing to unpack .../57-libslepc3.7.4_3.7.4+dfsg1-2build8_amd64.deb ...\n",
+ "Unpacking libslepc3.7.4 (3.7.4+dfsg1-2build8) ...\n",
+ "Selecting previously unselected package libfeelpp1.\n",
+ "Preparing to unpack .../58-libfeelpp1_0.109.0~alpha.1-1_amd64.deb ...\n",
+ "Unpacking libfeelpp1 (0.109.0~alpha.1-1) ...\n",
+ "Selecting previously unselected package feelpp-quickstart.\n",
+ "Preparing to unpack .../59-feelpp-quickstart_0.109.0~alpha.1-1_amd64.deb ...\n",
+ "Unpacking feelpp-quickstart (0.109.0~alpha.1-1) ...\n",
+ "Selecting previously unselected package feelpp-tools.\n",
+ "Preparing to unpack .../60-feelpp-tools_0.109.0~alpha.1-1_amd64.deb ...\n",
+ "Unpacking feelpp-tools (0.109.0~alpha.1-1) ...\n",
+ "Setting up libbtf1:amd64 (1:5.1.2-2) ...\n",
+ "Setting up libscotch-6.0 (6.0.4.dfsg1-8) ...\n",
+ "Setting up libmed1v5:amd64 (3.0.6-11build1) ...\n",
+ "Setting up libcln6 (1.3.4-2) ...\n",
+ "Setting up python3-pickleshare (0.7.4-2) ...\n",
+ "Setting up python3-pil:amd64 (5.1.0-1ubuntu0.3) ...\n",
+ "Setting up python3-simplegeneric (0.8.1-1) ...\n",
+ "Setting up python3-olefile (0.45.1-1) ...\n",
+ "Setting up libtet1.5:amd64 (1.5.0-4) ...\n",
+ "Setting up libscalapack-openmpi2.0 (2.0.2-4) ...\n",
+ "Setting up gmsh-doc (3.0.6+dfsg1-1) ...\n",
+ "Setting up feelpp-data (0.109.0~alpha.1-1) ...\n",
+ "Setting up libbson-1.0-0 (1.9.2-1) ...\n",
+ "Setting up python3-six (1.11.0-2) ...\n",
+ "Setting up libptscotch-6.0 (6.0.4.dfsg1-8) ...\n",
+ "Setting up libparpack2:amd64 (3.5.0+real-2) ...\n",
+ "Setting up python3-pkg-resources (39.0.1-2) ...\n",
+ "Setting up libcgns3.3:amd64 (3.3.0-5) ...\n",
+ "Setting up python3-mpmath (1.0.0-1) ...\n",
+ "Setting up liboce-foundation11:amd64 (0.18.2-2build1) ...\n",
+ "Setting up liboce-modeling11:amd64 (0.18.2-2build1) ...\n",
+ "Setting up python3-wcwidth (0.1.7+dfsg1-1) ...\n",
+ "Setting up python3-ipython-genutils (0.2.0-1) ...\n",
+ "Setting up libsuperlu-dist5 (5.3.0+dfsg1-1) ...\n",
+ "Setting up libsuitesparseconfig5:amd64 (1:5.1.2-2) ...\n",
+ "Setting up libmetis5:amd64 (5.1.0.dfsg-5) ...\n",
+ "Setting up libcolamd2:amd64 (1:5.1.2-2) ...\n",
+ "Setting up libfltk1.3:amd64 (1.3.4-6) ...\n",
+ "Setting up libccolamd2:amd64 (1:5.1.2-2) ...\n",
+ "Setting up libfftw3-single3:amd64 (3.3.7-1) ...\n",
+ "Setting up libfltk-images1.3:amd64 (1.3.4-6) ...\n",
+ "Setting up libmongoc-1.0-0 (1.9.2+dfsg-1build1) ...\n",
+ "Setting up python3-sympy (1.1.1-5) ...\n",
+ "Setting up libgslcblas0:amd64 (2.4+dfsg-6) ...\n",
+ "Setting up libfftw3-long3:amd64 (3.3.7-1) ...\n",
+ "Setting up python3-decorator (4.1.2-1) ...\n",
+ "Setting up python3-traitlets (4.3.2-1) ...\n",
+ "Setting up python3-ptyprocess (0.5.2-1) ...\n",
+ "Setting up python3-pygments (2.2.0+dfsg-1) ...\n",
+ "Setting up libmumps-5.1.2:amd64 (5.1.2-4) ...\n",
+ "Setting up python3-prompt-toolkit (1.0.15-1) ...\n",
+ "Setting up libgsl23:amd64 (2.4+dfsg-6) ...\n",
+ "Setting up libfltk-gl1.3:amd64 (1.3.4-6) ...\n",
+ "Setting up libhypre-2.13.0:amd64 (2.13.0-2) ...\n",
+ "Setting up libcamd2:amd64 (1:5.1.2-2) ...\n",
+ "Setting up libfftw3-mpi3:amd64 (3.3.7-1) ...\n",
+ "Setting up libamd2:amd64 (1:5.1.2-2) ...\n",
+ "Setting up python3-pexpect (4.2.1-1) ...\n",
+ "Setting up libglpk40:amd64 (4.65-1) ...\n",
+ "Setting up libgmsh3:amd64 (3.0.6+dfsg1-1) ...\n",
+ "Setting up python3-ipython (5.5.0-1) ...\n",
+ "Setting up libklu1:amd64 (1:5.1.2-2) ...\n",
+ "Setting up libcholmod3:amd64 (1:5.1.2-2) ...\n",
+ "Setting up gmsh (3.0.6+dfsg1-1) ...\n",
+ "Setting up ipython3 (5.5.0-1) ...\n",
+ "Setting up libumfpack5:amd64 (1:5.1.2-2) ...\n",
+ "Setting up libpetsc3.7.7:amd64 (3.7.7+dfsg1-2build5) ...\n",
+ "update-alternatives: using /usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.7.7 to provide /usr/lib/x86_64-linux-gnu/libpetsc.so.3.7 (libpetsc.so.3.7) in auto mode\n",
+ "update-alternatives: using /usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.7.7 to provide /usr/lib/x86_64-linux-gnu/libpetsc_real.so.3.7 (libpetsc_real.so.3.7) in auto mode\n",
+ "Setting up libslepc3.7.4 (3.7.4+dfsg1-2build8) ...\n",
+ "update-alternatives: using /usr/lib/x86_64-linux-gnu/libslepc_real.so.3.7.4 to provide /usr/lib/x86_64-linux-gnu/libslepc.so.3.7 (libslepc.so.3.7) in auto mode\n",
+ "update-alternatives: using /usr/lib/x86_64-linux-gnu/libslepc_real.so.3.7.4 to provide /usr/lib/x86_64-linux-gnu/libslepc_real.so.3.7 (libslepc_real.so.3.7) in auto mode\n",
+ "Setting up libfeelpp1 (0.109.0~alpha.1-1) ...\n",
+ "Setting up feelpp-tools (0.109.0~alpha.1-1) ...\n",
+ "Setting up feelpp-quickstart (0.109.0~alpha.1-1) ...\n",
+ "Processing triggers for man-db (2.8.3-2ubuntu0.1) ...\n",
+ "Processing triggers for mime-support (3.60ubuntu1) ...\n",
+ "Processing triggers for libc-bin (2.27-3ubuntu1.2) ...\n",
+ "/sbin/ldconfig.real: /usr/local/lib/python3.6/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link\n",
+ "\n",
+ "Reading package lists... Done\n",
+ "Building dependency tree \n",
+ "Reading state information... Done\n",
+ "The following additional packages will be installed:\n",
+ " ncurses-term openssh-server openssh-sftp-server python3-certifi\n",
+ " python3-chardet python3-idna python3-requests python3-urllib3 ssh-import-id\n",
+ "Suggested packages:\n",
+ " molly-guard monkeysphere rssh ssh-askpass ufw python3-matplotlib\n",
+ " python3-scipy python3-cryptography python3-openssl python3-socks\n",
+ "The following NEW packages will be installed:\n",
+ " ncurses-term openssh-server openssh-sftp-server python3-certifi\n",
+ " python3-chardet python3-feelpp python3-idna python3-mpi4py python3-requests\n",
+ " python3-urllib3 ssh ssh-import-id\n",
+ "0 upgraded, 12 newly installed, 0 to remove and 35 not upgraded.\n",
+ "Need to get 5,412 kB of archives.\n",
+ "After this operation, 39.2 MB of additional disk space will be used.\n",
+ "Get:1 https://dl.bintray.com/feelpp/ubuntu bionic/latest amd64 python3-feelpp amd64 0.109.0~alpha.1-1 [3,948 kB]\n",
+ "Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-sftp-server amd64 1:7.6p1-4ubuntu0.3 [45.6 kB]\n",
+ "Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-server amd64 1:7.6p1-4ubuntu0.3 [333 kB]\n",
+ "Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 ssh all 1:7.6p1-4ubuntu0.3 [5,204 B]\n",
+ "Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 ncurses-term all 6.1-1ubuntu1.18.04 [248 kB]\n",
+ "Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-certifi all 2018.1.18-2 [144 kB]\n",
+ "Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-chardet all 3.0.4-1 [80.3 kB]\n",
+ "Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-idna all 2.6-1 [32.5 kB]\n",
+ "Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-urllib3 all 1.22-1ubuntu0.18.04.2 [86.2 kB]\n",
+ "Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-requests all 2.18.4-2ubuntu0.1 [58.3 kB]\n",
+ "Get:11 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-mpi4py amd64 2.0.0-3 [420 kB]\n",
+ "Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 ssh-import-id all 5.7-0ubuntu1.1 [10.9 kB]\n",
+ "Fetched 5,412 kB in 2s (3,590 kB/s)\n",
+ "Preconfiguring packages ...\n",
+ "Selecting previously unselected package openssh-sftp-server.\n",
+ "(Reading database ... 147681 files and directories currently installed.)\n",
+ "Preparing to unpack .../00-openssh-sftp-server_1%3a7.6p1-4ubuntu0.3_amd64.deb ...\n",
+ "Unpacking openssh-sftp-server (1:7.6p1-4ubuntu0.3) ...\n",
+ "Selecting previously unselected package openssh-server.\n",
+ "Preparing to unpack .../01-openssh-server_1%3a7.6p1-4ubuntu0.3_amd64.deb ...\n",
+ "Unpacking openssh-server (1:7.6p1-4ubuntu0.3) ...\n",
+ "Selecting previously unselected package ssh.\n",
+ "Preparing to unpack .../02-ssh_1%3a7.6p1-4ubuntu0.3_all.deb ...\n",
+ "Unpacking ssh (1:7.6p1-4ubuntu0.3) ...\n",
+ "Selecting previously unselected package ncurses-term.\n",
+ "Preparing to unpack .../03-ncurses-term_6.1-1ubuntu1.18.04_all.deb ...\n",
+ "Unpacking ncurses-term (6.1-1ubuntu1.18.04) ...\n",
+ "Selecting previously unselected package python3-certifi.\n",
+ "Preparing to unpack .../04-python3-certifi_2018.1.18-2_all.deb ...\n",
+ "Unpacking python3-certifi (2018.1.18-2) ...\n",
+ "Selecting previously unselected package python3-chardet.\n",
+ "Preparing to unpack .../05-python3-chardet_3.0.4-1_all.deb ...\n",
+ "Unpacking python3-chardet (3.0.4-1) ...\n",
+ "Selecting previously unselected package python3-idna.\n",
+ "Preparing to unpack .../06-python3-idna_2.6-1_all.deb ...\n",
+ "Unpacking python3-idna (2.6-1) ...\n",
+ "Selecting previously unselected package python3-urllib3.\n",
+ "Preparing to unpack .../07-python3-urllib3_1.22-1ubuntu0.18.04.2_all.deb ...\n",
+ "Unpacking python3-urllib3 (1.22-1ubuntu0.18.04.2) ...\n",
+ "Selecting previously unselected package python3-requests.\n",
+ "Preparing to unpack .../08-python3-requests_2.18.4-2ubuntu0.1_all.deb ...\n",
+ "Unpacking python3-requests (2.18.4-2ubuntu0.1) ...\n",
+ "Selecting previously unselected package python3-feelpp.\n",
+ "Preparing to unpack .../09-python3-feelpp_0.109.0~alpha.1-1_amd64.deb ...\n",
+ "Unpacking python3-feelpp (0.109.0~alpha.1-1) ...\n",
+ "Selecting previously unselected package python3-mpi4py.\n",
+ "Preparing to unpack .../10-python3-mpi4py_2.0.0-3_amd64.deb ...\n",
+ "Unpacking python3-mpi4py (2.0.0-3) ...\n",
+ "Selecting previously unselected package ssh-import-id.\n",
+ "Preparing to unpack .../11-ssh-import-id_5.7-0ubuntu1.1_all.deb ...\n",
+ "Unpacking ssh-import-id (5.7-0ubuntu1.1) ...\n",
+ "Setting up ncurses-term (6.1-1ubuntu1.18.04) ...\n",
+ "Setting up python3-idna (2.6-1) ...\n",
+ "Setting up python3-certifi (2018.1.18-2) ...\n",
+ "Setting up openssh-sftp-server (1:7.6p1-4ubuntu0.3) ...\n",
+ "Setting up python3-feelpp (0.109.0~alpha.1-1) ...\n",
+ "Setting up python3-chardet (3.0.4-1) ...\n",
+ "Setting up python3-mpi4py (2.0.0-3) ...\n",
+ "Setting up python3-urllib3 (1.22-1ubuntu0.18.04.2) ...\n",
+ "Setting up openssh-server (1:7.6p1-4ubuntu0.3) ...\n",
+ "\n",
+ "Creating config file /etc/ssh/sshd_config with new version\n",
+ "Creating SSH2 RSA key; this may take some time ...\n",
+ "2048 SHA256:7e42Bn0c4Ed42TbpnBFE04t0C9JnSZC8tLFsd7hVvJY root@874a0093cfd6 (RSA)\n",
+ "Creating SSH2 ECDSA key; this may take some time ...\n",
+ "256 SHA256:+wtHUM61l1g11mePVVSspMvK43xAKMx0d+CFBMAjE9s root@874a0093cfd6 (ECDSA)\n",
+ "Creating SSH2 ED25519 key; this may take some time ...\n",
+ "256 SHA256:ZbNuWm3tv6VsMoeVpyRGqdQFK1XqvBT1W5d5lW53Wv8 root@874a0093cfd6 (ED25519)\n",
+ "Created symlink /etc/systemd/system/sshd.service → /lib/systemd/system/ssh.service.\n",
+ "Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service.\n",
+ "invoke-rc.d: could not determine current runlevel\n",
+ "invoke-rc.d: policy-rc.d denied execution of start.\n",
+ "Setting up python3-requests (2.18.4-2ubuntu0.1) ...\n",
+ "Setting up ssh-import-id (5.7-0ubuntu1.1) ...\n",
+ "Setting up ssh (1:7.6p1-4ubuntu0.3) ...\n",
+ "Processing triggers for man-db (2.8.3-2ubuntu0.1) ...\n",
+ "Processing triggers for systemd (237-3ubuntu10.42) ...\n"
+ ],
+ "name": "stdout"
+ }
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "cjxKdKAH8Dsj"
+ },
+ "source": [
+ "## Core Test"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "metadata": {
+ "id": "YwTYYKjFSbFl",
+ "outputId": "87fcc80f-4015-4263-a551-19a233f8739c",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ }
+ },
+ "source": [
+ "import sys\n",
+ "import feelpp\n",
+ "e=feelpp.Environment(sys.argv)\n",
+ "e.setConfigFile(\"/usr/share/feelpp/data/testcases/quickstart/cases/triangle/triangle.cfg\")\n",
+ "print(e.numberOfProcessors())\n",
+ "print(\"isMasterRank:\",e.isMasterRank() )"
+ ],
+ "execution_count": 4,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "text": [
+ "1\n",
+ "isMasterRank: True\n"
+ ],
+ "name": "stdout"
+ }
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "tZBM2nGp78s2"
+ },
+ "source": [
+ "## Mesh Test"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "metadata": {
+ "id": "U6TFGEl1VWRi",
+ "outputId": "72dd43e5-37a0-4a4e-cf88-c2b7d6494f8f",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ }
+ },
+ "source": [
+ "geo={\n",
+ " '2':feelpp.download( \"github:{repo:feelpp,path:feelpp/quickstart/laplacian/cases/feelpp2d/feelpp2d.geo}\", worldComm=feelpp.Environment.worldCommPtr() )[0],\n",
+ " '3':feelpp.download( \"github:{repo:feelpp,path:feelpp/quickstart/laplacian/cases/feelpp3d/feelpp3d.geo}\", worldComm=feelpp.Environment.worldCommPtr() )[0]\n",
+ "}\n",
+ "\n",
+ "\n",
+ "def run( m, geofile ):\n",
+ " if e.isMasterRank():\n",
+ " print(\"mesh dim:\", m.dimension())\n",
+ " \n",
+ " m=feelpp.load(m,geofile,0.1)\n",
+ " if e.isMasterRank():\n",
+ " print(\"mesh \",m.dimension(),\"D nelts:\", m.numGlobalElements() )\n",
+ " print(\"mesh \",m.dimension(),\"D nfaces:\", m.numGlobalFaces() )\n",
+ " print(\"mesh \",m.dimension(),\"D hmin:\", m.hMin())\n",
+ " print(\"mesh \",m.dimension(),\"D havg:\", m.hAverage())\n",
+ " print(\"mesh \",m.dimension(),\"D hmax:\", m.hMax())\n",
+ " print(\"mesh \",m.dimension(),\"D measure:\", m.measure())\n",
+ " \n",
+ " r = feelpp.elements(m)\n",
+ " print(\"mesh elts:\", feelpp.nelements(r,True))\n",
+ " r = feelpp.boundaryfaces(m)\n",
+ " print(\"mesh boundary faces:\", feelpp.nfaces(r,True))\n",
+ "\n",
+ "run( feelpp.mesh(dim=2), geo['2'] )\n",
+ "run( feelpp.mesh(dim=3,realdim=3), geo['3'] )\n"
+ ],
+ "execution_count": 5,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "text": [
+ "mesh dim: 2\n",
+ "mesh 2 D nelts: 5140\n",
+ "mesh 2 D nfaces: 8015\n",
+ "mesh 2 D hmin: 0.07512597426289651\n",
+ "mesh 2 D havg: 0.1025627812243611\n",
+ "mesh 2 D hmax: 0.12930415826864228\n",
+ "mesh 2 D measure: 20.799999999999933\n",
+ "mesh elts: 5140\n",
+ "mesh boundary faces: 610\n",
+ "mesh dim: 3\n",
+ "mesh 3 D nelts: 93724\n",
+ "mesh 3 D nfaces: 200042\n",
+ "mesh 3 D hmin: 0.09999999999930598\n",
+ "mesh 3 D havg: 0.16518630031776135\n",
+ "mesh 3 D hmax: 0.23047955624802838\n",
+ "mesh 3 D measure: 20.79999999999997\n",
+ "mesh elts: 93724\n",
+ "mesh boundary faces: 25188\n"
+ ],
+ "name": "stdout"
+ }
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "oMBV9-YA8O5M"
+ },
+ "source": [
+ "## FunctionSpace Test"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "metadata": {
+ "id": "SHZJgr2n8TN1",
+ "outputId": "2736f28c-54b0-4046-b3aa-29d5e43d077b",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ }
+ },
+ "source": [
+ "geo={\n",
+ " '2':feelpp.download( \"github:{repo:feelpp,path:feelpp/quickstart/laplacian/cases/feelpp2d/feelpp2d.geo}\", worldComm=feelpp.Environment.worldCommPtr() )[0],\n",
+ " '3':feelpp.download( \"github:{repo:feelpp,path:feelpp/quickstart/laplacian/cases/feelpp3d/feelpp3d.geo}\", worldComm=feelpp.Environment.worldCommPtr() )[0]\n",
+ "}\n",
+ "\n",
+ "def run( m, geo ):\n",
+ " m2d = feelpp.load(m,geo,0.1)\n",
+ " Xh=feelpp.functionSpace(mesh=m2d)\n",
+ "\n",
+ " if e.isMasterRank():\n",
+ " print(\"Xh basisname: \", Xh.basisName())\n",
+ " print(\"Xh nDof: \", Xh.nDof())\n",
+ " print(\"Xh nLocalDof: \", Xh.nLocalDof())\n",
+ " print(\"Xh nLocalDofWithGhost: \", Xh.nLocalDofWithGhost())\n",
+ " print(\"Xh nLocalDofWithoutGhost: \", Xh.nLocalDofWithoutGhost())\n",
+ "\n",
+ " m3=Xh.mesh()\n",
+ "\n",
+ " assert m3==m2d\n",
+ "\n",
+ " u=Xh.element()\n",
+ " u.on(range=feelpp.elements(m2d),expr=feelpp.expr(\"x:x\"))\n",
+ "\n",
+ " assert u.functionSpace() == Xh\n",
+ " assert u.size() == Xh.nDof()\n",
+ "\n",
+ "run( feelpp.mesh(dim=2), geo['2'] )\n",
+ "run( feelpp.mesh(dim=3,realdim=3), geo['3'] )\n"
+ ],
+ "execution_count": 6,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "text": [
+ "Xh basisname: lagrange\n",
+ "Xh nDof: 2870\n",
+ "Xh nLocalDof: 2870\n",
+ "Xh nLocalDofWithGhost: 2870\n",
+ "Xh nLocalDofWithoutGhost: 2870\n",
+ "Xh basisname: lagrange\n",
+ "Xh nDof: 21755\n",
+ "Xh nLocalDof: 21755\n",
+ "Xh nLocalDofWithGhost: 21755\n",
+ "Xh nLocalDofWithoutGhost: 21755\n"
+ ],
+ "name": "stdout"
+ }
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "Xm8UO_xT80Iv"
+ },
+ "source": [
+ "## Exporter Test"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "metadata": {
+ "id": "RAizbUyZ8QPS"
+ },
+ "source": [
+ "\n",
+ "geo={\n",
+ " '2':feelpp.download( \"github:{repo:feelpp,path:feelpp/quickstart/laplacian/cases/feelpp2d/feelpp2d.geo}\", worldComm=feelpp.Environment.worldCommPtr() )[0],\n",
+ " '3':feelpp.download( \"github:{repo:feelpp,path:feelpp/quickstart/laplacian/cases/feelpp3d/feelpp3d.geo}\", worldComm=feelpp.Environment.worldCommPtr() )[0]\n",
+ "}\n",
+ "\n",
+ "def run( m, geo ):\n",
+ " mesh = feelpp.load(m,geo,0.1)\n",
+ "\n",
+ " Xh=feelpp.functionSpace( space=\"Pch\", mesh=mesh, order=1 )\n",
+ " P0h = feelpp.functionSpace( space=\"Pdh\", mesh=mesh, order=0 )\n",
+ " #u=Xh.elementFromExpr(\"{sin(2*pi*x)*cos(pi*y)}:x:y\")\n",
+ " u=Xh.element()\n",
+ " u.on(range=feelpp.elements(mesh),expr=feelpp.expr(\"x*x:x\"))\n",
+ "\n",
+ " e = feelpp.exporter(mesh=mesh,name=\"feelpp\"+str(m.dimension())+\"d\")\n",
+ " e.addScalar(\"un\", 1.)\n",
+ " e.addP1c(\"u\",u)\n",
+ " e.addP0d(\"pid\",feelpp.pid( P0h ))\n",
+ " e.save()\n",
+ "\n",
+ "run( feelpp.mesh( dim=2 ), geo['2'] )\n",
+ "run( feelpp.mesh( dim=3, realdim=3 ), geo['3'] )\n"
+ ],
+ "execution_count": 21,
+ "outputs": []
+ },
+ {
+ "cell_type": "code",
+ "metadata": {
+ "id": "2_FQ8dzqDkaP",
+ "outputId": "c90ded8a-df6d-4b8a-cbd5-ee6390e06aff",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ }
+ },
+ "source": [
+ "!ls -lrt exports/ensightgold/feelpp2d\n",
+ "!ls -lrt exports/ensightgold/feelpp2d"
+ ],
+ "execution_count": 23,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "text": [
+ "total 148\n",
+ "-rw-r--r-- 1 root root 96852 Nov 6 06:59 feelpp2d.geo.0001\n",
+ "-rw-r--r-- 1 root root 11724 Nov 6 06:59 feelpp2d.u.scl.0001\n",
+ "-rw-r--r-- 1 root root 105 Nov 6 06:59 feelpp2d.timeset\n",
+ "-rw-r--r-- 1 root root 20804 Nov 6 06:59 feelpp2d.pid.scl.0001\n",
+ "-rw-r--r-- 1 root root 229 Nov 6 06:59 feelpp2d-paraview-1.sos\n",
+ "-rw-r--r-- 1 root root 335 Nov 6 06:59 feelpp2d.case\n",
+ "-rw-r--r-- 1 root root 249 Nov 6 06:59 feelpp2d-1.sos\n",
+ "total 148\n",
+ "-rw-r--r-- 1 root root 96852 Nov 6 06:59 feelpp2d.geo.0001\n",
+ "-rw-r--r-- 1 root root 11724 Nov 6 06:59 feelpp2d.u.scl.0001\n",
+ "-rw-r--r-- 1 root root 105 Nov 6 06:59 feelpp2d.timeset\n",
+ "-rw-r--r-- 1 root root 20804 Nov 6 06:59 feelpp2d.pid.scl.0001\n",
+ "-rw-r--r-- 1 root root 229 Nov 6 06:59 feelpp2d-paraview-1.sos\n",
+ "-rw-r--r-- 1 root root 335 Nov 6 06:59 feelpp2d.case\n",
+ "-rw-r--r-- 1 root root 249 Nov 6 06:59 feelpp2d-1.sos\n"
+ ],
+ "name": "stdout"
+ }
+ ]
+ },
+ {
+ "cell_type": "code",
+ "metadata": {
+ "id": "0aJrXgmW86LX",
+ "outputId": "1e6557ec-6e0b-4303-a013-0e4c0a3378ad",
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 306
+ }
+ },
+ "source": [
+ "# Save to your local computer\n",
+ "from google.colab import files\n",
+ "!zip -r feelpp.zip exports/ensightgold/\n",
+ "files.download('feelpp.zip')"
+ ],
+ "execution_count": 20,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "text": [
+ " adding: exports/ensightgold/ (stored 0%)\n",
+ " adding: exports/ensightgold/feelpp3d/ (stored 0%)\n",
+ " adding: exports/ensightgold/feelpp3d/feelpp3d.pid.scl.0001 (deflated 100%)\n",
+ " adding: exports/ensightgold/feelpp3d/feelpp3d.case (deflated 37%)\n",
+ " adding: exports/ensightgold/feelpp3d/feelpp3d.timeset (deflated 30%)\n",
+ " adding: exports/ensightgold/feelpp3d/feelpp3d.geo.0001 (deflated 41%)\n",
+ " adding: exports/ensightgold/feelpp3d/feelpp3d.u.scl.0001 (deflated 23%)\n",
+ " adding: exports/ensightgold/feelpp3d/feelpp3d-paraview-1.sos (deflated 24%)\n",
+ " adding: exports/ensightgold/feelpp3d/feelpp3d-1.sos (deflated 28%)\n",
+ " adding: exports/ensightgold/feelpp2d/ (stored 0%)\n",
+ " adding: exports/ensightgold/feelpp2d/feelpp2d.pid.scl.0001 (deflated 100%)\n",
+ " adding: exports/ensightgold/feelpp2d/feelpp2d-paraview-1.sos (deflated 24%)\n",
+ " adding: exports/ensightgold/feelpp2d/feelpp2d-1.sos (deflated 28%)\n",
+ " adding: exports/ensightgold/feelpp2d/feelpp2d.case (deflated 37%)\n",
+ " adding: exports/ensightgold/feelpp2d/feelpp2d.u.scl.0001 (deflated 27%)\n",
+ " adding: exports/ensightgold/feelpp2d/feelpp2d.geo.0001 (deflated 50%)\n",
+ " adding: exports/ensightgold/feelpp2d/feelpp2d.timeset (deflated 30%)\n"
+ ],
+ "name": "stdout"
+ },
+ {
+ "output_type": "display_data",
+ "data": {
+ "application/javascript": [
+ "\n",
+ " async function download(id, filename, size) {\n",
+ " if (!google.colab.kernel.accessAllowed) {\n",
+ " return;\n",
+ " }\n",
+ " const div = document.createElement('div');\n",
+ " const label = document.createElement('label');\n",
+ " label.textContent = `Downloading \"${filename}\": `;\n",
+ " div.appendChild(label);\n",
+ " const progress = document.createElement('progress');\n",
+ " progress.max = size;\n",
+ " div.appendChild(progress);\n",
+ " document.body.appendChild(div);\n",
+ "\n",
+ " const buffers = [];\n",
+ " let downloaded = 0;\n",
+ "\n",
+ " const channel = await google.colab.kernel.comms.open(id);\n",
+ " // Send a message to notify the kernel that we're ready.\n",
+ " channel.send({})\n",
+ "\n",
+ " for await (const message of channel.messages) {\n",
+ " // Send a message to notify the kernel that we're ready.\n",
+ " channel.send({})\n",
+ " if (message.buffers) {\n",
+ " for (const buffer of message.buffers) {\n",
+ " buffers.push(buffer);\n",
+ " downloaded += buffer.byteLength;\n",
+ " progress.value = downloaded;\n",
+ " }\n",
+ " }\n",
+ " }\n",
+ " const blob = new Blob(buffers, {type: 'application/binary'});\n",
+ " const a = document.createElement('a');\n",
+ " a.href = window.URL.createObjectURL(blob);\n",
+ " a.download = filename;\n",
+ " div.appendChild(a);\n",
+ " a.click();\n",
+ " div.remove();\n",
+ " }\n",
+ " "
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {
+ "tags": []
+ }
+ },
+ {
+ "output_type": "display_data",
+ "data": {
+ "application/javascript": [
+ "download(\"download_80e3402b-b222-430c-899c-879048d8780d\", \"feelpp.zip\", 1174075)"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {
+ "tags": []
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file