[firedrake] Firedrake installation on cluster

Burns, Paul P.Burns2 at exeter.ac.uk
Wed Nov 1 13:20:03 GMT 2017


Hi,


As stated below we did manage to install the Firedrake Python virtual environment on Isca.  However, I thought it might be useful to post our install script here in case someone can see something in it that might be leading to the problems encountered when trying to run the model.  I thought it also might be of use to other people trying to install Firedrake on a cluster.  Here is the install script:



#!/bin/sh

#PBS -d .

#PBS -q sq

#PBS -l walltime=01:00:00

#PBS -A Research_Project-183035

#PBS -l nodes=1:ppn=1

#PBS -m e -M p.burns2 at exeter.ac.uk


echo '<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>'

echo PBS_O_HOST      = $PBS_O_HOST

echo PBS_ENVIRONMENT = $PBS_ENVIRONMENT

echo PBS_NODEFILE    = $PBS_NODEFILE

echo '<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>'


VENV="firedrake-`date +%Y%m%d`"


# Commands used to build firedrake on ISCA user home space. (firedrake does not play well with easybuild)

module purge

module load Automake/1.15-foss-2016a

module load libtool/2.4.6-foss-2016a

module load CMake/3.5.2-foss-2016a

module load Python/3.5.1-foss-2016a

module load Torque/6.0.2-foss-2016a-devel


export PETSC_CONFIGURE_OPTIONS="--download-chaco --download-metis --download-parmetis --download-scalapack --download-hypre --download-mumps --download-netcdf --download-hdf5 --download-exodusii --download-eigen --download-fblaslapack=1"


unset PYTHONPATH


curl -O https://raw.githubusercontent.com/firedrakeproject/firedrake/master/scripts/firedrake-install

python3 ./firedrake-install --no-package-manager --disable-ssh --venv-name $VENV --install gusto


Paul
________________________________
From: firedrake-bounces at imperial.ac.uk <firedrake-bounces at imperial.ac.uk> on behalf of Lawrence Mitchell <lawrence.mitchell at imperial.ac.uk>
Sent: 30 October 2017 13:00:41
To: firedrake
Subject: Re: [firedrake] Firedrake installation on cluster


> On 30 Oct 2017, at 12:57, Shipton, Jemma <j.shipton at imperial.ac.uk> wrote:
>
> netCDF4 is in gusto/requirements.txt so I think that means it is taken care of by firedrake.

well, we just "pip install" it.  Plausibly it ships with a wheel which links against a netcdf version that doesn't match whatever the cluster provides?

Lawrence
_______________________________________________
firedrake mailing list
firedrake at imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the firedrake mailing list