Git Product home page Git Product logo

Comments (6)

llstbg avatar llstbg commented on June 2, 2024 1

Thank you for your fast replays!
@juliusgarbe, I followed the build instructions as in https://pism-docs.org/sphinx/installation/pism.html, so my build directory is under pism-stable/build/. (As for pismr I only used pismr -eisII A -y 5000 -view thk,temppabase,velsurf_mag to test the installation)
@citibeth , Thanks for that. Indeed the problem was the wrong linked Petsc and PISM version. I re-installed with Spack, this time specifying a newer version which is working! I used spack install [email protected].
Now I am able to run PISM, however each connection ( SSH) needs spack load [email protected] in order to use PISM.

from pism.

juliusgarbe avatar juliusgarbe commented on June 2, 2024

Hi @llstbg,
Just to make sure: Did you try running pismr with an input file (command line option -i) provided? Without an initial file to start from, PISM cannot run and will always throw an error (see here for more: https://www.pism.io/docs/manual/initialization/index.html)
Also, I think the "build" directory should most likely be created under pism-stable/pism/build/ (not pism-stable/build/). Did you check there?

from pism.

citibeth avatar citibeth commented on June 2, 2024

The Spack PISM receipe is probably out of date. Make sure you're getting the version of PISM you want to use, and it's linking to the correct version of PETSc. If you need to update the PISM recipe, please submit a PR with your updates.

At the end of the day, Spack goes through the sames steps you would do manually. These things get debugged by watching it do each step, and making sure it's doing the right thing.

from pism.

citibeth avatar citibeth commented on June 2, 2024

from pism.

juliusgarbe avatar juliusgarbe commented on June 2, 2024

Great, glad that it works now! (I was trying to infer the location of the build directory from your PETSc error message, as it is supposed to be in the same directory where the src folder is located, which in your case is /home/lielles/pism-stable/pism/src/. Anyhow... 😉)
Note that the pism-docs.org website is deprecated and might be outdated. The new website is https://www.pism.io.

from pism.

llstbg avatar llstbg commented on June 2, 2024

Thanks, I now use the (https://www.pism.io/) for everything (I haven't noticed there is a new documentation until you mentioned it!)

from pism.

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.