[firedrake] Firedrake Installation

Lee, Suet suet.lee11 at imperial.ac.uk
Tue Nov 18 08:15:31 GMT 2014


Hi,

I tried 

export LD_PRELOAD=/usr/lib/openmpi/lib/libmpi.so 

and then,

wget -O - https://github.com/OP2/PyOP2/raw/master/install.sh | sudo bash

again with no luck :(

My operating system is Windows 7 Home Premium

Suet

________________________________________
From: Florian Rathgeber <florian.rathgeber at imperial.ac.uk>
Sent: 16 November 2014 14:44
To: Lee, Suet; McRae, Andrew
Cc: firedrake
Subject: Re: Firedrake Installation

On 16/11/14 14:35, Lee, Suet wrote:
> I tried it again for libmpich-dev but it doesn't seem to be installed either.
>
> mosh at ubuntu:~$ dpkg -s libmpich-dev
> dpkg-query: package 'libmpich-dev' is not installed and no information is available
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.

Hmm, unsure then. Do you have LD_PRELOAD set? If not, try:

  export LD_PRELOAD=/usr/lib/openmpi/lib/libmpi.so

> 64bit doesn't work on my laptop for some reason (it's old) - it makes the graphics go funny and I can't see anything.

For 64bit guests your CPU needs to have support for VT-x and it needs to
be enabled in the BIOS - maybe that's why it isn't working properly?
What is your host OS?

I tried with Vagrant on 14.04 x64 and got a gcc internal compiler
failure (!) when building petsc4py (Lawrence, any ideas?)

"""
/usr/bin/mpicc -pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing
-Wno-unknown-pragmas -O -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -D_FO
RTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security
-DPETSC_DIR=/usr/local/lib/python2.7/dist-packages/petsc -I/usr/
lib/openmpi/include/openmpi -I/usr/lib/openmpi/include
-I/usr/local/lib/python2.7/dist-packages/petsc/include -Isrc/include
-I/usr/local/lib/python2.7/dist-pac
kages/numpy/core/include -I/usr/include/python2.7 -c src/PETSc.c -o
build/temp.linux-x86_64-2.7/src/PETSc.o

In file included from
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
                 from
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from src/include/petsc4py/numpy.h:11,
                 from src/petsc4py.PETSc.c:240,
                 from src/PETSc.c:3:

/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: #warning "Using deprecated NumPy API, disable it by "
"#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

 #warning "Using deprecated NumPy API, disable it by " \
  ^

gcc: internal compiler error: Killed (program cc1)
"""

Florian

> Suet
>
> ________________________________________
> From: Florian Rathgeber <florian.rathgeber at imperial.ac.uk>
> Sent: 16 November 2014 14:22
> To: Lee, Suet; McRae, Andrew
> Cc: firedrake
> Subject: Re: Firedrake Installation
>
> [Please keep list in CC]
>
> On 16/11/14 14:12, Lee, Suet wrote:
>> Not sure if I'm doing it correctly but I tried this:
>>
>> mosh at ubuntu:~$ dpkg -s mpich2
>> dpkg-query: package 'mpich2' is not installed and no information is
>> available
>> Use dpkg --info (= dpkg-deb --info) to examine archive files,
>> and dpkg --contents (= dpkg-deb --contents) to list their contents.​
>>
>> So the problem isn't down to mpich2?
>
> Sorry, the package you want to look for is libmpich-dev
>
> Is there any reason to use a 32bit system? We explicitly do *not*
> support 32bit systems and there isn't really a reason not to use 64bit.
>
> Florian
>
>> Suet


More information about the firedrake mailing list