imperial.ac.uk
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

firedrake

Thread Start a new thread
Download
Threads by month
  • ----- 2025 -----
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2015 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2014 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2013 -----
  • December
  • November
  • October
  • September
firedrake@imperial.ac.uk

August 2019

  • 16 participants
  • 13 discussions
Installing firedrake on a HPC system without package manager
by Madden, Niall 01 Aug '19

01 Aug '19
Hi all, I've been trying to install firedrake for some time on a (large) HPC system, without success. As a humble user, I can't run the package manager. One of the sys admins has made a valiant effort to get in installed on anaconda. It was rather tortuous (re-engineering the install script), but has fallen short of actually working. Without anaconda, after loading git, gcc, openmpi and lapack modules, I tried python3 firedrake-install --disable-ssh --no-package-manager It fails compiling PETSc. The final part of the output is: File "/usr/lib64/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/MYOB/firedrake/bin/python', '-m', 'pip', 'install', '--no-binary', 'mpi4py,randomgen', '--no-deps', '-vvv', '--ignore-installed', 'petsc/']' returned non-zero exit status 1. where "MYOB" is the subdir of my home directory. The final part of firedrake-install.log is Processing ./petsc Created temporary directory: /tmp/pip-req-build-628_7y3h ERROR: Could not install packages due to an EnvironmentError. Traceback (most recent call last): File "/MYOB/firedrake/lib64/python3.6/site-packages/pip/_internal/commands/install.py", line 345, in run resolver.resolve(requirement_set) File "/MYOB/firedrake/lib64/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 196, in resolve self._resolve_one(requirement_set, req) File "/MYOB/firedrake/lib64/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/MYOB/firedrake/lib64/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 307, in _get_abstract_dist_for self.require_hashes File "/MYOB/firedrake/lib64/python3.6/site-packages/pip/_internal/operations/prepare.py", line 199, in prepare_linked_requirement progress_bar=self.progress_bar File "/MYOB/firedrake/lib64/python3.6/site-packages/pip/_internal/download.py", line 1037, in unpack_url unpack_file_url(link, location, download_dir, hashes=hashes) File "/MYOB/firedrake/lib64/python3.6/site-packages/pip/_internal/download.py", line 942, in unpack_file_url shutil.copytree(link_path, location, symlinks=True) File "/usr/lib64/python3.6/shutil.py", line 365, in copytree raise Error(errors) shutil.Error: [('/MYOB/firedrake/src/petsc/.git/objects/pack/pack-411fdf97d273b4933195ac04e846e6825ec1d491.pack', '/tmp/pip-req-build-628_\ 7y3h/.git/objects/pack/pack-411fdf97d273b4933195ac04e846e6825ec1d491.pack', "[Errno 13] Permission denied: '/tmp/pip-req-build-628_7y3h/.git/objects/pack/pack-411f\ df97d273b4933195ac04e846e6825ec1d491.pack'"), ('/MYOB/firedrake/src/petsc/.git/objects/pack/pack-411fdf97d273b4933195ac04e846e6825ec1d491.\ idx', '/tmp/pip-req-build-628_7y3h/.git/objects/pack/pack-411fdf97d273b4933195ac04e846e6825ec1d491.idx', "[Errno 13] Permission denied: '/tmp/pip-req-build-628_7y3\ h/.git/objects/pack/pack-411fdf97d273b4933195ac04e846e6825ec1d491.idx'")] Cleaning up... Removed build tracker '/tmp/pip-req-tracker-ad7jx96o' I'd be VERY grateful for any pointers. Niall. --- Dr Niall Madden, School of Mathematics, Statistics and Applied Mathematics, NUI Galway Vice-dean for Equality, Diversity and Inclusion, College of Science Web: http://www.maths.nuigalway.ie/~niall Local co-organiser: 23rd Conference of the International Linear Algebra Society - www.ilas2020.ie<http://ilas2020.ie/> Associate Editor of Numerical Algorithms (Springer)
2 1
0 0
Re: [firedrake] Installation problem on macOS Mojave (libspatialindex)
by Ham, David A 01 Aug '19

01 Aug '19
Dear Ari, The line which is failing for you is: libtool: link: mpicc -dynamiclib -o .libs/libspatialindex.4.dylib -Wl,-force_load,src/spatialindex/.libs/liblibrary.a -Wl,-force_load,src/storagemanager/.libs/libstoragemanager.a -Wl,-force_load,src/rtree/.libs/librtree.a -Wl,-force_load,src/mvrtree/.libs/libmvrtree.a -Wl,-force_load,src/tprtree/.libs/libtprtree.a -Wl,-force_load,src/tools/.libs/libtools.a /usr/local/lib/libstdc++.dylib -L/Users/admin/build8/x86_64-apple-darwin17.5.0/libstdc++-v3/src -L/Users/admin/build8/x86_64-apple-darwin17.5.0/libstdc++-v3/src/.libs -L/Users/admin/build8/x86_64-apple-darwin17.5.0/libstdc++-v3/libsupc++/.libs -lm -lpthread -install_name /Users/astern/Downloads/firedrake/lib/libspatialindex.4.dylib -compatibility_version 5 -current_version 5.2 -Wl,-single_module This immediately spews forth the following warnings: ld: warning: directory not found for option '-L/Users/admin/build8/x86_64-apple-darwin17.5.0/libstdc++-v3/src' ld: warning: directory not found for option '-L/Users/admin/build8/x86_64-apple-darwin17.5.0/libstdc++-v3/src/.libs' ld: warning: directory not found for option '-L/Users/admin/build8/x86_64-apple-darwin17.5.0/libstdc++-v3/libsupc++/.libs' ... and then you get failures to link. In contrast, the corresponding line from my install log (also on Mojave) is: libtool: link: mpicc -dynamiclib -o .libs/libspatialindex.4.dylib -Wl,-force_load,src/spatialindex/.libs/liblibrary.a -Wl,-force_load,src/storagemanager/.libs/libstoragemanager.a -Wl,-force_load,src/rtree/.libs/librtree.a -Wl,-force_load,src/mvrtree/.libs/libmvrtree.a -Wl,-force_load,src/tprtree/.libs/libtprtree.a -Wl,-force_load,src/tools/.libs/libtools.a -lstdc++ -lpthread -install_name /Users/dham/src/firedrake-complex/lib/libspatialindex.4.dylib -compatibility_version 5 -current_version 5.2 -Wl,-single_module libtool: link: mpicc -dynamiclib -o .libs/libspatialindex_c.4.dylib -Wl,-force_load,src/capi/.libs/libsidxc.a ./.libs/libspatialindex.dylib -lstdc++ -lpthread -install_name /Users/dham/src/firedrake-complex/lib/libspatialindex_c.4.dylib -compatibility_version 5 -current_version 5.2 -Wl,-single_module It therefore appears that the issue is that you have traces in your environment of another libstdc++ which was built in /Users/admin. The build system for libspatialindex is picking this up and failing as a result. It's not immediately obvious to me how your other libstdc++ is leaking into your environment, but that's the think which needs hunting down. Sometimes running "brew doctor" helps in these circumstances as it can find instances where the homebrew versions of things have been overwritten or are otherwise not being used. Regards, David On 31/07/2019, 16:42, "firedrake-bounces(a)imperial.ac.uk on behalf of Stern, Ari" <firedrake-bounces(a)imperial.ac.uk on behalf of stern(a)wustl.edu> wrote: Hi all, I've been attempting to install Firedrake using the standard install script, but the installation throws an error when attempting to compile/link libspatialindex. The firedrake-install.log is attached. A couple pieces of pertinent info: 1. I'm running macOS Mojave 10.14.5 with Homebrew Python 3. 2. Although I have a miniconda installation on my system, I did a "conda deactivate" before running the install script, so nothing from miniconda (except the conda binary itself) is in my path. Cheers, Ari
2 2
0 0
Installation problem on macOS Mojave (libspatialindex)
by Stern, Ari 01 Aug '19

01 Aug '19
Hi all, I've been attempting to install Firedrake using the standard install script, but the installation throws an error when attempting to compile/link libspatialindex. The firedrake-install.log is attached. A couple pieces of pertinent info: 1. I'm running macOS Mojave 10.14.5 with Homebrew Python 3. 2. Although I have a miniconda installation on my system, I did a "conda deactivate" before running the install script, so nothing from miniconda (except the conda binary itself) is in my path. Cheers, Ari
2 1
0 0
  • ← Newer
  • 1
  • 2
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.