Giter Site home page Giter Site logo

Comments (7)

bastorer avatar bastorer commented on July 26, 2024 1

Expanding on the list a bit before I add it into the documentation

  • netcdf4 (tested on 4.7 and 4.8)
    • requires parallel installation
    • hdf5 required
  • mpi (openmpi or intel mpi, not mpich)
  • compilers: either gcc or icpc (intel compiler)
    • intended to be compiled with c++14 standard (this is specified in the compiler flags in the system.mk file)

Not required for FlowSieve, but required for the Tutorials (specified in Tutorials/environment.yml). May not require these specific version, but tested with these versions.

  • python=3.7
  • numpy=1.17
  • matplotlib=3.1
  • netCDF4=1.4
  • scipy=1.3
  • pip

from flowsieve.

ashwinvis avatar ashwinvis commented on July 26, 2024 1

Seems like I have those... will update if I discover something on my end once #24 is fixed.

from flowsieve.

ashwinvis avatar ashwinvis commented on July 26, 2024

Seems like

  • curl
  • hdf5-mpi (not just hdf5)

is also required to compile. Here is the Nix file I used to compile

cat default.nix 
# Use `nix-shell --pure` to verify if the listed dependencies are sufficient or not
{ pkgs ? import <nixpkgs> {} }:

let
  shell = pkgs.mkShell {
    name = "flowsieve-nix-dev";

    packages = [
      pkgs.mpi
      pkgs.pkg-config
      pkgs.netcdf-mpi
      pkgs.hdf5-mpi
      pkgs.gcc9
      pkgs.curl
    ];

    # cp -f ${builtins.getEnv "PWD"}/Systems/Graham.mk system.mk
    shellHook = ''
      make clean
      OMPI_CXX=$(command -v g++) make -j Case_Files/coarse_grain.x
    '';
  };
in shell

from flowsieve.

bastorer avatar bastorer commented on July 26, 2024

I've added a section to the Install documentation outlining these library requirement. Thanks for the suggestion!

I'm not familiar with Nix (or other library image tools), but I'll look into them a bit. I tend to shy away from compiling libraries mostly because it seems daunting, but the improved portability would be nice.

from flowsieve.

ashwinvis avatar ashwinvis commented on July 26, 2024

I dont expect you to use Nix, I simply shared it for future reference. It fetches precompiled builds of libraries.and gives an isolated shell. It was handy for me to track down dependencies.

from flowsieve.

bastorer avatar bastorer commented on July 26, 2024

That's great, thanks!

from flowsieve.

ashwinvis avatar ashwinvis commented on July 26, 2024

I see that it updated in https://flowsieve.readthedocs.io/en/latest/install1.html, so this issue can be closed.

from flowsieve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.