Installation issue (ffc)

231 views
Skip to first unread message

Ming Chen

unread,
Mar 21, 2018, 2:10:23 PM3/21/18
to fenics-support
Hello

I am a new user of FEniCS. I am install the package from source (my OS is CentOS Linux 7). I followed the instruction as

git clone https://bitbucket.org/fenics-project/fiat
git clone https://bitbucket.org/fenics-project/instant
git clone https://bitbucket.org/fenics-project/dijitso
git clone https://bitbucket.org/fenics-project/ufl
git clone https://bitbucket.org/fenics-project/ffc
git clone https://bitbucket.org/fenics-project/dolfin
git clone https://bitbucket.org/fenics-project/mshr
cd fiat    && pip3 install .
cd instant && pip3 install .
cd dijitso && pip3 install .
cd ufl     && pip3 install .
cd ffc     && pip3 install .
cd dolfin  && mkdir build && cd build && cmake .. && make install
cd mshr    && mkdir build && cd build && cmake .. && make install

By the way, I used "--prefix=/....." because the permission limitation.

However when I install "ffc", I got the following error report:

[FEniCS] simon /data/FEniCS/source/ffc 180% pip3 install --prefix=/data/Ming/FEniCS .
Processing /data/Ming/FEniCS/source/ffc
Collecting numpy (from fenics-ffc==2018.1.0.dev0)
  Downloading numpy-1.14.2-cp35-cp35m-manylinux1_x86_64.whl (12.1MB)
    100% |████████████████████████████████| 12.1MB 87kB/s
Collecting fenics-fiat<2018.2,>=2018.1.0.dev0 (from fenics-ffc==2018.1.0.dev0)
  Could not find a version that satisfies the requirement fenics-fiat<2018.2,>=2018.1.0.dev0 (from fenics-ffc==2018.1.0.dev0) (from versions: 2017.1.0.post1, 2017.2.0)
No matching distribution found for fenics-fiat<2018.2,>=2018.1.0.dev0 (from fenics-ffc==2018.1.0.dev0)

Is there anyone has the same issue and willing to tell me how to handle this?

Ming

Johannes Ring

unread,
Mar 21, 2018, 2:15:40 PM3/21/18
to Ming Chen, fenics-support
Try to add --no-deps to the install command:

  pip3 install --prefix=/data/Ming/FEniCS --no-deps .

As long as you have installed the other packages first, this should be fine.

Johannes 

Ming Chen

unread,
Mar 21, 2018, 2:27:11 PM3/21/18
to fenics-support
Thank you for the quick reply. I will try it.
Reply all
Reply to author
Forward
0 new messages